Function at 0x515aba
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.00554b78
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x58a4d0
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 0x515b1a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x515b16
imul eax, dword [ebx]
jmp 0x515b0b
mov ecx, eax
test ecx, ecx
je 0x515b39
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x515b32
push ebx
push eax
call fcn.00554b7e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x515b20
call fcn.00554b7e
add esp, 4
mov eax, 0x58a4d0
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
call dword [sym.imp.kernel32.dll_GetCommandLineW_1]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x515b6a
push 6
call fcn.00554b84
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_1]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x515b93
push 6
call fcn.00554b84
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 1
jne 0x515baa
mov eax, 0
jmp 0x515e56
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
cmp eax, 0
jge 0x515bc6
push 0xa
call fcn.00554b84
add esp, 4
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x1c]
call fcn.0051033e
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00554b78
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.0051033e
pop edx
test edx, edx
je 0x515c0b
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0xc]
call fcn.00554b7e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [0x58ecdd]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x515c3c
push 6
call fcn.00554b84
add esp, 4
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x58a4be]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0050fbd9
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.0051033e
push ebx
call dword [0x58ece1]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x515c8a
push 6
call fcn.00554b84
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 0x515e22
mov ebx, dword [ebp - 0xc]
call fcn.0051033e
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x515cc2
push 4
call fcn.00554b84
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x515cd5
push 1
call fcn.00554b84
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
call fcn.0051033e
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x515cfa
push 4
call fcn.00554b84
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x515d0d
push 1
call fcn.00554b84
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 [0x58ecdd]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x515d39
push 6
call fcn.00554b84
add esp, 4
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x58a4be]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0050fbd9
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.00555630
add esp, 0x1c
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.00555260
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.0051033e
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 0x515dc3
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.00554b96
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 0x515e06
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00554b78
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 0x515e19
push ebx
call fcn.00554b7e
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x515c98
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_LocalFree_1]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x515e47
push 6
call fcn.00554b84
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00510325
jmp 0x515e56
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00554b7e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4