Function at 0x408626
Capabilities:
Hide graphical window

Disassembly:
push 0x18
mov eax, 0x4374f4
call fcn.0041e33e
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 0x4086a4
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 0x4087a4
dec edi
jne 0x4088b8
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 0x408715
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4088b8
cmp byte [esi + 0xb9], 0
jne 0x408786
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.0040296f
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 0x4088b8
push ecx
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x4088b8
cmp byte [esi + 0xbb], 0
je 0x4088b8
push 0
push 0x3e8
push 0x4d4
jmp 0x4088b0
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.0040bd8e
test al, al
je 0x408837
push 0xc
call fcn.00419b9b
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x408809
push esi
push 0x4088c0
push eax
call fcn.0040d4c6
jmp 0x40880b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
call fcn.00407936
mov eax, edi
call fcn.00402f28
mov ecx, eax
call fcn.0040d58b
push 0x32
mov eax, edi
call fcn.00402f28
mov ecx, eax
call fcn.0040d642
mov ebx, dword [ebp - 0x24]
lea edi, [esi + 0x1a8]
mov eax, edi
call fcn.0040bd8e
test al, al
je 0x40889a
push 0xc
call fcn.00419b9b
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x40886c
push esi
push 0x409905
push eax
call fcn.0040d4c6
jmp 0x40886e
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
call fcn.00407936
mov eax, edi
call fcn.00402f28
mov ecx, eax
call fcn.0040d58b
push 0x32
mov eax, edi
call fcn.00402f28
mov ecx, eax
call fcn.0040d642
mov ebx, dword [ebp - 0x24]
push 0
push 0x3e8
mov dword [esi + 0xc0], 0x78
push 0x4d2
push dword [ebx]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0041e416
ret 4