Function at 0x5d9950
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5e5ad0
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 - 0x48], 0
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x40], 0
je 0x5d9eb0
movzx edi, word [eax]
test di, di
je 0x5d9eb0
xor esi, esi
mov edx, 2
xor ebx, ebx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x60], 0
test di, di
jne 0x5d9a00
jmp 0x5d9a63
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
movzx edi, word [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
mov word [edx + esi*2], di
inc esi
mov dword [ebp - 0x60], esi
movzx edi, word [eax]
test di, di
je 0x5d9a63
add eax, 2
cmp di, 9
je 0x5d9a30
movzx ecx, di
cmp ecx, 0x20
je 0x5d9a30
cmp ecx, 0x22
jne 0x5d9a35
movzx edi, word [eax]
xor bl, 1
test di, di
jne 0x5d9a00
jmp 0x5d9a63
test bl, 1
je 0x5d9a63
cmp esi, dword [ebp - 0x68]
jne 0x5d99f0
lea ecx, [ebp - 0x68]
mov edx, 0x612894
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x2c], di
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 2
call fcn.005d8160
jmp 0x5d99e0
add eax, 2
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x5d9a60
cmp ecx, 9
je 0x5d9a60
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x58]
push esi
mov dword [ebp - 0x70], eax
push eax
push ecx
call fcn.005dd120
add esp, 0xc
lea ecx, [ebp - 0x48]
mov edx, 0x612834
mov dword [ebp - 0x10], 6
call fcn.005d82d0
mov eax, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
movaps xmm2, xmmword [0x610d50]
mov edi, dword [ebp - 0x20]
xor esi, esi
mov edx, 2
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x30], 0
jmp 0x5d9afd
mov edx, dword [ebp - 0x34]
mov word [edx + esi*2], ax
inc esi
mov dword [ebp - 0x30], esi
mov eax, ebx
mov ebx, eax
movzx eax, word [edi]
test eax, eax
je 0x5d9f4b
mov ecx, edi
add edi, 2
cmp eax, 0x21
jg 0x5d9be0
cmp eax, 9
je 0x5d9b26
cmp eax, 0x20
jne 0x5d9c80
test bl, 1
jne 0x5d9c80
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], 3
push esi
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x24], bl
call fcn.005dd120
movzx edx, byte [ebp - 0x24]
movaps xmm2, xmmword [0x610d50]
mov edi, dword [ebp - 0x20]
add esp, 0xc
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebp - 0x48]
jne 0x5d9b8e
lea ecx, [ebp - 0x48]
mov edx, 0x612844
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x2c], esi
call fcn.005d82d0
mov esi, dword [ebp - 0x2c]
movzx edx, byte [ebp - 0x24]
movaps xmm2, xmmword [0x610d50]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
mov ecx, esi
inc esi
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], 0
jmp 0x5d9bc3
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x5d9bc0
cmp eax, 9
je 0x5d9bc0
mov eax, edx
mov edx, dword [ebp - 0x28]
xor esi, esi
jmp 0x5d9afd
cmp eax, 0x22
je 0x5d9cc2
cmp eax, 0x5c
jne 0x5d9c80
movzx eax, word [edi]
mov byte [ebp - 0x24], bl
mov ebx, ecx
xor ecx, ecx
cmp ax, 0x5c
jne 0x5d9c1f
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 0x5d9c10
lea ebx, [ecx + 1]
cmp ax, 0x22
mov dword [ebp - 0x3c], ebx
jne 0x5d9ceb
mov eax, dword [ebp - 0x38]
shr ebx, 1
mov dword [ebp - 0x6c], ecx
sub eax, esi
cmp eax, ebx
mov eax, ebx
movzx ebx, byte [ebp - 0x24]
mov dword [ebp - 0x5c], eax
jae 0x5d9d2f
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x38]
mov edx, esi
push 2
push 2
push eax
mov dword [ebp - 0x20], edi
call fcn.005f5c90
movzx ebx, byte [ebp - 0x24]
movaps xmm2, xmmword [0x610d50]
mov edi, dword [ebp - 0x20]
add esp, 0xc
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
jmp 0x5d9d3b
cmp esi, dword [ebp - 0x38]
jne 0x5d9af0
lea ecx, [ebp - 0x38]
mov edx, 0x612874
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
call fcn.005d8160
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
movzx ebx, byte [ebp - 0x24]
movaps xmm2, xmmword [0x610d50]
mov edi, dword [ebp - 0x20]
jmp 0x5d9af0
mov al, 1
test bl, 1
je 0x5d9afd
mov dword [ebp - 0x28], ecx
movzx ecx, word [edi]
cmp ecx, 0x22
je 0x5d9daf
xor eax, eax
test ecx, ecx
jne 0x5d9afd
jmp 0x5d9f4b
mov eax, dword [ebp - 0x38]
sub eax, esi
cmp eax, ebx
mov eax, ebx
movzx ebx, byte [ebp - 0x24]
jae 0x5d9d4f
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x38]
mov edx, esi
push 2
push 2
push eax
mov dword [ebp - 0x20], edi
call fcn.005f5c90
movzx ebx, byte [ebp - 0x24]
movaps xmm2, xmmword [0x610d50]
mov edi, dword [ebp - 0x20]
add esp, 0xc
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
jmp 0x5d9d57
mov eax, dword [ebp - 0x3c]
cmp eax, 2
jb 0x5d9e4d
mov edx, dword [ebp - 0x34]
cmp eax, 0x20
jae 0x5d9e04
mov eax, dword [ebp - 0x5c]
jmp 0x5d9e40
test eax, eax
je 0x5d9af8
cmp eax, 0x10
jb 0x5d9da0
mov ecx, eax
mov dword [ebp - 0x28], edx
lea edx, [edx + esi*2 + 0x10]
and eax, 0xf
and ecx, 0xfffffff0
add esi, ecx
mov dword [ebp - 0x2c], esi
mov esi, ecx
nop word cs:[eax + eax]
nop dword [eax]
movups xmmword [edx - 0x10], xmm2
movups xmmword [edx], xmm2
add edx, 0x20
add esi, 0xfffffff0
jne 0x5d9d80
cmp dword [ebp - 0x3c], ecx
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
je 0x5d9af8
nop
mov word [edx + esi*2], 0x5c
inc esi
dec eax
jne 0x5d9da0
jmp 0x5d9af8
cmp esi, dword [ebp - 0x38]
jne 0x5d9de2
lea ecx, [ebp - 0x38]
mov edx, 0x612864
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x2c], esi
call fcn.005d8160
mov esi, dword [ebp - 0x2c]
movzx ebx, byte [ebp - 0x24]
movaps xmm2, xmmword [0x610d50]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov word [edx + esi*2], 0x22
inc esi
mov dword [ebp - 0x30], esi
cmp word [eax + 2], 0
lea eax, [eax + 4]
cmovne edi, eax
mov eax, ebx
jmp 0x5d9afd
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], edx
lea edx, [edx + esi*2 + 0x10]
mov ecx, eax
and eax, 0xf
and ecx, 0xfffffff0
add esi, ecx
mov dword [ebp - 0x2c], esi
mov esi, ecx
nop dword [eax]
movups xmmword [edx - 0x10], xmm2
movups xmmword [edx], xmm2
add edx, 0x20
add esi, 0xfffffff0
jne 0x5d9e20
cmp dword [ebp - 0x5c], ecx
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
je 0x5d9e4a
nop word [eax + eax]
mov word [edx + esi*2], 0x5c
inc esi
dec eax
jne 0x5d9e40
mov ecx, dword [ebp - 0x6c]
test cl, 1
mov eax, ebx
mov dword [ebp - 0x30], esi
jne 0x5d9afd
xor eax, eax
cmp word [edi], 0
setne cl
cmp esi, dword [ebp - 0x38]
jne 0x5d9e9d
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x38]
mov edx, 0x612854
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], esi
call fcn.005d8160
movzx ecx, byte [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
movzx ebx, byte [ebp - 0x24]
movaps xmm2, xmmword [0x610d50]
mov edi, dword [ebp - 0x20]
xor eax, eax
mov edx, dword [ebp - 0x34]
mov al, cl
lea edi, [edi + eax*2]
mov word [edx + esi*2], 0x22
jmp 0x5d9af7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], 0
call fcn.005e2b70
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov eax, esi
neg eax
jno 0x5d9fe3
cmp dl, 3
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 1
jne 0x5d9f38
mov eax, dword [ecx]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
test eax, eax
je 0x5d9f08
mov dword [ebp - 0x10], 7
push dword [ebp - 0x20]
call eax
add esp, 4
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
test eax, eax
je 0x5d9f22
push dword [edx + 8]
push eax
push ecx
call fcn.0040cc60
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x3c]
call fcn.0040cc60
add esp, 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
jmp 0x5d9ff2
test esi, esi
jne 0x5d9f58
test bl, 1
je 0x5da04d
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], 3
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005dd120
add esp, 0xc
mov ebx, dword [ebp - 0x40]
cmp ebx, dword [ebp - 0x48]
jne 0x5d9f92
lea ecx, [ebp - 0x48]
mov edx, 0x612884
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x20], ebx
call fcn.005d82d0
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
mov eax, ebx
inc ebx
shl eax, 4
movsd qword [esi + eax + 8], xmm1
movsd qword [esi + eax], xmm0
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
test eax, eax
je 0x5d9fca
add eax, eax
push 2
push eax
push dword [ebp - 0x34]
call fcn.0040cc60
add esp, 0xc
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x5da028
add eax, eax
push 2
push eax
push dword [ebp - 0x70]
call fcn.0040cc60
add esp, 0xc
jmp 0x5da028
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x48]
mov edx, 0x6128a4
mov dword [ebp - 0x10], 1
call fcn.005d82d0
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov ebx, 1
mov dword [esi], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
shl ebx, 4
add ebx, esi
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword fs:[0], ecx
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
test eax, eax
jne 0x5d9fba
jmp 0x5d9fca