Function at 0x404faf
Capabilities:
Hide graphical window

Disassembly:
push 0xb8
mov eax, 0x411f23
call fcn.00411233
mov ebx, ecx
mov dword [ebp - 0xbc], ebx
mov edi, dword [ebx + 0x140]
push 0x3eb
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0xac]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0xac]
push eax
push dword [ebx + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
lea ecx, [ebp - 0x9c]
push eax
push eax
push dword [ebx + 4]
mov dword [ebp - 0xb8], eax
push 0xa
pop edx
call fcn.00405b62
mov ecx, dword [ebp - 0xa0]
add esp, 0xc
mov edx, dword [ebp - 0xa8]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x8c], 0x190
mov esi, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
sar eax, 4
sub eax, edx
add eax, ecx
mov dword [ebp - 0xc4], eax
cmp esi, edi
je 0x4052da
mov eax, dword [ebp - 0xa4]
sub ecx, edx
sub eax, dword [ebp - 0xac]
cmp dword [esi + 0x14], 8
jb 0x40507e
mov ebx, dword [esi]
mov dword [ebp - 0xb0], ebx
mov ebx, dword [ebp - 0xbc]
jmp 0x405084
mov dword [ebp - 0xb0], esi
push 0
push dword [ebx + 8]
push dword [esi + 0x48]
push dword [ebx + 4]
push ecx
push eax
mov eax, dword [ebp - 0xb8]
add eax, edx
push eax
push dword [ebp - 0xac]
push 0x50000100
push dword [ebp - 0xb0]
push 0x4172c0
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xa0
mov dword [ebp - 0xc0], eax
call fcn.00406321
pop ecx
mov dword [ebp - 0xb4], eax
and dword [ebp - 4], 0
mov ecx, eax
mov ebx, dword [esi + 0x48]
call fcn.0040290d
mov ecx, dword [ebp - 0xb4]
xor eax, eax
mov dword [ecx + 0x84], eax
mov dword [ecx + 0x88], eax
mov byte [ecx + 0x8c], al
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x90], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 0x94], eax
mov byte [ebp - 4], 1
mov dword [ecx], 0x4170c8
mov dword [ecx + 0x98], ebx
call fcn.004013d4
mov ebx, dword [ebp - 0xb4]
mov ecx, ebx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xb0], ebx
mov dword [ebx + 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebx + 4], 0xe0f0f
call fcn.004024ec
push dword [ebp - 0xc0]
mov ecx, ebx
call fcn.004022e7
push 0xffffffffffffffff
lea eax, [ebx + 0x20]
mov ecx, ebx
push eax
call fcn.00402873
cmp dword [esi + 0x28], 0
jbe 0x40522d
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4172d0
mov word [ebp - 0x28], ax
call fcn.00401750
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00402873
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401cb7
cmp dword [esi + 0x2c], 8
jb 0x4051ba
mov eax, dword [esi + 0x18]
jmp 0x4051bd
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401697
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
push dword [esi + 0x48]
mov ecx, ebx
push eax
call fcn.00402873
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401cb7
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x4172d8
mov word [ebp - 0x40], ax
call fcn.00401750
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00402873
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.00401cb7
mov ecx, ebx
call fcn.004033c7
movzx eax, al
mov ecx, ebx
push eax
call fcn.00403389
mov ebx, dword [ebp - 0xbc]
lea ecx, [ebp - 0xb0]
add ebx, 0x358
mov eax, dword [ebx + 4]
cmp ecx, eax
jae 0x40528a
cmp dword [ebx], ecx
ja 0x40528a
sub ecx, dword [ebx]
sar ecx, 2
mov dword [ebp - 0xc0], ecx
cmp eax, dword [ebx + 8]
jne 0x40527a
push ecx
mov ecx, ebx
call fcn.00404924
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebx + 4]
test edx, edx
je 0x4052a6
mov eax, dword [ebx]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
jmp 0x4052a6
cmp eax, dword [ebx + 8]
jne 0x405297
push ecx
mov ecx, ebx
call fcn.00404924
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4052a6
mov eax, dword [ebp - 0xb4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb8]
add esi, 0x50
add eax, dword [ebp - 0xc4]
add dword [ebx + 4], 4
mov dword [ebp - 0xb8], eax
cmp esi, edi
je 0x4052da
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xbc]
jmp 0x40505a
call fcn.004111dd
ret