Function at 0x40b930
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46fb8a
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, edi
mov byte [esp + 0x1b], 0
call fcn.0040beb0
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
push edx
call esi
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.00410b50
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x9c], 0
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x30]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x24], eax
call esi
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
sub eax, ecx
add eax, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
sub eax, ecx
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esp + 0x74]
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x84]
push edi
lea eax, [esp + 0x28]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.0040bf70
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
test eax, eax
je 0x40ba93
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ba6c
mov ecx, dword [esp + 0x70]
push 5
push 0
push 0
push esi
push ebp
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x40ba93
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ba93
mov edx, dword [esp + 0x70]
push 5
push edx
call ebx
mov eax, dword [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
call esi
test eax, eax
je 0x40bb02
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x50], edx
jne 0x40badd
cmp dword [esp + 0x54], 0x8073
jne 0x40bacf
mov byte [esp + 0x1b], 1
lea eax, [esp + 0x50]
push eax
call ebp
lea ecx, [esp + 0x50]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
call esi
test eax, eax
jne 0x40bab6
cmp byte [esp + 0x1b], al
je 0x40bb02
lea eax, [edi + 0x3e8]
push eax
call fcn.0040abd0
jmp 0x40bb35
mov ecx, dword [edi + 4]
push 0
push 1
push 0x806a
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 4]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 4]
push 1
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0xa0], 0xffffffff
call fcn.00410c00
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4