Function at 0x140040e23
Capabilities:
Hide graphical window

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rbp, qword [sym.imp.USER32.dll_GetWindowRect]
lea rax, [rsp + 0x70]
mov qword [rsp + 0xd0], rcx
mov rdx, rax
mov qword [rsp + 0x48], rax
call rbp
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
or r9d, 0xffffffff
mov edx, dword [0x14011271c]
mov dword [rsp + 0x28], eax
or r8d, 0xffffffff
mov eax, dword [0x140112724]
mov rdi, qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 6
mov rcx, qword [rsp + 0xd0]
lea eax, [rax + rdx*2]
add eax, dword [0x140112708]
xor edx, edx
mov dword [rsp + 0x20], eax
call rdi
mov rsi, qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3e9
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r12, qword [sym.imp.USER32.dll_MapWindowPoints]
mov r8, qword [rsp + 0x48]
xor ecx, ecx
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call r12
mov edx, dword [0x140112260]
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov dword [0x140112730], eax
add eax, 2
cmp edx, eax
mov dword [0x140112264], eax
cmovl edx, eax
mov dword [0x140112260], edx
mov edx, 0x3ef
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call rbp
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call r12
mov r8d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x74]
mov rcx, r13
mov eax, dword [0x140112730]
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
sub eax, r8d
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b18f0]
mov rdx, qword [rax]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fa
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call rbp
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call r12
mov r8d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x74]
mov edx, 0x403
mov r14d, dword [rsp + 0x78]
mov r15d, dword [0x140112730]
mov dword [rsp + 0x5c], r8d
mov rcx, qword [rsp + 0xd0]
sub r14d, r8d
mov dword [rsp + 0x50], r9d
call rsi
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x5c]
mov rcx, r13
mov dword [rsp + 0x28], r15d
mov rdx, rax
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 4
call rdi
mov r14, qword [0x1400b1a00]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [r14]
call rbp
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [0x140112730]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], 4
mov r9d, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
sub eax, r8d
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b19f0]
mov rcx, qword [r14]
mov rdx, qword [rax]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x7df
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x7d0
mov dword [0x140112734], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fe
sub dword [0x140112734], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3f8
mov dword [0x140112274], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x7c]
sub eax, dword [0x140112274]
mov edx, 0x3f0
mov rcx, qword [rsp + 0xd0]
mov dword [0x140112274], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3f1
mov dword [0x140112270], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x7c]
sub eax, dword [0x140112270]
mov edx, 0x7e0
mov rcx, qword [rsp + 0xd0]
mov dword [0x140112270], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
xor edx, edx
mov rcx, r13
mov r13d, 3
call fcn.14003b5b8
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x6c]
add eax, eax
cdq
idiv r13d
mov edx, 0x7e1
add eax, dword [rsp + 0x74]
mov dword [0x140112738], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov r15, rax
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
xor edx, edx
mov rcx, r15
call fcn.14003b5b8
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x6c]
add eax, eax
cdq
idiv r13d
mov edx, 0x7e2
add eax, dword [rsp + 0x74]
xor ebx, ebx
mov dword [0x14011273c], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov r15, rax
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov rcx, r15
xor edx, edx
lea r15, [rsp + 0x68]
call fcn.14003b5b8
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x6c]
add eax, eax
cdq
idiv r13d
mov r13, qword [0x1400b19e0]
mov rcx, qword [r13]
mov edx, 0x463
add eax, dword [rsp + 0x74]
mov dword [0x140112740], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x41c
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
xor eax, eax
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov eax, dword [0x140112264]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov rdx, qword [r14]
lea r14, [0x1400a27f8]
mov rcx, qword [r13]
call rdi
mov r13, qword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [r14 + rbx*4]
mov rcx, qword [rsp + 0xd0]
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
mov qword [rsp + 0x50], rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [0x14011272c]
mov r8d, dword [0x140112724]
add r8d, dword [0x14011271c]
sub r8d, eax
test bl, 1
je 0x1400413b6
add eax, dword [0x140112710]
sub r8d, eax
mov dword [rsp + 0x5c], r8d
mov rcx, qword [rsp + 0x50]
mov edx, 3
inc rbx
call r13
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x5c]
mov rdx, rax
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov eax, dword [0x140112264]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14011272c]
mov dword [rsp + 0x20], eax
call rdi
cmp rbx, 3
jne 0x14004135c
mov rcx, qword [rsp + 0xd0]
mov edx, 0x400
call rsi
mov r12, qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rbp, qword [sym.imp.USER32.dll_MapWindowPoints]
mov rdx, qword [rsp + 0xd0]
call rbp
mov r14, qword [0x1400b1a10]
mov r9, r15
xor r8d, r8d
mov r13, qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x463
mov rcx, qword [r14]
call r13
mov eax, dword [0x140112264]
mov rcx, qword [r14]
xor r8d, r8d
movzx r9d, word [rsp + 0x68]
mov edx, 0x41f
shl eax, 0x10
or r9d, eax
call r13
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x456
call r13
mov rcx, qword [r14]
xor r8d, r8d
mov r9d, eax
movzx edx, ax
add eax, 3
shr r9d, 0x10
movzx eax, ax
mov dword [rsp + 0x68], edx
mov edx, 0x457
mov dword [rsp + 0x6c], r9d
add r9d, 2
shl r9d, 0x10
or r9d, eax
call r13
xor edx, edx
mov eax, dword [0x140112714]
mov r9d, dword [rsp + 0x74]
mov dword [rsp + 0x30], edx
mov rbx, qword [0x1400b1920]
mov edx, dword [0x140112264]
mov r8d, dword [0x140112724]
mov dword [rsp + 0x20], eax
add r8d, dword [0x14011271c]
sub r8d, eax
mov dword [rsp + 0x28], edx
mov rcx, qword [r14]
mov rdx, qword [rbx]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x401
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov r14, qword [0x1400b1960]
mov r9, r15
xor r8d, r8d
mov edx, 0x463
mov rcx, qword [r14]
call r13
mov eax, dword [0x140112264]
mov rcx, qword [r14]
mov edx, 0x41f
movzx r9d, word [rsp + 0x68]
shl eax, 0x10
or r9d, eax
xor r8d, r8d
call r13
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x456
call r13
mov rcx, qword [r14]
xor r8d, r8d
mov r9d, eax
movzx edx, ax
add eax, 3
shr r9d, 0x10
movzx eax, ax
mov dword [rsp + 0x68], edx
mov edx, 0x457
mov dword [rsp + 0x6c], r9d
add r9d, 2
shl r9d, 0x10
or r9d, eax
call r13
mov eax, dword [0x140112264]
xor ecx, ecx
mov r9d, dword [rsp + 0x74]
mov dword [rsp + 0x30], ecx
mov r8d, dword [0x140112718]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140112714]
add r8d, dword [0x14011271c]
add r8d, dword [0x140112710]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b1900]
mov rcx, qword [r14]
mov rdx, qword [rax]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x403
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov r9d, dword [rsp + 0x74]
mov eax, dword [rsp + 0x7c]
xor r8d, r8d
mov dword [rsp + 0x30], r8d
mov rcx, r13
mov r8d, dword [0x14011271c]
sub eax, r9d
mov dword [rsp + 0x28], eax
mov eax, dword [0x140112718]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b1970]
mov rdx, qword [rax]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fb
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov r8d, dword [0x140112724]
mov r15d, dword [rsp + 0x78]
mov edx, 0x3fa
sub r15d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x74]
sub r8d, r15d
mov r14d, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xd0]
mov dword [rsp + 0x68], r8d
add r8d, dword [0x14011271c]
sub r14d, r9d
mov dword [rsp + 0x5c], r9d
mov dword [rsp + 0x50], r8d
call rsi
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rcx, r13
mov dword [rsp + 0x30], r9d
mov rdx, rax
mov r9d, dword [rsp + 0x5c]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r15d
call rdi
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fa
call rsi
mov rdx, qword [rsp + 0x48]
mov r15, rax
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov eax, dword [0x140112718]
mov r13d, dword [0x140112724]
mov edx, dword [0x140112710]
mov r9d, dword [rsp + 0x74]
sub r13d, eax
mov r14d, dword [rsp + 0x7c]
add eax, dword [0x14011271c]
lea r8d, [rax + rdx]
sub r13d, edx
mov dword [rsp + 0x5c], r9d
mov rcx, qword [rsp + 0xd0]
sub r14d, r9d
mov dword [rsp + 0x50], r8d
mov edx, 0x403
call rsi
xor r10d, r10d
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x30], r10d
mov rdx, rax
mov rcx, r15
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], r14d
call rdi
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x7d5
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov r9d, dword [rsp + 0x74]
mov eax, dword [rsp + 0x7c]
xor r11d, r11d
mov dword [rsp + 0x30], r11d
mov r8d, dword [0x140112724]
mov rcx, r13
sub eax, r9d
add r8d, dword [0x14011271c]
add r8d, dword [0x14011270c]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140112714]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b1a30]
mov rdx, qword [rax]
call rdi
mov rax, qword [0x1400b14e0]
cmp dword [rax], 0
je 0x1400418c3
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rbx]
call r12
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rax, qword [0x1400b19c0]
mov rdx, qword [rax]
call rbp
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov edx, 0x7d0
mov r13d, dword [rsp + 0x7c]
mov r14d, dword [0x140112724]
mov dword [rsp + 0x5c], r9d
mov rcx, qword [rsp + 0xd0]
sub r13d, r9d
mov dword [rsp + 0x50], r8d
sub r14d, dword [0x140112710]
sub r14d, dword [0x140112714]
call rsi
xor esi, esi
mov dword [rsp + 0x28], r13d
mov r9d, dword [rsp + 0x5c]
mov dword [rsp + 0x30], esi
mov r8d, dword [rsp + 0x50]
mov rdx, rax
mov dword [rsp + 0x20], r14d
mov rcx, qword [rbx]
call rdi
lea r15, [0x1400a27c0]
mov r14, qword [sym.imp.USER32.dll_GetDlgItem]
mov rdi, qword [sym.imp.USER32.dll_SetWindowPos]
lea rbx, [r15 + 0x34]
mov edx, dword [r15]
mov rcx, qword [rsp + 0xd0]
add r15, 4
call r14
mov rdx, qword [rsp + 0x48]
mov rsi, rax
mov rcx, rax
call r12
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call rbp
mov edx, 3
mov rcx, rsi
mov r13, qword [sym.imp.USER32.dll_GetWindow]
call r13
mov r9d, dword [rsp + 0x74]
xor r11d, r11d
mov r8d, dword [rsp + 0x70]
mov rdx, rax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x30], r11d
mov rcx, rsi
sub eax, r9d
mov dword [rsp + 0x28], eax
mov eax, dword [0x140112724]
mov dword [rsp + 0x20], eax
call rdi
cmp r15, rbx
jne 0x1400418dc
xor ebx, ebx
lea r15, [0x1400a2780]
mov edx, dword [r15 + rbx*4]
mov rcx, qword [rsp + 0xd0]
call r14
mov rdx, qword [rsp + 0x48]
mov rsi, rax
mov rcx, rax
call r12
mov r9d, 2
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xd0]
call rbp
mov edx, 3
mov rcx, rsi
call r13
mov r9d, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x7c]
mov rdx, rax
mov eax, dword [0x140112728]
sub ecx, r9d
cmp rbx, 1
ja 0x1400419c4
add eax, dword [0x140112720]
jmp 0x1400419ca
cmp rbx, 4
ja 0x1400419d1
mov r8d, dword [rsp + 0x70]
jmp 0x1400419e2
mov r8d, dword [0x14011271c]
add r8d, eax
add r8d, dword [0x140112720]
xor r10d, r10d
inc rbx
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x20], eax
call rdi
cmp rbx, 0xb
jne 0x140041962
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3f3
call r14
mov rdx, qword [rsp + 0x48]
mov rsi, rax
mov rcx, rax
call r12
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call rbp
mov rcx, rsi
mov edx, 3
call r13
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov rcx, rsi
mov rdx, rax
xor eax, eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x7c]
sub eax, r9d
mov dword [rsp + 0x28], eax
mov eax, dword [0x140112718]
mov dword [rsp + 0x20], eax
call rdi
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret