Function at 0x404c6d
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.00414da4
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x42725c
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.00414da4
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.00404c34
pop edx
test ecx, ecx
je 0x404d10
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x404d06
push ebx
call fcn.00414d9e
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x404cf5
pop edx
pop edi
test edx, edx
je 0x404d1e
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00414d9e
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
call fcn.00404fc8
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x404d69
push 0xac
push 0x4029b69
push 6
call fcn.00414db6
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 1
jne 0x404d80
mov eax, 0
jmp 0x404fb4
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0xc]
cmp eax, 0
jge 0x404da6
push 0x15b
push 0x4029b69
push 0xa
call fcn.00414db6
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ebx, [ebp - 0x20]
call fcn.00404c34
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00414da4
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.00404c34
pop edx
test edx, edx
je 0x404deb
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x10]
call fcn.00414d9e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
call fcn.0040513b
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x427510]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00403850
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004052b3
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.004052dd
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 0x404f9a
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.0040513b
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x427510]
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.004159e0
add esp, 0x1c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00405301
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404ef5
push ebx
call fcn.00414d9e
add esp, 4
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.00415110
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.00404c34
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 0x404f39
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.00414dc2
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 0x404f7e
push eax
mov ebx, eax
call fcn.00401030
inc eax
push eax
call fcn.00414da4
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 0x404f91
push ebx
call fcn.00414d9e
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x404e4a
add esp, 0xc
push dword [ebp - 8]
call fcn.004057c1
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00404c54
jmp 0x404fb4
push eax
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00414d9e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4