Function at 0x46db27
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.004afa00
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x540184
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 0x46db87
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x46db83
imul eax, dword [ebx]
jmp 0x46db78
mov ecx, eax
test ecx, ecx
je 0x46dba6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x46db9f
push ebx
push eax
call fcn.004afa06
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x46db8d
call fcn.004afa06
add esp, 4
mov eax, 0x540184
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 0x46dbd7
push 6
call fcn.004afa0c
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 0x46dc00
push 6
call fcn.004afa0c
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 1
jne 0x46dc17
mov eax, 0
jmp 0x46dec3
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
cmp eax, 0
jge 0x46dc33
push 0xa
call fcn.004afa0c
add esp, 4
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x1c]
call fcn.00468e9b
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004afa00
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.00468e9b
pop edx
test edx, edx
je 0x46dc78
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0xc]
call fcn.004afa06
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [0x544d27]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x46dca9
push 6
call fcn.004afa0c
add esp, 4
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x5401ec]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0046951a
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.00468e9b
push ebx
call dword [0x544d2b]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x46dcf7
push 6
call fcn.004afa0c
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 0x46de8f
mov ebx, dword [ebp - 0xc]
call fcn.00468e9b
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x46dd2f
push 4
call fcn.004afa0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46dd42
push 1
call fcn.004afa0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
call fcn.00468e9b
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x46dd67
push 4
call fcn.004afa0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46dd7a
push 1
call fcn.004afa0c
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 [0x544d27]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x46dda6
push 6
call fcn.004afa0c
add esp, 4
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x5401ec]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0046951a
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.004b1850
add esp, 0x1c
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.004b00e0
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.00468e9b
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 0x46de30
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.004afa1e
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 0x46de73
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004afa00
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 0x46de86
push ebx
call fcn.004afa06
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x46dd05
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 0x46deb4
push 6
call fcn.004afa0c
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00468e82
jmp 0x46dec3
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004afa06
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4