Function at 0x4013ac
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00402103
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x406219
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esp
mov eax, 0
call sub.Kernel32.dll_GetCommandLineW
cmp dword [ebp - 0x18], esp
je 0x401415
push 0x54
push 0x4012ea6
push 6
call fcn.004020f1
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
mov eax, 1
call sub.Shell32.dll_CommandLineToArgvW
cmp dword [ebp - 0x20], esp
je 0x401448
push 0x54
push 0x4012ea6
push 6
call fcn.004020f1
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 1
jne 0x40145f
mov eax, 0
jmp 0x401787
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
cmp eax, 0
jge 0x401485
push 0xc4
push 0x4012ea6
push 0xa
call fcn.004020f1
add esp, 0xc
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x1c]
call fcn.00401016
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00402103
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x18]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0xc]
call fcn.00401016
pop edx
test edx, edx
je 0x4014ca
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0xc]
call fcn.004020fd
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 2
call sub.Kernel32.dll_lstrlenW
cmp dword [ebp - 0x18], esp
je 0x401505
push 0x113
push 0x4012ea6
push 6
call fcn.004020f1
add esp, 0xc
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x406221]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401385
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040179b
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x18]
mov eax, 3
call sub.Kernel32.dll_RtlMoveMemory
cmp dword [ebp - 0x1c], esp
je 0x401563
push 0x14a
push 0x4012ea6
push 6
call fcn.004020f1
add esp, 0xc
push dword [ebp - 8]
lea eax, [ebp - 0x14]
mov ebx, eax
mov ecx, 2
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40174b
mov ebx, dword [ebp - 0xc]
call fcn.00401016
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x4015a5
push 0x1d1
push 0x4012ea6
push 4
call fcn.004020f1
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4015c2
push 0x1d1
push 0x4012ea6
push 1
call fcn.004020f1
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
call fcn.00401016
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x4015f1
push 0x203
push 0x4012ea6
push 4
call fcn.004020f1
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40160e
push 0x203
push 0x4012ea6
push 1
call fcn.004020f1
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
mov eax, 2
call sub.Kernel32.dll_lstrlenW
cmp dword [ebp - 0x20], esp
je 0x401644
push 0x203
push 0x4012ea6
push 6
call fcn.004020f1
add esp, 0xc
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x406221]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401385
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.00402d70
add esp, 0x1c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004017c5
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4016a6
push ebx
call fcn.004020fd
add esp, 4
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.004020eb
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x44], ebx
call fcn.00401016
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4016ea
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.0040210f
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
push edi
test eax, eax
je 0x40172f
push eax
mov ebx, eax
call fcn.00401036
inc eax
push eax
call fcn.00402103
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401742
push ebx
call fcn.004020fd
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x401571
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 4
call sub.Kernel32.dll_LocalFree
cmp dword [ebp - 0x18], esp
je 0x40177a
push 0x245
push 0x4012ea6
push 6
call fcn.004020f1
add esp, 0xc
push dword [ebp + 8]
call fcn.00401ba9
jmp 0x401787
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004020fd
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4