Function at 0x4398af
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.0046e4c1
test eax, eax
je 0x43993b
cmp dword [esi], ebx
jne 0x43993b
push ebx
push ebx
push ebx
lea eax, [edi + 0x28]
push 0x3fd
mov ecx, esi
call fcn.0046e4c1
test eax, eax
je 0x43993b
push ebx
push ebx
push ebx
lea eax, [edi + 0x2c]
push 0x401
mov ecx, esi
call fcn.0046e4c1
test eax, eax
je 0x43993b
push ebx
lea esi, [edi + 0x30]
push 0x44f
lea eax, [edi + 0x20]
call fcn.0046e692
push ebx
lea esi, [edi + 0x34]
push 0x450
lea eax, [edi + 0x20]
call fcn.0046e692
push ebx
lea esi, [edi + 0x38]
push 0x44e
lea eax, [edi + 0x20]
call fcn.0046e692
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.0043971c
cmp dword [edi + 0x20], 0
je 0x439afa
mov eax, dword [0x4f0980]
push 0x7f3b
push dword [0x4f2800]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403692
test eax, eax
je 0x4399c5
push dword [ebp - 0xc]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
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 0x439a0b
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x70]
je 0x4399f8
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
je 0x4399f8
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 0x4399e1
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.004396a5
push 0x14
xor ebx, ebx
push ebx
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xa
call fcn.00403c25
lea eax, [ebp - 0x20]
push eax
push 0x3ea
mov eax, edi
call fcn.004396a5
push 0x14
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x20]
call fcn.00403c25
push ebx
push 0x453
push 0x401
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
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_GetWindowLongW]
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.00403c25
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [eax - 8], ebx
je 0x439ae4
push ebx
push 0x503f1
push 0x111
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x439b11
push eax
call fcn.004013aa
jmp 0x439b11
lea eax, [edi + 0x74]
lea ebx, [edi + 0x4c]
push eax
call fcn.0043971c
push dword [ebp - 0xc]
lea ebx, [edi + 0x5c]
call fcn.0043971c
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret