Function at 0x416260
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580f68
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x5bc490]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x370], ecx
push 0
call fcn.0054ff1d
add esp, 4
mov eax, dword [ebp - 0x370]
mov dword [eax + 0xac], 0
mov ecx, dword [ebp - 0x370]
call fcn.00416810
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
push ecx
lea ecx, [ebp - 0x330]
call fcn.0040afe0
mov dword [ebp - 4], 0
mov dword [ebp - 0x124], 0
push 0
push 0x588ab8
lea ecx, [ebp - 0x330]
call fcn.00416980
cmp eax, 0xffffffff
jle 0x416358
mov edx, dword [ebp - 0x370]
mov dword [edx + 0xa4], 0x509
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x370]
mov dword [eax + 0x20], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x330]
call fcn.00401680
mov eax, dword [ebp - 0x344]
jmp 0x4167d0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x10], 1
jmp 0x41637a
mov ecx, dword [ebp - 0x340]
add ecx, 1
mov dword [ebp - 0x340], ecx
mov edx, dword [ebp - 0x334]
add edx, dword [ebp - 0x340]
movsx eax, byte [edx]
test eax, eax
je 0x4163d2
mov ecx, dword [ebp - 0x334]
add ecx, dword [ebp - 0x340]
movsx edx, byte [ecx]
cmp edx, 0x20
jne 0x4163d0
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x334]
add ecx, dword [ebp - 0x340]
movsx edx, byte [ecx + 1]
cmp edx, 0x20
jne 0x4163d0
mov eax, dword [ebp - 0x340]
add eax, 1
mov dword [ebp - 0x340], eax
jmp 0x4163aa
jmp 0x41636b
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00544a96
add esp, 4
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x33c], edx
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x340], eax
jmp 0x416436
mov ecx, dword [ebp - 0x340]
add ecx, 1
mov dword [ebp - 0x340], ecx
mov edx, dword [ebp - 0x340]
cmp edx, dword [ebp - 0x10]
jge 0x416599
cmp dword [ebp - 0x340], 0
jne 0x41645a
mov dword [ebp - 0x120], 1
jmp 0x416498
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x334]
add ecx, dword [ebp - 0x33c]
movsx edx, byte [ecx + 1]
cmp edx, 0x20
jne 0x416489
mov eax, dword [ebp - 0x33c]
add eax, 1
mov dword [ebp - 0x33c], eax
jmp 0x416463
mov ecx, dword [ebp - 0x33c]
add ecx, 1
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x334]
add eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x4164d0
mov edx, dword [ebp - 0x334]
add edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
je 0x4164d0
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4164a4
cmp dword [ebp - 0x340], 0
jne 0x4164e2
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x120]
add eax, 1
push eax
call fcn.00544a96
add esp, 4
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x340]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34c]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x33c], ecx
jmp 0x41652c
mov edx, dword [ebp - 0x33c]
add edx, 1
mov dword [ebp - 0x33c], edx
mov eax, dword [ebp - 0x33c]
cmp eax, dword [ebp - 0x14]
jg 0x416582
mov ecx, dword [ebp - 0x33c]
cmp ecx, dword [ebp - 0x14]
jge 0x416558
mov edx, dword [ebp - 0x334]
add edx, dword [ebp - 0x33c]
mov al, byte [edx]
mov byte [ebp - 0x371], al
jmp 0x41655f
mov byte [ebp - 0x371], 0
mov ecx, dword [ebp - 0x33c]
sub ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x340]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + edx*4]
mov al, byte [ebp - 0x371]
mov byte [ecx + edx], al
jmp 0x41651d
cmp dword [ebp - 0x340], 0
jne 0x416594
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x416427
mov dword [ebp - 0x338], 0
cmp dword [ebp - 0x10], 5
jle 0x4165c0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
movsx ecx, byte [eax]
xor edx, edx
cmp ecx, 0x30
setne dl
mov dword [ebp - 0x338], edx
push 0x100
call fcn.004168e0
mov dword [ebp - 0x354], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x354], 0
je 0x4165f7
mov eax, dword [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0x354]
call fcn.00416900
mov dword [ebp - 0x378], eax
jmp 0x416601
mov dword [ebp - 0x378], 0
mov ecx, dword [ebp - 0x378]
mov dword [ebp - 0x350], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x370]
mov eax, dword [ebp - 0x350]
mov dword [edx + 0xac], eax
push 0
push 0x81
mov ecx, dword [ebp - 0x370]
mov edx, dword [ecx + 0xac]
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0xac]
mov edx, dword [edx]
mov eax, dword [edx + 0x13c]
call eax
mov ecx, dword [ebp - 0x370]
mov edx, dword [ebp - 0x370]
mov eax, dword [edx + 0xac]
mov dword [ecx + 0x20], eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call fcn.00416a20
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x358], esp
lea edx, [ebp - 0x11c]
push edx
call fcn.0040afe0
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0xac]
call fcn.004013e0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00414f70
add esp, 8
mov ecx, dword [ebp - 0x370]
mov dword [ecx + 0xa4], eax
mov dword [ebp - 0x340], 0
jmp 0x4166ee
mov edx, dword [ebp - 0x340]
add edx, 1
mov dword [ebp - 0x340], edx
mov eax, dword [ebp - 0x340]
cmp eax, dword [ebp - 0x10]
jge 0x41671c
mov ecx, dword [ebp - 0x340]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
push ecx
call fcn.00544a8b
add esp, 4
jmp 0x4166df
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x360], edx
mov eax, dword [ebp - 0x360]
push eax
call fcn.00544a8b
add esp, 4
mov ecx, dword [ebp - 0x370]
cmp dword [ecx + 0xac], 0
je 0x4167a1
mov edx, dword [ebp - 0x370]
mov eax, dword [edx + 0xac]
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x364], ecx
cmp dword [ebp - 0x364], 0
je 0x416787
push 1
mov edx, dword [ebp - 0x364]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x364]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x380], eax
jmp 0x416791
mov dword [ebp - 0x380], 0
mov eax, dword [ebp - 0x370]
mov dword [eax + 0xac], 0
mov ecx, dword [ebp - 0x370]
mov dword [ecx + 0x20], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x330]
call fcn.00401680
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00561cfe
mov esp, ebp
pop ebp
ret