Function at 0x40a03c
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
push 1
push 0x374
mov ebx, edx
mov dword [ebp - 0x10], ecx
push 0x40352c
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x14], ebx
call fcn.0040facc
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
mov eax, 0x4040b8
mov dword [ebp - 0x1c], ecx
push 0x3e9
mov esi, ecx
mov dword [ebp - 0x38], eax
push ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], ecx
call edi
mov ebx, eax
test ebx, ebx
jne 0x40a0c2
call fcn.00410d32
mov esi, eax
mov eax, 0x385
mov dword [ebp - 0x68], esi
mov word [ebp - 0x62], ax
jmp 0x40a414
and dword [ebp - 0x68], esi
mov eax, 0x385
push 0x450
push dword [ebp - 0x14]
mov word [ebp - 0x64], ax
call edi
mov edi, eax
test edi, edi
jne 0x40a0ec
call fcn.00410d32
mov esi, eax
mov eax, 0x388
jmp 0x40a0b6
and dword [ebp - 0x68], esi
mov eax, 0x388
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x40a210
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x40a164
xor edx, edx
inc edx
cmp dword [ecx + 0x30], edx
je 0x40a11e
cmp dword [ecx + 0x30], 2
jne 0x40a12d
inc dword [ebp - 8]
cmp dword [ecx + 0x30], 2
mov dword [ebp - 0x1c], edx
jne 0x40a12d
inc dword [ebp - 0xc]
test eax, eax
je 0x40a164
mov ecx, dword [ecx + 0x50]
lea edx, [ebp - 0x20]
inc dword [ebp - 4]
call fcn.00411403
mov esi, eax
mov eax, 0x3a5
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
mov ecx, dword [ebp - 0x18]
mov word [ebp - 0x64], ax
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ecx + 0x54]
mov dword [ebp - 0x18], ecx
test ecx, ecx
jne 0x40a109
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1c], ecx
je 0x40a20d
mov esi, dword [ebp - 8]
mov dword [eax + 0x90], 2
cmp dword [ebp - 0xc], esi
jne 0x40a18f
push ecx
jmp 0x40a191
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [0x414418]
lea ecx, [ebp - 0x38]
cmp esi, 1
jne 0x40a1fa
push 0x78
call fcn.004120a0
mov esi, eax
mov eax, 0x3c6
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, 0x3e9
mov word [ebp - 0x64], ax
call fcn.004121ea
mov esi, eax
mov eax, 0x3cc
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
push 0
push edi
mov word [ebp - 0x64], ax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 0x68]
jmp 0x40a414
push 0x48b
call fcn.004120a0
mov esi, eax
mov eax, 0x3ca
jmp 0x40a1b4
mov esi, dword [ebp - 0x20]
xor ecx, ecx
inc ecx
mov dword [eax + 0x90], ecx
cmp dword [ebp - 4], ecx
jne 0x40a34f
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
push ecx
push ecx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.004114b7
mov esi, eax
mov eax, 0x3da
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x2c]
sub eax, 3
je 0x40a2e2
sub eax, 3
je 0x40a2e2
dec eax
je 0x40a2ac
dec eax
je 0x40a2e2
dec eax
dec eax
je 0x40a2ac
mov edx, dword [0x414418]
lea ecx, [ebp - 0x38]
push 0x4a5
call fcn.004120a0
mov esi, eax
mov eax, 0x3f7
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
push 1
push edi
mov word [ebp - 0x64], ax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
call esi
push 0
jmp 0x40a321
mov edx, dword [0x414418]
lea ecx, [ebp - 0x38]
push 0x4a5
call fcn.004120a0
mov esi, eax
mov eax, 0x3ed
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
push 1
push edi
mov word [ebp - 0x64], ax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x40a316
mov edx, dword [0x414418]
lea ecx, [ebp - 0x38]
push 0x4a5
call fcn.004120a0
mov esi, eax
mov eax, 0x3e2
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
push 1
push edi
mov word [ebp - 0x64], ax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push edi
call esi
push 1
push ebx
call esi
mov edx, dword [0x414418]
lea ecx, [ebp - 0x44]
push 0x48c
call fcn.004120a0
mov esi, eax
mov eax, 0x400
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
mov word [ebp - 0x64], ax
jmp 0x40a3c9
mov edx, dword [0x414418]
lea ecx, [ebp - 0x38]
push 0x48a
call fcn.004120a0
mov esi, eax
mov eax, 0x404
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
mov edx, dword [0x414418]
lea ecx, [ebp - 0x44]
push 0x48d
mov word [ebp - 0x64], ax
call fcn.004120a0
mov esi, eax
mov eax, 0x405
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
push 1
push edi
mov word [ebp - 0x64], ax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 4], 0
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
jbe 0x40a3bf
push 1
push edi
call esi
push 1
jmp 0x40a3c6
push 0
push edi
call esi
push 0
push ebx
call esi
push dword [ebp - 0x38]
mov ebx, dword [ebp - 0x14]
mov edx, 0x3e9
mov ecx, ebx
call fcn.004121ea
mov esi, eax
mov eax, 0x418
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
push dword [ebp - 0x44]
lea edx, [eax + 0x38]
mov word [ebp - 0x64], ax
mov ecx, ebx
call fcn.004121ea
mov esi, eax
mov eax, 0x419
mov dword [ebp - 0x68], esi
test esi, esi
js 0x40a0b9
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x44]
call fcn.00411683
lea ecx, [ebp - 0x38]
call fcn.00411683
lea ecx, [ebp - 0x68]
call fcn.0040fbc2
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret