Function at 0x407dc7
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
push 1
mov edi, eax
push 0x401ac0
mov eax, 0x28a
lea esi, [ebp - 0x24]
call fcn.0040df9a
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
mov eax, 0x4013c0
push 0x403
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call esi
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x407e64
call fcn.0040f196
mov edi, eax
mov eax, 0x29a
mov dword [ebp - 0x24], edi
mov word [ebp - 0x1e], ax
jmp 0x408148
push 0x3ea
mov eax, 0x29a
push edi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], ax
call esi
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x407e8d
call fcn.0040f196
mov edi, eax
mov eax, 0x29d
jmp 0x407e58
push 0x402
mov eax, 0x29d
push edi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], ax
call esi
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x407eb6
call fcn.0040f196
mov edi, eax
mov eax, 0x2a0
jmp 0x407e58
push 0x401
mov eax, 0x2a0
push edi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], ax
call esi
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
jne 0x407ee4
call fcn.0040f196
mov edi, eax
mov eax, 0x2a3
jmp 0x407e58
and dword [ebp - 0x24], 0
mov eax, 0x2a3
push 0xad
push dword [0x4133b4]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x70]
call fcn.00410309
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x24], edi
mov eax, 0x2a5
test edi, edi
js 0x407e5b
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2c], 0
mov word [ebp - 0x20], ax
je 0x408044
push 0x68
push dword [0x4133b4]
lea eax, [ebp - 0x44]
call fcn.00410309
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x24], edi
mov eax, 0x2aa
test edi, edi
js 0x407e5b
mov word [ebp - 0x20], ax
mov eax, dword [esi + 0x28]
dec eax
dec eax
je 0x408028
dec eax
je 0x40800c
dec eax
je 0x407f75
mov edi, 0x8000ffff
mov eax, 0x2bc
jmp 0x407e58
push 0x6e
push dword [0x4133b4]
lea eax, [ebp - 0x38]
call fcn.00410309
mov edi, eax
mov eax, 0x2b8
pop ecx
pop ecx
mov dword [ebp - 0x24], edi
test edi, edi
js 0x407e5b
push 0x46e
push dword [0x4133b4]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x5c]
call fcn.00410309
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x24], edi
mov eax, 0x2c1
test edi, edi
js 0x407e5b
push ebx
mov ebx, dword [ebp - 0x44]
mov word [ebp - 0x20], ax
call fcn.00403731
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, 0x2c3
test edi, edi
js 0x407e5b
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x38]
push esi
mov word [ebp - 0x20], ax
call fcn.00403731
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, 0x2c4
test edi, edi
js 0x407e5b
push 1
jmp 0x4080ba
push 0x6b
push dword [0x4133b4]
lea eax, [ebp - 0x38]
call fcn.00410309
mov edi, eax
mov eax, 0x2b4
jmp 0x407f8c
push 0x6c
push dword [0x4133b4]
lea eax, [ebp - 0x38]
call fcn.00410309
mov edi, eax
mov eax, 0x2b0
jmp 0x407f8c
push 0x46d
push dword [0x4133b4]
lea eax, [ebp - 0x5c]
call fcn.00410309
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x24], edi
mov eax, 0x2cb
test edi, edi
js 0x407e5b
push 0xae
push dword [0x4133b4]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x44]
call fcn.00410309
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x24], edi
mov eax, 0x2cc
test edi, edi
js 0x407e5b
push ebx
mov ebx, dword [ebp - 0x44]
mov word [ebp - 0x20], ax
call fcn.00403731
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, 0x2ce
test edi, edi
js 0x407e5b
mov esi, dword [ebp - 0x2c]
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov word [ebp - 0x20], ax
call esi
push 1
push dword [ebp - 0x28]
call esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0
lea eax, [ebp - 0x50]
je 0x408194
push 0x46c
push dword [0x4133b4]
call fcn.00410309
mov edi, eax
mov eax, 0x2d6
pop ecx
mov dword [ebp - 0x24], edi
pop ecx
test edi, edi
js 0x407e5b
push dword [ebp - 0x60]
mov ebx, dword [ebp - 0x50]
mov word [ebp - 0x20], ax
call fcn.00403731
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, 0x2dc
test edi, edi
js 0x407e5b
push dword [ebp - 0x64]
mov ebx, dword [ebp - 0x5c]
mov word [ebp - 0x20], ax
call fcn.00403731
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, 0x2df
test edi, edi
js 0x407e5b
mov word [ebp - 0x20], ax
lea esi, [ebp - 0x5c]
call fcn.0040fca0
lea esi, [ebp - 0x50]
call fcn.0040fca0
lea esi, [ebp - 0x88]
call fcn.0040fca0
lea esi, [ebp - 0x7c]
call fcn.0040fca0
lea esi, [ebp - 0x70]
call fcn.0040fca0
lea esi, [ebp - 0x44]
call fcn.0040fca0
lea esi, [ebp - 0x38]
call fcn.0040fca0
lea eax, [ebp - 0x24]
call fcn.0040e073
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
push 0x46b
push dword [0x4133b4]
call fcn.00410309
mov edi, eax
mov eax, 0x2d9
jmp 0x4080f5