Function at 0x10012f60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100253c0
mov dword [ebp - 0x74], ecx
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
xorps xmm0, xmm0
mov dword [ebp - 0x48], 4
movlps qword [ebp - 0x44], xmm0
je 0x1001347e
movzx edi, word [eax]
test di, di
je 0x1001347e
xorps xmm0, xmm0
xor esi, esi
mov ecx, 2
xor ebx, ebx
mov dword [ebp - 0x68], 2
movlps qword [ebp - 0x64], xmm0
test di, di
jne 0x10013000
jmp 0x10013063
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
movzx edi, word [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov word [ecx + esi*2], di
inc esi
mov dword [ebp - 0x60], esi
movzx edi, word [eax]
test di, di
je 0x10013063
add eax, 2
cmp di, 9
je 0x10013030
movzx edx, di
cmp edx, 0x20
je 0x10013030
cmp edx, 0x22
jne 0x10013035
movzx edi, word [eax]
not bl
and bl, 1
test di, di
jne 0x10013000
jmp 0x10013063
test bl, 1
je 0x10013063
cmp esi, dword [ebp - 0x64]
jne 0x10012ff0
lea ecx, [ebp - 0x68]
mov edx, esi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x24], di
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
call fcn.1000ebc0
jmp 0x10012fe0
add eax, 2
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x10013060
cmp ecx, 9
je 0x10013060
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x70], edx
push esi
call fcn.1000f7e0
add esp, 4
lea ecx, [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x10], 5
call fcn.10013700
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
movaps xmm2, xmmword [0x100343c0]
mov esi, dword [ebp - 0x20]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x24], 2
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx], xmm0
xorps xmm0, xmm0
movsd qword [eax + edx + 8], xmm1
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x40], ecx
movlps qword [ebp - 0x38], xmm0
movzx edx, word [esi]
lea ecx, [esi + 2]
add esi, 4
mov eax, esi
mov esi, ecx
test dx, dx
je 0x10013542
cmp dx, 0x22
jne 0x10013170
test bl, bl
je 0x100132b0
movzx edx, word [esi]
test edx, edx
je 0x10013552
add esi, 2
add eax, 2
xor ebx, ebx
cmp edx, 0x22
jne 0x100130f1
cmp edi, dword [ebp - 0x38]
jne 0x10013146
lea ecx, [ebp - 0x3c]
mov edx, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
call fcn.1000ebc0
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x100343c0]
mov ecx, dword [ebp - 0x3c]
lea eax, [esi - 2]
mov bl, 1
mov word [ecx + edi*2], 0x22
inc edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], edi
cmp word [esi - 2], 0
cmove esi, eax
movzx edx, word [esi]
jmp 0x100130e7
movzx ecx, dx
mov dword [ebp - 0x2c], edx
cmp ecx, 9
je 0x10013210
cmp ecx, 0x20
je 0x10013210
cmp ecx, 0x5c
jne 0x100132ba
movzx ecx, word [esi]
xor edx, edx
cmp cx, 0x5c
jne 0x100131b2
xor edx, edx
nop
movzx ecx, word [eax]
inc edx
add eax, 2
cmp cx, 0x5c
je 0x100131a0
add eax, 0xfffffffe
mov esi, eax
inc edx
cmp cx, 0x22
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edx
jne 0x100132ff
mov eax, edi
mov edi, edx
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 0x38]
shr edi, 1
mov dword [ebp - 0x6c], edi
sub eax, edx
cmp eax, edi
jae 0x10013333
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x3c]
push edi
call fcn.10033620
add esp, 4
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
movaps xmm2, xmmword [0x100343c0]
mov eax, dword [ebp - 0x2c]
jmp 0x100133bc
test bl, bl
jne 0x100132ba
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], edx
push edi
call fcn.1000f7e0
add esp, 4
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x44]
jne 0x10013251
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], 3
call fcn.10013700
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x100343c0]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], 0
jmp 0x10013293
add esi, 2
movzx edx, word [esi]
cmp edx, 0x20
je 0x10013290
cmp edx, 9
je 0x10013290
xor edi, edi
jmp 0x100130e7
movzx edx, word [esi]
mov bl, 1
jmp 0x100130e7
cmp edi, dword [ebp - 0x38]
jne 0x100132e6
lea ecx, [ebp - 0x3c]
mov edx, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
call fcn.1000ebc0
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x100343c0]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov word [ecx + edi*2], ax
inc edi
mov dword [ebp - 0x34], edi
movzx edx, word [esi]
jmp 0x100130e7
mov eax, dword [ebp - 0x38]
sub eax, edi
cmp eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
jae 0x1001334b
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x3c]
mov edx, edi
push eax
call fcn.10033620
add esp, 4
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
movaps xmm2, xmmword [0x100343c0]
mov eax, dword [ebp - 0x2c]
jmp 0x10013352
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x3c]
cmp ecx, 2
mov eax, ecx
jae 0x100133b9
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x24], edx
jmp 0x10013420
test eax, eax
je 0x100133ae
mov edx, dword [ebp - 0x24]
lea ecx, [edx + edi*2]
cmp eax, 0x10
mov dword [ebp - 0x24], edx
jae 0x1001336b
mov esi, eax
mov eax, ecx
mov ebx, dword [ebp - 0x28]
mov ecx, esi
mov esi, dword [ebp - 0x20]
jmp 0x100133a0
mov ebx, dword [ebp - 0x28]
mov edx, eax
and edx, 0xfffffff0
lea eax, [ecx + edx*2]
add ecx, 0x10
mov esi, edx
nop dword [eax + eax]
movups xmmword [ecx - 0x10], xmm2
movups xmmword [ecx], xmm2
add ecx, 0x20
add esi, 0xfffffff0
jne 0x10013380
cmp dword [ebp - 0x2c], edx
mov esi, dword [ebp - 0x20]
je 0x100133ab
mov ecx, dword [ebp - 0x2c]
and ecx, 0xf
nop dword [eax]
mov word [eax], 0x5c
add eax, 2
dec ecx
jne 0x100133a0
add edi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edi
movzx edx, word [esi]
jmp 0x100130e7
mov edi, dword [ebp - 0x4c]
lea ecx, [edx + edi*2]
cmp eax, 0x20
mov dword [ebp - 0x24], edx
jae 0x100133d6
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
mov eax, ecx
mov ecx, edx
jmp 0x10013410
mov edx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], edi
mov edi, edx
and edx, 0xfffffff0
lea eax, [ecx + edx*2]
add ecx, 0x10
mov esi, edx
nop dword [eax]
movups xmmword [ecx - 0x10], xmm2
movups xmmword [ecx], xmm2
add ecx, 0x20
add esi, 0xfffffff0
jne 0x100133f0
cmp edi, edx
mov edx, edi
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x4c]
je 0x1001341b
mov ecx, edx
and ecx, 0xf
mov word [eax], 0x5c
add eax, 2
dec ecx
jne 0x10013410
mov eax, dword [ebp - 0x2c]
add edi, edx
test al, 1
mov dword [ebp - 0x34], edi
je 0x100130e4
xor ecx, ecx
cmp word [esi], 0
setne dl
cmp edi, dword [ebp - 0x38]
jne 0x10013468
mov byte [ebp - 0x24], dl
lea ecx, [ebp - 0x3c]
mov edx, edi
mov dword [ebp - 0x10], 2
call fcn.1000ebc0
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x100343c0]
mov ebx, dword [ebp - 0x28]
movzx edx, byte [ebp - 0x24]
xor ecx, ecx
jmp 0x1001346b
mov eax, dword [ebp - 0x24]
mov cl, dl
mov dword [ebp - 0x24], eax
mov word [eax + edi*2], 0x22
lea esi, [esi + ecx*2]
jmp 0x100132f3
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x10], 0
call fcn.10012d70
movzx ecx, byte [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
cmp cl, 2
jne 0x100134eb
cmp al, 3
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 1
movlps qword [ebp - 0x38], xmm0
mov byte [ebp - 0x30], 1
jne 0x10013508
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], 7
push eax
mov dword [ebp - 0x20], edi
call dword [ecx]
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 4]
cmp dword [eax + 4], 0
je 0x100134dd
mov edx, dword [eax + 8]
mov ecx, dword [esi]
call fcn.10001030
mov ecx, esi
mov edx, 4
call fcn.10001030
jmp 0x10013508
movzx esi, word [ebp - 0x4f]
mov ch, byte [ebp - 0x4d]
mov edx, dword [ebp - 0x54]
mov word [ebp - 0x2f], si
mov byte [ebp - 0x2d], ch
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x30], cl
lea ecx, [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x10], 6
call fcn.10013700
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x3c]
movsd xmm1, qword [ebp - 0x34]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov ebx, dword [ebp - 0x44]
jmp 0x100135cb
test edi, edi
jne 0x10013552
test bl, bl
jne 0x10013552
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x40]
jmp 0x100135a2
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x5c]
push edi
call fcn.1000f7e0
add esp, 4
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebp - 0x44]
jne 0x10013584
lea ecx, [ebp - 0x48]
mov edx, esi
mov dword [ebp - 0x10], 4
call fcn.10013700
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x38], 0
je 0x100135b8
mov ecx, dword [ebp - 0x3c]
mov edx, 2
call fcn.10001030
cmp dword [ebp - 0x64], 0
je 0x100135cb
mov ecx, dword [ebp - 0x70]
mov edx, 2
call fcn.10001030
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x18]
shl esi, 4
add esi, edi
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword fs:[0], ecx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret