Function at 0x404c2f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.00414bd3
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x42625c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ecx, 0
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00414bd3
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 0
add edi, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00404bf6
pop edx
test ecx, ecx
je 0x404cd2
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x404cc8
push ebx
call fcn.00414bcd
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x404cb7
pop edx
pop edi
test edx, edx
je 0x404ce0
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00414bcd
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
call fcn.00404f6b
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 1
jne 0x404d23
mov eax, 0
jmp 0x404f57
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0xc]
cmp eax, 0
jge 0x404d49
push 0x15b
push 0x4029b69
push 0xa
call fcn.00414be5
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ebx, [ebp - 0x20]
call fcn.00404bf6
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00414bd3
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x1c]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x10]
call fcn.00404bf6
pop edx
test edx, edx
je 0x404d8e
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x10]
call fcn.00414bcd
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
call fcn.004050de
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x426510]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00403850
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405256
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.00405280
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 2
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x404f3d
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.004050de
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x426510]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00403850
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.00415810
add esp, 0x1c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004052a4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404e98
push ebx
call fcn.00414bcd
add esp, 4
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.00414f40
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.00404bf6
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 0x404edc
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.00414bf1
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 0x404f21
push eax
mov ebx, eax
call fcn.00401030
inc eax
push eax
call fcn.00414bd3
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 0x404f34
push ebx
call fcn.00414bcd
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x404ded
add esp, 0xc
push dword [ebp - 8]
call fcn.00405764
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00404c16
jmp 0x404f57
push eax
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00414bcd
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4