Function at 0x140042193
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 [0x14011799c]
mov dword [rsp + 0x28], eax
or r8d, 0xffffffff
mov eax, dword [0x1401179a4]
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 [0x140117988]
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 [0x1401174e0]
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov dword [0x1401179b0], eax
add eax, 2
cmp edx, eax
mov dword [0x1401174e4], eax
cmovl edx, eax
mov dword [0x1401174e0], 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 [0x1401179b0]
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 [0x1400b4ac0]
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 [0x1401179b0]
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 [0x1400b4bd0]
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 [0x1401179b0]
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 [0x1400b4bc0]
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 [0x1401179b4], 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 [0x1401179b4], 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 [0x1401174f4], 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 [0x1401174f4]
mov edx, 0x3f0
mov rcx, qword [rsp + 0xd0]
mov dword [0x1401174f4], 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 [0x1401174f0], 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 [0x1401174f0]
mov edx, 0x7e0
mov rcx, qword [rsp + 0xd0]
mov dword [0x1401174f0], 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.14003c8f1
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 [0x1401179b8], 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.14003c8f1
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 [0x1401179bc], 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.14003c8f1
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 [0x1400b4bb0]
mov rcx, qword [r13]
mov edx, 0x463
add eax, dword [rsp + 0x74]
mov dword [0x1401179c0], 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 [0x1401174e4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov rdx, qword [r14]
lea r14, [0x1400a5318]
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 [0x1401179ac]
mov r8d, dword [0x1401179a4]
add r8d, dword [0x14011799c]
sub r8d, eax
test bl, 1
je 0x140042726
add eax, dword [0x140117990]
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 [0x1401174e4]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1401179ac]
mov dword [rsp + 0x20], eax
call rdi
cmp rbx, 3
jne 0x1400426cc
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 [0x1400b4be0]
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 [0x1401174e4]
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 [0x140117994]
mov r9d, dword [rsp + 0x74]
mov dword [rsp + 0x30], edx
mov rbx, qword [0x1400b4af0]
mov edx, dword [0x1401174e4]
mov r8d, dword [0x1401179a4]
mov dword [rsp + 0x20], eax
add r8d, dword [0x14011799c]
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 [0x1400b4b30]
mov r9, r15
xor r8d, r8d
mov edx, 0x463
mov rcx, qword [r14]
call r13
mov eax, dword [0x1401174e4]
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 [0x1401174e4]
xor ecx, ecx
mov r9d, dword [rsp + 0x74]
mov dword [rsp + 0x30], ecx
mov r8d, dword [0x140117998]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140117994]
add r8d, dword [0x14011799c]
add r8d, dword [0x140117990]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b4ad0]
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 [0x14011799c]
sub eax, r9d
mov dword [rsp + 0x28], eax
mov eax, dword [0x140117998]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b4b40]
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 [0x1401179a4]
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 [0x14011799c]
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 [0x140117998]
mov r13d, dword [0x1401179a4]
mov edx, dword [0x140117990]
mov r9d, dword [rsp + 0x74]
sub r13d, eax
mov r14d, dword [rsp + 0x7c]
add eax, dword [0x14011799c]
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 [0x1401179a4]
mov rcx, r13
sub eax, r9d
add r8d, dword [0x14011799c]
add r8d, dword [0x14011798c]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140117994]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b4c00]
mov rdx, qword [rax]
call rdi
mov rax, qword [0x1400b46a0]
cmp dword [rax], 0
je 0x140042c33
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 [0x1400b4b90]
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 [0x1401179a4]
mov dword [rsp + 0x5c], r9d
mov rcx, qword [rsp + 0xd0]
sub r13d, r9d
mov dword [rsp + 0x50], r8d
sub r14d, dword [0x140117990]
sub r14d, dword [0x140117994]
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, [0x1400a52e0]
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 [0x1401179a4]
mov dword [rsp + 0x20], eax
call rdi
cmp r15, rbx
jne 0x140042c4c
xor ebx, ebx
lea r15, [0x1400a52a0]
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 [0x1401179a8]
sub ecx, r9d
cmp rbx, 1
ja 0x140042d34
add eax, dword [0x1401179a0]
jmp 0x140042d3a
cmp rbx, 4
ja 0x140042d41
mov r8d, dword [rsp + 0x70]
jmp 0x140042d52
mov r8d, dword [0x14011799c]
add r8d, eax
add r8d, dword [0x1401179a0]
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 0x140042cd2
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 [0x140117998]
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