Function at 0x43907e
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.004151f3
test eax, eax
je 0x43910a
cmp dword [esi], ebx
jne 0x43910a
push ebx
push ebx
push ebx
lea eax, [edi + 0x28]
push 0x3fd
mov ecx, esi
call fcn.004151f3
test eax, eax
je 0x43910a
push ebx
push ebx
push ebx
lea eax, [edi + 0x2c]
push 0x401
mov ecx, esi
call fcn.004151f3
test eax, eax
je 0x43910a
push ebx
lea esi, [edi + 0x30]
push 0x44f
lea eax, [edi + 0x20]
call fcn.0046b6ff
push ebx
lea esi, [edi + 0x34]
push 0x450
lea eax, [edi + 0x20]
call fcn.0046b6ff
push ebx
lea esi, [edi + 0x38]
push 0x44e
lea eax, [edi + 0x20]
call fcn.0046b6ff
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.00438eeb
cmp dword [edi + 0x20], 0
je 0x4392c9
mov eax, dword [0x4e9150]
push 0x7f3b
push dword [0x4eaf68]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004035cf
test eax, eax
je 0x439194
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 0x4391da
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x70]
je 0x4391c7
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
je 0x4391c7
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 0x4391b0
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.00438ec1
push 0x14
xor ebx, ebx
push ebx
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xa
call fcn.00403a68
lea eax, [ebp - 0x20]
push eax
push 0x3ea
mov eax, edi
call fcn.00438ec1
push 0x14
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x20]
call fcn.00403a68
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.00403a68
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [eax - 8], ebx
je 0x4392b3
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 [0x4e9154]
je 0x4392e0
push eax
call fcn.004013aa
jmp 0x4392e0
lea eax, [edi + 0x74]
lea ebx, [edi + 0x4c]
push eax
call fcn.00438eeb
push dword [ebp - 0xc]
lea ebx, [edi + 0x5c]
call fcn.00438eeb
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret