Function at 0x1001cfe0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10034430
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
test eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], 0
je 0x1001d517
movzx edi, word [eax]
test di, di
je 0x1001d517
xor edx, edx
mov esi, 2
xor ebx, ebx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x6c], 0
test di, di
jne 0x1001d090
jmp 0x1001d0f3
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
movzx edi, word [ebp - 0x24]
mov ebx, dword [ebp - 0x68]
mov word [esi + edx*2], di
inc edx
mov dword [ebp - 0x6c], edx
movzx edi, word [eax]
test di, di
je 0x1001d0f3
add eax, 2
cmp di, 9
je 0x1001d0c0
movzx ecx, di
cmp ecx, 0x20
je 0x1001d0c0
cmp ecx, 0x22
jne 0x1001d0c5
movzx edi, word [eax]
not bl
and bl, 1
test di, di
jne 0x1001d090
jmp 0x1001d0f3
test bl, 1
je 0x1001d0f3
cmp edx, dword [ebp - 0x74]
jne 0x1001d080
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x24], di
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 2
call fcn.1001bc50
jmp 0x1001d070
add eax, 2
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x1001d0f0
cmp ecx, 9
je 0x1001d0f0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x58]
push edx
mov dword [ebp - 0x78], eax
push eax
push ecx
call fcn.10020770
add esp, 0xc
lea ecx, [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x10], 6
call fcn.1001bf70
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
movaps xmm2, xmmword [0x10059f40]
mov edi, dword [ebp - 0x20]
mov esi, 2
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
xor eax, eax
xor edx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], 0
jmp 0x1001d1a1
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x10059f40]
movzx ebx, byte [ebp - 0x24]
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x2c]
mov word [esi + edx*2], ax
inc edx
mov dword [ebp - 0x28], edx
mov eax, ebx
mov ebx, eax
movzx eax, word [edi]
test eax, eax
je 0x1001d5b3
mov ecx, edi
add edi, 2
cmp eax, 0x21
jg 0x1001d270
cmp eax, 9
je 0x1001d1ca
cmp eax, 0x20
jne 0x1001d310
test bl, bl
jne 0x1001d310
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
push edx
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10020770
add esp, 0xc
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x40]
jne 0x1001d20d
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 5
call fcn.1001bf70
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x10059f40]
movzx ebx, byte [ebp - 0x24]
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], 0
jmp 0x1001d253
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x1001d250
cmp eax, 9
je 0x1001d250
xor edx, edx
mov eax, ebx
jmp 0x1001d1a1
cmp eax, 0x22
je 0x1001d336
cmp eax, 0x5c
jne 0x1001d310
movzx eax, word [edi]
mov byte [ebp - 0x24], bl
mov ebx, ecx
xor ecx, ecx
cmp ax, 0x5c
jne 0x1001d2af
xor ecx, ecx
nop word cs:[eax + eax]
nop
movzx eax, word [ebx + ecx*2 + 4]
add edi, 2
inc ecx
cmp ax, 0x5c
je 0x1001d2a0
lea ebx, [ecx + 1]
cmp ax, 0x22
mov dword [ebp - 0x34], ebx
jne 0x1001d35e
mov eax, dword [ebp - 0x30]
shr ebx, 1
mov dword [ebp - 0x48], ecx
sub eax, edx
cmp eax, ebx
mov eax, ebx
movzx ebx, byte [ebp - 0x24]
mov dword [ebp - 0x44], eax
jae 0x1001d39c
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x30]
push eax
call fcn.10052dd0
add esp, 4
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x10059f40]
movzx ebx, byte [ebp - 0x24]
mov eax, dword [ebp - 0x34]
jmp 0x1001d3a8
cmp edx, dword [ebp - 0x30]
jne 0x1001d194
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
call fcn.1001bc50
jmp 0x1001d180
mov al, 1
test bl, bl
je 0x1001d1a1
mov dword [ebp - 0x68], ecx
movzx ecx, word [edi]
cmp ecx, 0x22
je 0x1001d4ca
xor eax, eax
test ecx, ecx
jne 0x1001d1a1
jmp 0x1001d5fc
mov eax, dword [ebp - 0x30]
sub eax, edx
cmp eax, ebx
mov eax, ebx
movzx ebx, byte [ebp - 0x24]
jae 0x1001d3b8
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x30]
push eax
call fcn.10052dd0
add esp, 4
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x10059f40]
movzx ebx, byte [ebp - 0x24]
mov eax, dword [ebp - 0x34]
jmp 0x1001d3c0
mov eax, dword [ebp - 0x34]
cmp eax, 2
jb 0x1001d46f
mov esi, dword [ebp - 0x2c]
cmp eax, 0x20
jae 0x1001d421
mov eax, dword [ebp - 0x44]
jmp 0x1001d460
test eax, eax
je 0x1001d19c
cmp eax, 0x10
jb 0x1001d410
mov ebx, eax
lea ecx, [esi + edx*2 + 0x10]
and eax, 0xf
mov dword [ebp - 0x68], esi
and ebx, 0xfffffff0
add edx, ebx
mov dword [ebp - 0x20], edx
mov edx, ebx
nop dword [eax + eax]
movups xmmword [ecx - 0x10], xmm2
movups xmmword [ecx], xmm2
add ecx, 0x20
add ebx, 0xfffffff0
jne 0x1001d3e0
cmp dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x68]
movzx ebx, byte [ebp - 0x24]
je 0x1001d19c
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, edx
mov word [esi + edx*2], 0x5c
inc edx
dec eax
jne 0x1001d410
jmp 0x1001d19c
mov eax, dword [ebp - 0x44]
lea ecx, [esi + edx*2 + 0x10]
mov dword [ebp - 0x68], esi
mov ebx, eax
and eax, 0xf
and ebx, 0xfffffff0
add edx, ebx
mov dword [ebp - 0x20], edx
mov edx, ebx
nop word [eax + eax]
movups xmmword [ecx - 0x10], xmm2
movups xmmword [ecx], xmm2
add ecx, 0x20
add ebx, 0xfffffff0
jne 0x1001d440
cmp dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x68]
movzx ebx, byte [ebp - 0x24]
je 0x1001d46c
nop
mov ecx, edx
mov word [esi + edx*2], 0x5c
inc edx
dec eax
jne 0x1001d460
mov ecx, dword [ebp - 0x48]
test cl, 1
mov eax, ebx
mov dword [ebp - 0x28], edx
jne 0x1001d1a1
xor eax, eax
cmp word [edi], 0
setne cl
cmp edx, dword [ebp - 0x30]
jne 0x1001d4b7
mov byte [ebp - 0x68], cl
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
call fcn.1001bc50
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x10059f40]
movzx ebx, byte [ebp - 0x24]
movzx ecx, byte [ebp - 0x68]
xor eax, eax
mov esi, dword [ebp - 0x2c]
mov al, cl
lea edi, [edi + eax*2]
mov word [esi + edx*2], 0x22
jmp 0x1001d19b
cmp edx, dword [ebp - 0x30]
jne 0x1001d4f5
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
call fcn.1001bc50
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x10059f40]
movzx ebx, byte [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x68]
mov word [esi + edx*2], 0x22
inc edx
mov dword [ebp - 0x28], edx
cmp word [eax + 2], 0
lea eax, [eax + 4]
cmovne edi, eax
mov eax, ebx
jmp 0x1001d1a1
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], 0
call fcn.1002a1c0
mov eax, dword [ebp - 0x58]
cmp eax, 0x80000000
jne 0x1001d5d4
movaps xmm0, xmmword [0x10059d30]
cmp byte [ebp - 0x54], 3
movups xmmword [ebp - 0x68], xmm0
jne 0x1001d681
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x48], ecx
push ecx
mov dword [ebp - 0x34], eax
call dword [eax]
add esp, 4
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 4]
test eax, eax
je 0x1001d58e
push dword [ecx + 8]
push eax
push dword [ebp - 0x48]
call fcn.1000f0d0
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x44]
call fcn.1000f0d0
add esp, 0xc
lea ecx, [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x10], 1
call fcn.1001bf70
jmp 0x1001d6a0
test edx, edx
jne 0x1001d5fc
test bl, bl
jne 0x1001d5fc
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
test eax, eax
jne 0x1001d658
jmp 0x1001d668
mov ecx, dword [ebp - 0x54]
movsd xmm0, qword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
movups xmmword [ebp - 0x68], xmm0
lea ecx, [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x10], 1
call fcn.1001bf70
jmp 0x1001d6a0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 3
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10020770
add esp, 0xc
mov esi, dword [ebp - 0x38]
cmp esi, dword [ebp - 0x40]
jne 0x1001d630
lea ecx, [ebp - 0x40]
mov edx, esi
mov dword [ebp - 0x10], 4
call fcn.1001bf70
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
test eax, eax
je 0x1001d668
add eax, eax
push 2
push eax
push dword [ebp - 0x2c]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x1001d6c5
add eax, eax
push 2
push eax
push dword [ebp - 0x78]
call fcn.1000f0d0
add esp, 0xc
jmp 0x1001d6c5
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x10], 1
call fcn.1001bf70
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
movups xmm0, xmmword [ebp - 0x68]
mov eax, esi
inc esi
shl eax, 4
mov dword [edi + eax], ecx
mov dword [edi + eax + 4], edx
movlps qword [edi + eax + 8], xmm0
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
shl esi, 4
add esi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov dword fs:[0], ecx
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret