Function at 0x437c88
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov edi, eax
push ebx
push ebx
lea eax, [edi + 0x24]
lea esi, [edi + 0x20]
push 0x3f1
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.004472bd
test eax, eax
je 0x437d14
cmp dword [esi], ebx
jne 0x437d14
push ebx
push ebx
push ebx
lea eax, [edi + 0x28]
push 0x3fd
mov ecx, esi
call fcn.004472bd
test eax, eax
je 0x437d14
push ebx
push ebx
push ebx
lea eax, [edi + 0x2c]
push 0x401
mov ecx, esi
call fcn.004472bd
test eax, eax
je 0x437d14
push ebx
lea esi, [edi + 0x30]
push 0x44f
lea eax, [edi + 0x20]
call fcn.00447398
push ebx
lea esi, [edi + 0x34]
push 0x450
lea eax, [edi + 0x20]
call fcn.00447398
push ebx
lea esi, [edi + 0x38]
push 0x44e
lea eax, [edi + 0x20]
call fcn.00447398
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x453
lea esi, [edi + 4]
push dword [esi]
lea eax, [edi + 0x6c]
mov dword [ebp - 8], eax
call ebx
mov ecx, dword [ebp - 8]
push 0x3f1
push dword [esi]
mov dword [ecx], eax
call ebx
push 0x3fd
push dword [esi]
mov dword [edi + 0x70], eax
call ebx
push 0x401
push dword [esi]
mov dword [edi + 0x74], eax
lea eax, [edi + 0x78]
mov dword [ebp - 0xc], eax
call ebx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
lea eax, [edi + 0x70]
lea ebx, [edi + 0x3c]
push eax
call fcn.00437b1d
cmp dword [edi + 0x20], 0
je 0x437ed3
mov eax, dword [0x4e4150]
push 0x7f3b
push dword [0x4e5994]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403664
test eax, eax
je 0x437d9e
push dword [ebp - 0xc]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x437de4
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x70]
je 0x437dd1
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
je 0x437dd1
push 0
push eax
call ebx
mov eax, dword [ebp - 4]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x437dba
push 0x41c
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call ebx
lea eax, [ebp - 0x20]
push eax
push 0x3f1
mov eax, edi
call fcn.00437aa7
push 0x14
xor ebx, ebx
push ebx
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xa
call fcn.00403b98
lea eax, [ebp - 0x20]
push eax
push 0x3ea
mov eax, edi
call fcn.00437aa7
push 0x14
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x20]
call fcn.00403b98
push ebx
push 0x453
push 0x401
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
push 0xfffffffffffffff0
push dword [esi]
mov dword [ebp - 0x14], eax
call edi
push 0xffffffffffffffec
push dword [esi]
mov dword [ebp - 8], eax
call edi
push eax
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0x16
push ebx
push esi
lea eax, [ebp - 0x20]
call fcn.00403b98
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [eax - 8], ebx
je 0x437ebd
push ebx
push 0x503f1
push 0x111
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x437eea
push eax
call fcn.00401377
jmp 0x437eea
lea eax, [edi + 0x74]
lea ebx, [edi + 0x4c]
push eax
call fcn.00437b1d
push dword [ebp - 0xc]
lea ebx, [edi + 0x5c]
call fcn.00437b1d
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret