Function at 0x409368
Capabilities:
Hide graphical window

Disassembly:
push 0x18
mov eax, 0x438136
call fcn.0041ed67
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [esi + 4]
push 0x40c
push dword [ebx]
mov dword [ebp - 0x24], ebx
call edi
push 0x408
push dword [ebx]
mov dword [ebp - 0x18], eax
call edi
push 0x410
push dword [ebx]
mov dword [ebp - 0x14], eax
call edi
push 0x40a
push dword [ebx]
mov dword [ebp - 0x20], eax
call edi
push 0x406
push dword [ebx]
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x4093e6
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebp - 0x14]
call edi
mov eax, dword [esi + 0x1b4]
push 1
push eax
push 0x30
push dword [ebp - 0x10]
call edi
mov edi, dword [ebp + 8]
push 0x4d2
push dword [ebx]
mov dword [esi + 0xbc], edi
call dword [sym.imp.USER32.dll_KillTimer]
sub edi, 0
je 0x4094cc
dec edi
jne 0x4095e0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebp - 0x10]
call edi
push 5
push dword [ebp - 0x1c]
call edi
push 5
push dword [ebp - 0x18]
call edi
push 5
push dword [esi + 0x1d0]
call edi
push 0
push dword [ebp - 0x14]
call edi
push 0
push dword [ebp - 0x20]
call edi
cmp byte [esi + 0xba], 0
jne 0x409457
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4095e0
cmp byte [esi + 0xb9], 0
jne 0x4095e0
mov eax, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1bc]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0x1c4]
sub edx, ecx
push edx
push eax
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
call fcn.0040322e
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xffffff7f
or ecx, 0x40000
cmp eax, ecx
je 0x4095e0
push ecx
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x4095e0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0x10]
call edi
push 0
push dword [ebp - 0x18]
call edi
push 0
push dword [ebp - 0x1c]
call edi
push 0
push dword [esi + 0x1d0]
call edi
push 5
push dword [ebp - 0x14]
call edi
push 5
push dword [ebp - 0x20]
call edi
lea edi, [esi + 0x1a4]
mov eax, edi
call fcn.0040c66a
test al, al
je 0x40955f
push 0xc
call fcn.0041a5dd
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x409531
push esi
push 0x4095e8
push eax
call fcn.0040e000
jmp 0x409533
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
call fcn.004086ce
mov eax, edi
call fcn.004086cb
mov ecx, eax
call fcn.0040e0c5
push 0x32
mov eax, edi
call fcn.004086cb
mov ecx, eax
call fcn.0040e17c
mov ebx, dword [ebp - 0x24]
lea edi, [esi + 0x1a8]
mov eax, edi
call fcn.0040c66a
test al, al
je 0x4095c2
push 0xc
call fcn.0041a5dd
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x409594
push esi
push 0x40a333
push eax
call fcn.0040e000
jmp 0x409596
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
call fcn.004086ce
mov eax, edi
call fcn.004086cb
mov ecx, eax
call fcn.0040e0c5
push 0x32
mov eax, edi
call fcn.004086cb
mov ecx, eax
call fcn.0040e17c
mov ebx, dword [ebp - 0x24]
push 0
push 0x3e8
push 0x4d2
push dword [ebx]
mov dword [esi + 0xc0], 0x78
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0041ee3f
ret 4