Function at 0x46590a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004a49c8
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x52b763
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 ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x46596a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x465966
imul eax, dword [ebx]
jmp 0x46595b
mov ecx, eax
test ecx, ecx
je 0x465989
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x465982
push ebx
push eax
call fcn.004a49ce
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x465970
call fcn.004a49ce
add esp, 4
mov eax, 0x52b763
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
call dword [sym.imp.kernel32.dll_GetCommandLineW]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4659ba
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4659e3
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 1
jne 0x4659fa
mov eax, 0
jmp 0x465ca6
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
cmp eax, 0
jge 0x465a16
push 0xa
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x1c]
call fcn.0046018e
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004a49c8
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.0046018e
pop edx
test edx, edx
je 0x465a5b
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0xc]
call fcn.004a49ce
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [0x52ff70]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x465a8c
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x52b751]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0045fa29
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x10]
push dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
call fcn.0046018e
push ebx
call dword [0x52ff74]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x465ada
push 6
call fcn.004a49d4
add esp, 4
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 0x465c72
mov ebx, dword [ebp - 0xc]
call fcn.0046018e
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x465b12
push 4
call fcn.004a49d4
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x465b25
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
call fcn.0046018e
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x465b4a
push 4
call fcn.004a49d4
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x465b5d
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call dword [0x52ff70]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x465b89
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x52b751]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0045fa29
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.004a5480
add esp, 0x1c
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.004a50b0
add esp, 8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x40], ebx
call fcn.0046018e
mov dword [ebp - 0x44], ecx
mov edi, dword [ebp - 0x40]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x465c13
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x40]
call fcn.004a49e6
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x44]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x3c]
push edi
test eax, eax
je 0x465c56
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004a49c8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x465c69
push ebx
call fcn.004a49ce
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x465ae8
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_LocalFree]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x465c97
push 6
call fcn.004a49d4
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00460175
jmp 0x465ca6
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004a49ce
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4