Function at 0x407ec0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xdc
push esi
call edi
push 0
mov ebx, eax
push 0
push 0x1004
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov dword [esp + 0x20], eax
call fcn.0040a0b0
mov ebp, eax
mov eax, dword [0x4590b0]
push eax
mov dword [esp + 0x20], ebp
call fcn.00406670
mov dl, byte [0x4590cc]
mov ecx, dword [0x4590b4]
mov bl, al
mov al, byte [0x4590cd]
mov byte [esp + 0x1b], al
mov al, byte [0x4590d0]
mov byte [esp + 0x1a], dl
mov dl, byte [0x4590ce]
add esp, 8
mov byte [esp + 0x10], dl
test al, al
mov byte [esp + 0x4c], al
mov byte [esp + 0x11], 1
je 0x407f58
mov ecx, dword [0x4590b0]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.004064d0
mov ecx, dword [esp + 0x3c]
add esp, 8
and ecx, 0xff000000
cmp ecx, 0x3000000
jne 0x407f6b
mov byte [esp + 0x11], 0
xor eax, eax
test ebp, ebp
setge al
push eax
push 0x24f
push esi
mov dword [esp + 0x20], eax
call edi
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
mov edx, dword [esp + 0x14]
push edx
push 0x251
push esi
call edi
push eax
call ebp
mov eax, dword [esp + 0x14]
push eax
push 0x250
push esi
call edi
push eax
call ebp
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
setg cl
push ecx
push 0x252
push esi
call edi
push eax
call ebp
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x407fd7
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
jge 0x407fd7
mov eax, 1
jmp 0x407fd9
xor eax, eax
push eax
push 0x253
push esi
call edi
push eax
call ebp
mov cl, byte [esp + 0x4c]
xor eax, eax
test cl, cl
sete al
push eax
push 0xcb
push esi
mov dword [esp + 0x20], eax
call edi
push eax
call ebp
mov cl, byte [esp + 0x4c]
xor eax, eax
test cl, cl
setne al
push eax
push 0xc8
push esi
mov dword [esp + 0x2c], eax
call edi
push eax
call ebp
mov al, byte [esp + 0x4c]
neg al
sbb eax, eax
and al, 0xfb
add eax, 5
push eax
push 0xcb
push esi
mov dword [esp + 0x24], eax
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [esp + 0x4c]
neg al
sbb eax, eax
and eax, 5
push eax
push 0xcd
push esi
mov dword [esp + 0x28], eax
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esp + 0x1c]
push edx
push 0xc8
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x18]
push eax
push 0xcc
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x40809c
mov al, byte [esp + 0x4c]
test al, al
je 0x40809c
mov cl, byte [esp + 0x10]
xor eax, eax
test cl, cl
sete al
jmp 0x40809e
xor eax, eax
push eax
push 0xb6
push esi
call edi
push eax
call ebp
test bl, bl
je 0x4080c3
mov al, byte [esp + 0x4c]
test al, al
je 0x4080c3
mov cl, byte [esp + 0x10]
xor eax, eax
test cl, cl
sete al
jmp 0x4080c5
xor eax, eax
push eax
push 0x67
push esi
call edi
push eax
call ebp
test bl, bl
je 0x4080e1
mov al, byte [esp + 0x4c]
test al, al
je 0x4080e1
mov eax, 1
jmp 0x4080e3
xor eax, eax
push eax
push 0x66
push esi
call edi
push eax
call ebp
test bl, bl
je 0x4080ff
mov al, byte [esp + 0x4c]
test al, al
je 0x4080ff
movsx eax, byte [esp + 0x11]
jmp 0x408101
xor eax, eax
push eax
push 0x8e
push esi
call edi
push eax
call ebp
test bl, bl
je 0x408120
mov al, byte [esp + 0x4c]
test al, al
je 0x408120
mov eax, 1
jmp 0x408122
xor eax, eax
push eax
push 0x8f
push esi
call edi
push eax
call ebp
test bl, bl
je 0x408141
mov al, byte [esp + 0x4c]
test al, al
je 0x408141
mov eax, 5
jmp 0x408143
xor eax, eax
push eax
push 0xb6
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x408166
mov al, byte [esp + 0x4c]
test al, al
je 0x408166
mov eax, 5
jmp 0x408168
xor eax, eax
push eax
push 0x66
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x408188
mov al, byte [esp + 0x4c]
test al, al
je 0x408188
mov eax, 5
jmp 0x40818a
xor eax, eax
push eax
push 0x67
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x4081aa
mov al, byte [esp + 0x4c]
test al, al
je 0x4081aa
mov eax, 5
jmp 0x4081ac
xor eax, eax
push eax
push 0x8e
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x4081cf
mov al, byte [esp + 0x4c]
test al, al
je 0x4081cf
mov eax, 5
jmp 0x4081d1
xor eax, eax
push eax
push 0x8f
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0xa0
push esi
call edi
push eax
call ebp
mov al, byte [esp + 0x12]
xor ebx, ebx
test al, al
setne bl
push ebx
push 0x64
push esi
mov dword [esp + 0x28], ebx
call edi
push eax
call ebp
push ebx
push 0xb4
push esi
call edi
push eax
call ebp
movsx ecx, byte [esp + 0x4c]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push ecx
push 0xcf
push 0xb4
push esi
call ebx
mov al, byte [0x493914]
test al, al
je 0x40823a
push 0
jmp 0x408246
mov al, byte [esp + 0x4c]
xor edx, edx
test al, al
sete dl
push edx
push 0xa1
push esi
call edi
push eax
call ebp
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, cl
setne al
push eax
push 0x65
push esi
mov dword [esp + 0x58], eax
call edi
push eax
call ebp
mov eax, dword [esp + 0x4c]
push eax
push 0xb5
push esi
call edi
push eax
call ebp
mov ecx, dword [esp + 0x4c]
push ecx
push 0xca
push esi
call edi
push eax
call ebp
mov edx, dword [esp + 0x4c]
push edx
push 0xa2
push esi
call edi
push eax
call ebp
mov eax, dword [esp + 0x1c]
push 0
push eax
push 0xf1
push 0xa0
push esi
call ebx
mov ecx, dword [esp + 0x4c]
push 0
push ecx
push 0xf1
push 0xa1
push esi
call ebx
mov edx, dword [esp + 0x14]
push 0
push edx
push 0xf1
push 0x8c
push esi
call ebx
mov eax, dword [esp + 0x20]
push 0
push eax
push 0xf1
push 0x8d
push esi
call ebx
mov dl, byte [esp + 0x10]
xor ecx, ecx
test dl, dl
setne cl
push 0
push ecx
push 0xf1
push 0x8e
push esi
call ebx
mov al, byte [esp + 0x10]
xor edx, edx
test al, al
sete dl
push 0
push edx
push 0xf1
push 0x8f
push esi
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret