Function at 0x10149390
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 0x101497fe
movzx edi, word [eax]
test di, di
je 0x101497fe
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 0x10149403
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 0x10149453
mov esi, eax
cmp di, 9
je 0x10149430
movzx eax, di
cmp eax, 0x20
je 0x10149430
cmp eax, 0x22
jne 0x10149435
not bl
and bl, 1
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
jne 0x10149403
jmp 0x10149453
test bl, 1
je 0x10149453
cmp edx, dword [ebp - 0x4c]
jne 0x101493f0
lea ecx, [ebp - 0x50]
call fcn.10133c20
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x48]
jmp 0x101493f0
add esi, 2
movzx eax, word [esi]
cmp eax, 0x20
je 0x10149450
cmp eax, 9
je 0x10149450
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push edx
push edi
push eax
call fcn.1014d9e0
add esp, 0xc
lea ecx, [ebp - 0x2c]
xor edx, edx
call fcn.101339b0
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 0x101498b9
mov ecx, 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], 0
jmp 0x1014950b
test byte [ebp - 0x34], 1
jne 0x1014967d
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 0x101498c7
movzx eax, bx
lea edi, [esi + 2]
cmp eax, 0x21
jg 0x101495b0
cmp eax, 9
je 0x10149528
cmp eax, 0x20
jne 0x10149620
test byte [ebp - 0x34], 1
jne 0x10149620
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov esi, eax
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1014d9e0
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jne 0x1014955a
lea ecx, [ebp - 0x2c]
call fcn.101339b0
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 0x10149593
add edi, 2
movzx ebx, word [edi]
cmp ebx, 0x20
je 0x10149590
cmp ebx, 9
je 0x10149590
mov dword [ebp - 0x10], 0
jmp 0x10149500
cmp eax, 0x22
je 0x101494e0
cmp eax, 0x5c
jne 0x10149620
movzx eax, word [edi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x101495df
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [esi + ebx*2 + 4]
add edi, 2
inc ebx
cmp ax, 0x5c
je 0x101495d0
inc ebx
cmp ax, 0x22
jne 0x10149652
mov eax, dword [ebp - 0x1c]
mov esi, ebx
shr esi, 1
sub eax, dword [ebp - 0x10]
cmp eax, esi
jae 0x1014969d
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push esi
call fcn.10134130
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x101496a6
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x10149639
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.10133c20
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 0x10149500
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x10]
cmp eax, ebx
jae 0x101496ef
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ebx
call fcn.10134130
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x101496f7
movzx ebx, word [edi]
cmp ebx, 0x22
je 0x1014973b
test ebx, ebx
je 0x101498c7
mov dword [ebp - 0x34], 0
jmp 0x10149500
cmp ebx, 2
jb 0x101497b2
mov ecx, dword [ebp - 0x20]
cmp ebx, 0x20
jb 0x101497a0
mov edx, dword [ebp - 0x10]
mov eax, esi
movaps xmm0, xmmword [0x103495a0]
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 0x101496d0
cmp esi, eax
jne 0x1014979a
mov ecx, dword [ebp - 0x30]
jmp 0x101497b2
test ebx, ebx
je 0x10149792
cmp ebx, 0x10
jb 0x10149780
mov esi, dword [ebp - 0x10]
movaps xmm0, xmmword [0x103495a0]
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 0x10149720
cmp ebx, eax
mov dword [ebp - 0x10], esi
jne 0x1014977a
mov ecx, dword [ebp - 0x30]
jmp 0x10149792
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x10149754
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.10133c20
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 0x10149500
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 0x10149780
mov eax, dword [ebp - 0x10]
jmp 0x10149647
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 0x101497a0
mov eax, dword [ebp - 0x10]
test bl, 1
mov dword [ebp - 0x18], eax
je 0x1014964a
xor ebx, ebx
cmp word [edi], 0
mov eax, dword [ebp - 0x10]
setne byte [ebp - 0x30]
cmp eax, dword [ebp - 0x1c]
jne 0x101497e4
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.10133c20
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 0x10149643
lea ecx, [ebp - 0x44]
call fcn.10159d10
movzx ecx, byte [ebp - 0x38]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
cmp cl, 2
jne 0x1014986c
cmp al, 3
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
jne 0x10149889
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 0x1014985c
cmp dword [edi + 8], 9
jb 0x1014984e
mov ebx, dword [ebx - 4]
push ebx
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
jmp 0x10149889
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.101339b0
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 0x10149909
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x10149924
mov eax, dword [ebp - 0x34]
and al, 1
jne 0x10149924
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x1c], 0
je 0x101498f3
push dword [ebp - 0x20]
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x4c], 0
je 0x10149909
push dword [ebp - 0x54]
push 0
push dword [0x1038a110]
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.1014d9e0
add esp, 0xc
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x28]
jne 0x1014994e
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.101339b0
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 0x101498e3
jmp 0x101498f3