Function at 0x5d0490
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c506
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x80], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x90], ecx
test ecx, ecx
jne 0x5d05b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.005c0b70
add esp, 8
push 0x1b
push str.CommandLineToArgvW_failed:
push 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.005a5ba0
mov ecx, 0x7460c8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x60]
push eax
movq qword [ebp - 0x50], xmm0
call fcn.005a3660
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x5d0576
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5d056c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d0b1a
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x5d05aa
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5d05a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d0b1a
push edx
push ecx
call fcn.0065d157
add esp, 8
xor al, al
jmp 0x5d0aff
mov esi, dword [edi]
xor eax, eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x8c], eax
jle 0x5d0af6
push dword [ecx + eax*4]
lea eax, [ebp - 0x48]
push eax
call fcn.005be990
add esp, 8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 1
cmp eax, 1
jbe 0x5d0858
test eax, eax
je 0x5d0b1f
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
cmp edi, 0x10
cmovae eax, ecx
cmp byte [eax], 0x2d
jne 0x5d0614
cmp edi, 0x10
lea eax, [ebp - 0x48]
cmovae eax, ecx
cmp byte [eax + 1], 0x2d
je 0x5d0626
cmp edi, 0x10
lea eax, [ebp - 0x48]
cmovae eax, ecx
cmp byte [eax], 0x2f
jne 0x5d0855
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.005d31d0
mov esi, dword [ebp - 0x64]
cmp byte [esi + 0xd], 0
jne 0x5d0673
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x5d064b
mov edx, dword [esi + 0x10]
push dword [esi + 0x20]
cmp edi, 0x10
lea eax, [ebp - 0x48]
push edx
cmovae eax, dword [ebp - 0x48]
push dword [ebp - 0x38]
push eax
call fcn.005cd2a0
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x5d0673
mov edi, dword [ebp - 0x80]
mov eax, dword [edi]
jmp 0x5d067a
mov edi, dword [ebp - 0x80]
mov esi, dword [edi]
mov eax, esi
cmp esi, eax
jne 0x5d0ac4
push 0x20
mov dword [ebp - 0x94], 0
call fcn.0065d127
mov esi, eax
add esp, 4
mov dword [ebp - 0x98], esi
mov dword [esi], esi
mov dword [esi + 4], esi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
call fcn.005acee0
push 0x20
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0065d127
add esp, 4
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x98], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.005d3260
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
mov esi, dword [eax]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x5d0784
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi]
mov dword [ebp - 0x7c], eax
cmp ecx, 0x10
jb 0x5d075b
mov eax, dword [edi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x5d0751
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d0b1a
mov eax, edx
push ecx
push eax
call fcn.0065d157
add esp, 8
push 0x20
push edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
call fcn.0065d157
mov eax, dword [ebp - 0x7c]
add esp, 8
mov edi, eax
test eax, eax
jne 0x5d0722
mov ecx, dword [ebp - 0x18]
push 0x20
push ecx
call fcn.0065d157
mov edx, dword [ebp - 0x1c]
add esp, 8
cmp edx, 0x10
jb 0x5d07c3
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5d07b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d0b1a
push edx
push ecx
call fcn.0065d157
add esp, 8
mov ecx, dword [ebp - 0x84]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x5d0845
nop dword [eax]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi]
mov dword [ebp - 0x7c], eax
cmp ecx, 0x10
jb 0x5d0819
mov eax, dword [edi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x5d080f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d0b1a
mov eax, edx
push ecx
push eax
call fcn.0065d157
add esp, 8
push 0x20
push edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
call fcn.0065d157
mov eax, dword [ebp - 0x7c]
add esp, 8
mov edi, eax
test eax, eax
jne 0x5d07e0
mov ecx, dword [ebp - 0x84]
push 0x20
push ecx
call fcn.0065d157
add esp, 8
jmp 0x5d0ac4
mov edi, dword [ebp - 0x80]
cmp esi, dword [edi]
jne 0x5d0a60
push 0x20
mov dword [ebp - 0x9c], 0
call fcn.0065d127
mov esi, eax
mov dword [ebp - 0xa0], esi
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
movups xmm0, xmmword [ebp - 0x60]
mov byte [ebp - 0x60], 0
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
push 0x20
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0065d127
add esp, 8
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xa0], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xb8]
mov ecx, edi
push eax
call fcn.005d3260
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 6
mov esi, dword [eax]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x5d0992
nop word [eax + eax]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi]
mov dword [ebp - 0x7c], eax
cmp ecx, 0x10
jb 0x5d0969
mov eax, dword [edi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x5d095f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d0b1a
mov eax, edx
push ecx
push eax
call fcn.0065d157
add esp, 8
push 0x20
push edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
call fcn.0065d157
mov eax, dword [ebp - 0x7c]
add esp, 8
mov edi, eax
test eax, eax
jne 0x5d0930
mov ecx, dword [ebp - 0x18]
push 0x20
push ecx
call fcn.0065d157
mov edx, dword [ebp - 0x1c]
add esp, 8
cmp edx, 0x10
jb 0x5d09d1
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5d09c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d0b1a
push edx
push ecx
call fcn.0065d157
add esp, 8
mov ecx, dword [ebp - 0x84]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x5d0a55
nop word [eax + eax]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi]
mov dword [ebp - 0x7c], eax
cmp ecx, 0x10
jb 0x5d0a29
mov eax, dword [edi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x5d0a1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d0b1a
mov eax, edx
push ecx
push eax
call fcn.0065d157
add esp, 8
push 0x20
push edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
call fcn.0065d157
mov eax, dword [ebp - 0x7c]
add esp, 8
mov edi, eax
test eax, eax
jne 0x5d09f0
mov ecx, dword [ebp - 0x84]
push 0x20
push ecx
call fcn.0065d157
add esp, 8
cmp dword [esi + 0x2c], 0x7ffffff
lea eax, [esi + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
je 0x5d0b24
mov dword [ebp - 0xa8], eax
push 0x20
mov byte [ebp - 4], 9
mov dword [ebp - 0xa4], 0
call fcn.0065d127
mov edi, eax
add esp, 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0xa4], edi
lea ecx, [edi + 8]
push eax
call fcn.005acee0
mov ecx, dword [ebp - 0x7c]
inc dword [esi + 0x2c]
mov dword [ebp - 0xa4], 0
mov eax, dword [ecx + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ecx + 4], edi
mov dword [eax], edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.00448860
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0x8c]
jge 0x5d0af6
mov edi, dword [ebp - 0x80]
jmp 0x5d05c7
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
call fcn.00663c8b
call fcn.00448c00
push str.list_too_long
call fcn.0065ee8c
int3