Function at 0x5a2680
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
call sub.KERNEL32.dll_GetCommandLineW
test eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 0
je 0x5a2af7
movzx esi, word [eax]
test si, si
je 0x5a2af7
add eax, 2
xor edx, edx
mov ecx, 2
xor ebx, ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], 0
jmp 0x5a2704
mov word [ecx + edx*2], si
inc edx
mov dword [esp + 0x54], edx
movzx esi, word [edi]
lea eax, [edi + 2]
test si, si
je 0x5a2753
mov edi, eax
cmp si, 9
je 0x5a2730
movzx eax, si
cmp eax, 0x20
je 0x5a2730
cmp eax, 0x22
jne 0x5a2735
not bl
and bl, 1
movzx esi, word [edi]
lea eax, [edi + 2]
test si, si
jne 0x5a2704
jmp 0x5a2753
test bl, 1
je 0x5a2753
cmp edx, dword [esp + 0x4c]
jne 0x5a26f0
lea ecx, [esp + 0x4c]
call fcn.00589f10
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
jmp 0x5a26f0
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x5a2750
cmp eax, 9
je 0x5a2750
lea eax, [esp + 0x3c]
push edx
push dword [esp + 0x54]
push eax
call fcn.005ae290
add esp, 0xc
lea ecx, [esp + 0x10]
xor edx, edx
call fcn.00589d30
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
mov dword [esp + 4], 0
mov dword [esp + 8], 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], 0
movzx ebx, word [edi]
test bx, bx
je 0x5a2ba8
xor edx, edx
mov ecx, 2
mov dword [esp], 0
jmp 0x5a280b
test byte [esp], 1
jne 0x5a2972
movzx ebx, word [esi]
mov al, 1
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
test bx, bx
mov edi, esi
je 0x5a2bb1
movzx eax, bx
lea esi, [edi + 2]
cmp eax, 0x21
jg 0x5a28b0
cmp eax, 9
je 0x5a2828
cmp eax, 0x20
jne 0x5a2920
test byte [esp], 1
jne 0x5a2920
mov edi, dword [esp + 8]
push edx
push edi
lea eax, [esp + 0x44]
push eax
call fcn.005ae290
add esp, 0xc
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x10]
jne 0x5a285c
lea ecx, [esp + 0x10]
call fcn.00589d30
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], 0
jmp 0x5a2893
add esi, 2
movzx ebx, word [esi]
cmp ebx, 0x20
je 0x5a2890
cmp ebx, 9
je 0x5a2890
mov ecx, edi
xor edx, edx
jmp 0x5a2800
cmp eax, 0x22
je 0x5a27e0
cmp eax, 0x5c
jne 0x5a2920
movzx eax, word [esi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x5a28df
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [edi + ebx*2 + 4]
add esi, 2
inc ebx
cmp ax, 0x5c
je 0x5a28d0
inc ebx
cmp ax, 0x22
jne 0x5a294a
mov eax, dword [esp + 4]
mov edi, ebx
shr edi, 1
sub eax, edx
cmp eax, edi
mov eax, edi
jae 0x5a2992
mov edi, eax
lea ecx, [esp + 4]
push eax
call fcn.0058a170
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, edi
jmp 0x5a2999
cmp edx, dword [esp + 4]
jne 0x5a2933
lea ecx, [esp + 4]
call fcn.00589f10
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov word [eax + edx*2], bx
mov ecx, eax
inc edx
mov dword [esp + 0xc], edx
movzx ebx, word [esi]
jmp 0x5a2800
mov eax, dword [esp + 4]
sub eax, edx
cmp eax, ebx
jae 0x5a2a0f
lea ecx, [esp + 4]
push ebx
call fcn.0058a170
add esp, 4
mov edi, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x5a2a19
movzx ebx, word [esi]
cmp ebx, 0x22
je 0x5a2ac3
test ebx, ebx
je 0x5a2bb1
mov dword [esp], 0
jmp 0x5a2800
mov edi, ecx
cmp ebx, 2
jb 0x5a29fc
mov edi, dword [esp + 8]
cmp ebx, 0x20
jb 0x5a29f0
mov dword [esp + 0x20], edi
mov edi, edx
mov ecx, eax
movaps xmm0, xmmword [0x6e0ef0]
mov dword [esp + 0x58], eax
and eax, 0xf
mov edx, dword [esp + 0x20]
and ecx, 0xfffffff0
lea edx, [edx + edi*2 + 0x10]
add edi, ecx
mov dword [esp + 0x1c], edi
mov edi, ecx
nop dword [eax + eax]
movups xmmword [edx - 0x10], xmm0
movups xmmword [edx], xmm0
add edx, 0x20
add edi, 0xfffffff0
jne 0x5a29d0
cmp dword [esp + 0x58], ecx
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
je 0x5a29fc
nop dword [eax]
mov ecx, edx
mov word [edi + edx*2], 0x5c
inc edx
dec eax
jne 0x5a29f0
test bl, 1
mov dword [esp + 0xc], edx
jne 0x5a2a25
movzx ebx, word [esi]
mov ecx, edi
jmp 0x5a2800
mov edi, ecx
test ebx, ebx
je 0x5a2abc
cmp ebx, 0x10
jae 0x5a2a5f
mov eax, ebx
jmp 0x5a2ab0
xor ebx, ebx
cmp word [esi], 0
setne byte [esp + 0x20]
cmp edx, dword [esp + 4]
jne 0x5a2a43
lea ecx, [esp + 4]
call fcn.00589f10
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x20]
mov edi, dword [esp + 8]
mov bl, al
mov word [edi + edx*2], 0x22
mov ecx, edi
inc edx
lea esi, [esi + ebx*2]
jmp 0x5a293e
mov dword [esp + 0x20], edi
mov edi, edx
mov ecx, ebx
movaps xmm0, xmmword [0x6e0ef0]
mov eax, ebx
mov edx, dword [esp + 0x20]
and ecx, 0xfffffff0
and eax, 0xf
lea edx, [edx + edi*2 + 0x10]
add edi, ecx
mov dword [esp + 0x1c], edi
mov edi, ecx
nop word cs:[eax + eax]
movups xmmword [edx - 0x10], xmm0
movups xmmword [edx], xmm0
add edx, 0x20
add edi, 0xfffffff0
jne 0x5a2a90
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp ebx, ecx
je 0x5a2abc
nop dword [eax + eax]
mov ecx, edx
mov word [edi + edx*2], 0x5c
inc edx
dec eax
jne 0x5a2ab0
mov ecx, edi
jmp 0x5a293e
cmp edx, dword [esp + 4]
jne 0x5a2ad6
lea ecx, [esp + 4]
call fcn.00589f10
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov word [eax + edx*2], 0x22
inc edx
mov ecx, eax
lea eax, [edi + 4]
mov dword [esp + 0xc], edx
cmp word [edi + 2], 0
cmovne esi, eax
jmp 0x5a2942
lea ecx, [esp + 0x3c]
call fcn.005bf760
mov edi, dword [esp + 0x3c]
cmp edi, 0x80000000
jne 0x5a2b63
movaps xmm0, xmmword [0x6e0f00]
xor edi, edi
cmp byte [esp + 0x40], 3
mov dword [esp], 1
movaps xmmword [esp + 0x20], xmm0
jne 0x5a2b75
mov ebx, dword [esp + 0x44]
mov esi, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
push ecx
call eax
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x5a2b54
push dword [esi + 8]
push eax
push dword [esp + 0x24]
call fcn.004ed020
add esp, 0xc
push 4
push 0xc
push ebx
call fcn.004ed020
add esp, 0xc
jmp 0x5a2b75
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x44]
mov dword [esp], eax
movaps xmmword [esp + 0x20], xmm0
lea ecx, [esp + 0x10]
xor edx, edx
call fcn.00589d30
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp]
movaps xmm0, xmmword [esp + 0x20]
mov eax, esi
inc esi
shl eax, 4
mov dword [ebx + eax], edi
mov dword [ebx + eax + 4], ecx
movlps qword [ebx + eax + 8], xmm0
mov edi, dword [esp + 0x10]
jmp 0x5a2bfa
xor edx, edx
mov dword [esp], 0
test edx, edx
jne 0x5a2c15
mov eax, dword [esp]
and al, 1
jne 0x5a2c15
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x5a2be1
add eax, eax
push 2
push eax
push dword [esp + 0x10]
call fcn.004ed020
add esp, 0xc
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5a2bfa
add eax, eax
push 2
push eax
push dword [esp + 0x58]
call fcn.004ed020
add esp, 0xc
mov eax, dword [ebp + 8]
shl esi, 4
add esi, ebx
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push edx
push dword [esp + 0xc]
lea eax, [esp + 0x44]
push eax
call fcn.005ae290
add esp, 0xc
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x10]
jne 0x5a2c40
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00589d30
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
mov eax, esi
inc esi
shl eax, 4
movsd qword [ebx + eax + 8], xmm1
movsd qword [ebx + eax], xmm0
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x5a2bd0
jmp 0x5a2be1