Function at 0x4096d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4096d8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x409c03
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov ecx, 0x409c1c
mov edx, dword [0x40c970]
call fcn.00404078
mov edx, dword [ebp - 0x14]
mov eax, 0x40c7a0
call fcn.00402b64
mov eax, 0x40c7a0
call fcn.00402900
call fcn.00402644
jmp 0x409b71
mov edx, 0x40c974
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
lea edx, [ebp - 0x18]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x18]
mov edx, 0x409c30
call fcn.00404178
jne 0x4097b9
mov edx, 0x40c974
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
xor eax, eax
push ebp
push 0x4097af
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov ecx, 0x409c44
mov edx, dword [0x40c974]
call fcn.00404078
mov eax, dword [ebp - 0x1c]
call fcn.00408f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4097b9
lea edx, [ebp - 0x20]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x20]
mov edx, 0x409c50
call fcn.00404178
jne 0x409808
mov edx, 0x40c974
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
mov eax, 0x40c978
mov ecx, 0x409c44
mov edx, dword [0x40c974]
call fcn.00404078
lea edx, [ebp - 0x24]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x24]
mov edx, 0x409c68
call fcn.00404178
jne 0x40988b
mov edx, 0x40c974
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
mov eax, dword [0x40c974]
mov edx, 0x409c78
call fcn.00404178
je 0x40987a
lea eax, [ebp - 0x28]
mov ecx, dword [0x40c974]
mov edx, dword [0x40c978]
call fcn.00404078
mov eax, dword [ebp - 0x28]
call fcn.004091ac
test al, al
jne 0x40987a
mov byte [0x40c980], 1
mov eax, dword [0x40c974]
mov edx, 0x409c78
call fcn.00404178
jne 0x409824
lea edx, [ebp - 0x2c]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x2c]
mov edx, 0x409c84
call fcn.00404178
jne 0x409903
mov edx, 0x40c974
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
mov eax, dword [0x40c974]
mov edx, 0x409c78
call fcn.00404178
je 0x4098f2
lea eax, [ebp - 0x30]
mov ecx, dword [0x40c974]
mov edx, dword [0x40c978]
call fcn.00404078
mov eax, dword [ebp - 0x30]
call fcn.004091ac
mov eax, dword [0x40c974]
mov edx, 0x409c78
call fcn.00404178
jne 0x4098a7
lea edx, [ebp - 0x34]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x34]
mov edx, 0x409c94
call fcn.00404178
jne 0x409969
mov edx, 0x40c974
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
mov eax, dword [0x40c974]
mov edx, 0x409c78
call fcn.00404178
je 0x409958
mov eax, dword [0x40c974]
call fcn.004091ac
mov eax, dword [0x40c974]
mov edx, 0x409c78
call fcn.00404178
jne 0x40991f
lea edx, [ebp - 0x38]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x38]
mov edx, 0x409ca4
call fcn.00404178
jne 0x4099d8
lea edx, [ebp - 8]
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
lea edx, [ebp - 0xc]
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 8]
mov edx, 0x409cb4
call fcn.00404078
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00409574
lea edx, [ebp - 0x40]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x40]
mov edx, 0x409cc0
call fcn.00404178
jne 0x409a47
lea edx, [ebp - 0x10]
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
lea edx, [ebp - 0xc]
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
lea eax, [ebp - 0x44]
mov ecx, 0x409cd0
mov edx, dword [ebp - 0x10]
call fcn.00404078
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
call fcn.00409574
lea edx, [ebp - 0x48]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x48]
mov edx, 0x409cdc
call fcn.00404178
jne 0x409a9a
mov edx, 0x40c974
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
mov eax, dword [0x40c970]
call fcn.00402680
call fcn.00402644
mov eax, dword [0x40c974]
call fcn.004061cc
lea edx, [ebp - 0x4c]
mov eax, dword [0x40c974]
call fcn.00405d78
mov eax, dword [ebp - 0x4c]
mov edx, 0x409cf4
call fcn.00404178
jne 0x409b71
mov edx, 0x40c974
mov eax, 0x40c7a0
call fcn.00402e3c
mov eax, 0x40c7a0
call fcn.00402ea8
call fcn.00402644
mov eax, dword [0x40c970]
call fcn.00402680
call fcn.00402644
mov eax, dword [0x40c974]
call fcn.00408f18
test al, al
je 0x409b71
mov edx, 0x409d0c
mov eax, dword [0x40c974]
call fcn.0040923c
test eax, eax
jne 0x409b6a
push 0
mov eax, dword [0x40c96c]
push eax
call sub.user32.dll_ShowWindow
push 0x409d18
push dword [0x40c974]
push 0x409d40
push 0x409d4c
lea eax, [ebp - 4]
mov edx, 4
call fcn.004040ec
push 0x24
push 0x409d58
mov eax, dword [ebp - 4]
call fcn.0040422c
push eax
push 0
call main
cmp eax, 6
jne 0x409b71
mov eax, dword [0x40c974]
call fcn.004061cc
test al, al
jne 0x409b71
mov byte [0x40c980], 1
jmp 0x409b71
mov byte [0x40c980], 1
mov eax, 0x40c7a0
call fcn.00402c78
call fcn.00402644
test al, al
je 0x409724
mov eax, 0x40c7a0
call fcn.00402c20
call fcn.00402644
xor eax, eax
push ebp
push 0x409bde
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
mov ecx, 0x409c1c
mov edx, dword [0x40c970]
call fcn.00404078
mov edx, dword [ebp - 0x50]
mov eax, 0x40c7a0
call fcn.00402b64
mov eax, 0x40c7a0
call fcn.00402cb0
call fcn.00402644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x409be8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c0a
lea eax, [ebp - 0x50]
mov edx, 0x14
call fcn.00403dd0
ret