Function at 0x403860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x576f24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, dword [esi + 0x11c]
je 0x403b20
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
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 - 0x6c], eax
test eax, eax
je 0x403b1f
mov ecx, dword [esi + 4]
push dword [esi + 0x108]
mov ecx, dword [ecx + 4]
push dword [ecx + esi + 8]
call edi
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x403b1f
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
push dword [esi + 0x124]
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call edi
mov dword [ebp - 0x68], eax
test eax, eax
je 0x403b1f
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esi + 0x11c], 0
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x20]
je 0x403924
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x34], xmm0
jmp 0x403942
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
sub eax, edx
mov dword [ebp - 0x34], ecx
add eax, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], eax
sub edx, edi
mov eax, edx
neg eax
test ebx, ebx
cmovne eax, edx
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, eax
test edi, edi
je 0x403a1c
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x403a09
cmp dword [esi + 0x120], eax
je 0x4039a4
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4039fb
cmp edi, dword [ebp - 0x68]
je 0x4039fb
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4039fb
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x78]
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 0x403a06
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push edi
call ebx
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x403970
cmp dword [ebp + 8], 0
jne 0x403ab8
mov ecx, dword [ebp - 0xc]
mov eax, ecx
mov edx, dword [ebp - 0x14]
sub eax, edx
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 8]
sub eax, edi
cmp dword [esi + 0x120], 0
mov dword [esi + 0x118], eax
jne 0x403a67
push 0
push dword [ebp - 0x7c]
mov dword [esi + 0x120], 1
call ebx
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
sub ecx, edx
sub eax, edi
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x48]
push 6
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push 0
mov eax, dword [eax + 4]
push 0
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
mov dword [esi + 0x11c], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424790
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 - 0x68]
call ebx
cmp dword [esi + 0x110], 0
je 0x403b15
lea eax, [esi + 0x88]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esi + 0x11c], 1
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00424790
mov esp, ebp
pop ebp
ret 4