Function at 0x402a00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x11c]
jne 0x402a25
jmp 0x402e0a
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + edx + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x10c]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + eax + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402a8c
jmp 0x402e0a
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x108]
push ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + ecx + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x402ac4
jmp 0x402e0a
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x124]
push ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + ecx + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x402b0a
jmp 0x402e0a
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x11c], 0
je 0x402b41
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x60], ecx
jmp 0x402b65
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x402b8d
mov edx, dword [ebp - 0x70]
neg edx
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 4]
neg eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + eax + 8]
push edx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [ebp - 0x38], eax
jmp 0x402bc5
push 2
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x402ca7
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x402ca2
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x120], 0
je 0x402c14
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x402c8d
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x1c]
je 0x402c8d
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x402c8d
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + edx + 8]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 5
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402ca2
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402bb6
cmp dword [ebp + 8], 0
jne 0x402d64
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x120], 0
jne 0x402d00
mov eax, dword [ebp - 0x84]
mov dword [eax + 0x120], 1
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x114], ecx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x118], eax
push 0
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 6
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x54]
add eax, ecx
push eax
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x34]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + edx + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [ebp - 0x84]
add edx, 8
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x11c], 0
jmp 0x402e0a
push 6
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x118]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x114]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + edx + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0x402
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + ecx + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x110], 0
je 0x402dfa
mov eax, dword [ebp - 0x84]
add eax, 0x88
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x11c], 1
mov esp, ebp
pop ebp
ret 4