Function at 0x403200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x457c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x11c]
je 0x4034b4
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push edi
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call ebx
mov eax, dword [esi + 4]
push dword [esi + 0x10c]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call edi
mov dword [ebp - 0x68], eax
test eax, eax
je 0x4034b2
mov ecx, dword [esi + 4]
push dword [esi + 0x108]
mov ecx, dword [ecx + 4]
push dword [ecx + esi + 8]
call edi
mov dword [ebp - 0x78], eax
test eax, eax
je 0x4034b2
lea ecx, [ebp - 0x44]
push ecx
push eax
call ebx
mov eax, dword [esi + 4]
push dword [esi + 0x124]
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call edi
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4034b2
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
cmp dword [esi + 0x11c], 0
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x10]
je 0x4032c0
movdqu xmm0, xmmword [ebp - 0x14]
movdqu xmmword [ebp - 0x34], xmm0
jmp 0x4032de
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
sub eax, ebx
mov dword [ebp - 0x34], ecx
add eax, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], eax
sub ebx, edx
cmp dword [ebp + 8], 0
jne 0x4032e8
neg ebx
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_GetTopWindow]
mov edi, eax
test edi, edi
je 0x4033b1
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x40339e
cmp dword [esi + 0x120], eax
je 0x403336
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40338c
cmp edi, dword [ebp - 0x6c]
je 0x40338c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x40338c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x50]
add eax, ebx
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 5
push 0
push 0
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
jmp 0x403397
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x403302
cmp dword [ebp + 8], 0
jne 0x403447
cmp dword [esi + 0x120], 0
jne 0x4033f1
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0
push dword [ebp - 0x78]
mov dword [esi + 0x120], 1
mov dword [esi + 0x118], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x38]
push 6
push eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x24]
push eax
mov eax, dword [esi + 4]
push 0
push 0
push 0
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop ebx
mov dword [esi + 0x11c], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041cc0e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 4]
push 6
push dword [esi + 0x118]
push dword [esi + 0x114]
mov eax, dword [eax + 4]
push 0
push 0
push 0
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push 0
push 0
push 0x402
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x110], 0
je 0x4034a8
lea eax, [esi + 0x88]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esi + 0x11c], 1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041cc0e
mov esp, ebp
pop ebp
ret 4