Function at 0x4157ee
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0049e49a
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x50a11d
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 0x41584e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41584a
imul eax, dword [ebx]
jmp 0x41583f
mov ecx, eax
test ecx, ecx
je 0x41586d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415866
push ebx
push eax
call fcn.0049e494
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415854
call fcn.0049e494
add esp, 4
mov eax, 0x50a11d
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4158a8
push 0x45
push 0x401af29
push 6
call fcn.0049e4a6
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4158db
push 0x45
push 0x401af29
push 6
call fcn.0049e4a6
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 1
jne 0x4158f2
mov eax, 0
jmp 0x415c1c
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
cmp eax, 0
jge 0x415918
push 0xb5
push 0x401af29
push 0xa
call fcn.0049e4a6
add esp, 0xc
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x1c]
call fcn.004148bf
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0049e49a
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.004148bf
pop edx
test edx, edx
je 0x41595d
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0xc]
call fcn.0049e494
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x415998
push 0x104
push 0x401af29
push 6
call fcn.0049e4a6
add esp, 0xc
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x50a125]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00413ea3
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00415c30
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4159f6
push 0x13b
push 0x401af29
push 6
call fcn.0049e4a6
add esp, 0xc
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 0x415bde
mov ebx, dword [ebp - 0xc]
call fcn.004148bf
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x415a38
push 0x1c2
push 0x401af29
push 4
call fcn.0049e4a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x415a55
push 0x1c2
push 0x401af29
push 1
call fcn.0049e4a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
call fcn.004148bf
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x415a84
push 0x1f4
push 0x401af29
push 4
call fcn.0049e4a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x415aa1
push 0x1f4
push 0x401af29
push 1
call fcn.0049e4a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x415ad7
push 0x1f4
push 0x401af29
push 6
call fcn.0049e4a6
add esp, 0xc
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x50a125]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00413ea3
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.0049f820
add esp, 0x1c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004144c2
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x415b39
push ebx
call fcn.0049e494
add esp, 4
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.0049ec20
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.004148bf
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 0x415b7d
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.0049e4ac
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 0x415bc2
push eax
mov ebx, eax
call fcn.00412d44
inc eax
push eax
call fcn.0049e49a
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 0x415bd5
push ebx
call fcn.0049e494
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x415a04
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x415c0d
push 0x236
push 0x401af29
push 6
call fcn.0049e4a6
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.004157d5
jmp 0x415c1c
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0049e494
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4