Function at 0x101655f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
call sub.KERNEL32.dll_GetCommandLineW
test eax, eax
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
je 0x10165a5e
movzx edi, word [eax]
test di, di
je 0x10165a5e
add eax, 2
xor edx, edx
mov ecx, 2
xor ebx, ebx
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jmp 0x10165663
mov word [ecx + edx*2], di
inc edx
mov dword [ebp - 0x48], edx
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
je 0x101656b3
mov esi, eax
cmp di, 9
je 0x10165690
movzx eax, di
cmp eax, 0x20
je 0x10165690
cmp eax, 0x22
jne 0x10165695
not bl
and bl, 1
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
jne 0x10165663
jmp 0x101656b3
test bl, 1
je 0x101656b3
cmp edx, dword [ebp - 0x4c]
jne 0x10165650
lea ecx, [ebp - 0x50]
call fcn.1014ff70
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x48]
jmp 0x10165650
add esi, 2
movzx eax, word [esi]
cmp eax, 0x20
je 0x101656b0
cmp eax, 9
je 0x101656b0
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push edx
push edi
push eax
call fcn.10169f90
add esp, 0xc
lea ecx, [ebp - 0x2c]
xor edx, edx
call fcn.1014fd00
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov dword [ebp - 0x54], edi
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0
movzx ebx, word [esi]
test bx, bx
je 0x10165b19
mov ecx, 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], 0
jmp 0x1016576b
test byte [ebp - 0x34], 1
jne 0x101658dd
movzx ebx, word [edi]
mov al, 1
mov dword [ebp - 0x34], eax
nop word cs:[eax + eax]
nop dword [eax]
test bx, bx
mov esi, edi
je 0x10165b27
movzx eax, bx
lea edi, [esi + 2]
cmp eax, 0x21
jg 0x10165810
cmp eax, 9
je 0x10165788
cmp eax, 0x20
jne 0x10165880
test byte [ebp - 0x34], 1
jne 0x10165880
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov esi, eax
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10169f90
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jne 0x101657ba
lea ecx, [ebp - 0x2c]
call fcn.1014fd00
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov ecx, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], 0
jmp 0x101657f3
add edi, 2
movzx ebx, word [edi]
cmp ebx, 0x20
je 0x101657f0
cmp ebx, 9
je 0x101657f0
mov dword [ebp - 0x10], 0
jmp 0x10165760
cmp eax, 0x22
je 0x10165740
cmp eax, 0x5c
jne 0x10165880
movzx eax, word [edi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x1016583f
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [esi + ebx*2 + 4]
add edi, 2
inc ebx
cmp ax, 0x5c
je 0x10165830
inc ebx
cmp ax, 0x22
jne 0x101658b2
mov eax, dword [ebp - 0x1c]
mov esi, ebx
shr esi, 1
sub eax, dword [ebp - 0x10]
cmp eax, esi
jae 0x101658fd
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push esi
call fcn.10150480
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x10165906
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x10165899
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1014ff70
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov word [ecx + eax*2], bx
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
movzx ebx, word [edi]
jmp 0x10165760
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x10]
cmp eax, ebx
jae 0x1016594f
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ebx
call fcn.10150480
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x10165957
movzx ebx, word [edi]
cmp ebx, 0x22
je 0x1016599b
test ebx, ebx
je 0x10165b27
mov dword [ebp - 0x34], 0
jmp 0x10165760
cmp ebx, 2
jb 0x10165a12
mov ecx, dword [ebp - 0x20]
cmp ebx, 0x20
jb 0x10165a00
mov edx, dword [ebp - 0x10]
mov eax, esi
movaps xmm0, xmmword [0x10437ee0]
mov dword [ebp - 0x30], ecx
and eax, 0xfffffff0
lea ecx, [ecx + edx*2 + 0x10]
add edx, eax
mov dword [ebp - 0x10], edx
mov edx, eax
nop
movups xmmword [ecx - 0x10], xmm0
movups xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x10165930
cmp esi, eax
jne 0x101659fa
mov ecx, dword [ebp - 0x30]
jmp 0x10165a12
test ebx, ebx
je 0x101659f2
cmp ebx, 0x10
jb 0x101659e0
mov esi, dword [ebp - 0x10]
movaps xmm0, xmmword [0x10437ee0]
mov eax, ebx
mov dword [ebp - 0x30], ecx
and eax, 0xfffffff0
mov edx, eax
lea ecx, [ecx + esi*2 + 0x10]
add esi, eax
nop word [eax + eax]
movups xmmword [ecx - 0x10], xmm0
movups xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x10165980
cmp ebx, eax
mov dword [ebp - 0x10], esi
jne 0x101659da
mov ecx, dword [ebp - 0x30]
jmp 0x101659f2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x101659b4
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1014ff70
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov word [ecx + eax*2], 0x22
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
lea eax, [esi + 4]
cmp word [esi + 2], 0
cmovne edi, eax
movzx ebx, word [edi]
jmp 0x10165760
mov ecx, dword [ebp - 0x30]
and ebx, 0xf
mov eax, dword [ebp - 0x10]
dec ebx
mov word [ecx + eax*2], 0x5c
lea eax, [eax + 1]
mov dword [ebp - 0x10], eax
jne 0x101659e0
mov eax, dword [ebp - 0x10]
jmp 0x101658a7
mov ecx, dword [ebp - 0x30]
and esi, 0xf
mov eax, dword [ebp - 0x10]
dec esi
mov word [ecx + eax*2], 0x5c
lea eax, [eax + 1]
mov dword [ebp - 0x10], eax
jne 0x10165a00
mov eax, dword [ebp - 0x10]
test bl, 1
mov dword [ebp - 0x18], eax
je 0x101658aa
xor ebx, ebx
cmp word [edi], 0
mov eax, dword [ebp - 0x10]
setne byte [ebp - 0x30]
cmp eax, dword [ebp - 0x1c]
jne 0x10165a44
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1014ff70
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov bl, al
mov eax, dword [ebp - 0x10]
lea edi, [edi + ebx*2]
mov word [ecx + eax*2], 0x22
jmp 0x101658a3
lea ecx, [ebp - 0x44]
call fcn.10176510
movzx ecx, byte [ebp - 0x38]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
cmp cl, 2
jne 0x10165acc
cmp al, 3
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
jne 0x10165ae9
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov eax, dword [edi]
push ebx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x10165abc
cmp dword [edi + 8], 9
jb 0x10165aae
mov ebx, dword [ebx - 4]
push ebx
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x10165ae9
movzx edi, word [ebp - 0x37]
mov ch, byte [ebp - 0x35]
mov edx, dword [ebp - 0x3c]
mov word [ebp - 0x13], di
mov byte [ebp - 0x11], ch
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x14], cl
lea ecx, [ebp - 0x2c]
xor edx, edx
call fcn.1014fd00
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x20]
movsd xmm1, qword [ebp - 0x18]
mov eax, edi
inc edi
shl eax, 4
movsd qword [esi + eax + 8], xmm1
movsd qword [esi + eax], xmm0
mov ebx, dword [ebp - 0x28]
jmp 0x10165b69
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x10165b84
mov eax, dword [ebp - 0x34]
and al, 1
jne 0x10165b84
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x1c], 0
je 0x10165b53
push dword [ebp - 0x20]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x4c], 0
je 0x10165b69
push dword [ebp - 0x54]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp + 8]
shl edi, 4
add edi, esi
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov esi, eax
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10169f90
add esp, 0xc
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x28]
jne 0x10165bae
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.1014fd00
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov eax, edi
inc edi
shl eax, 4
movsd qword [esi + eax + 8], xmm1
movsd qword [esi + eax], xmm0
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x1c], 0
jne 0x10165b43
jmp 0x10165b53