Function at 0x10005610
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d915
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1002a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x48], edi
jle 0x100057c8
mov edx, dword [ecx + edi*4]
mov eax, edx
mov dword [ebp - 0x50], edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10005670
push 0
push 0
push 0
sub eax, esi
push 0
sar eax, 1
inc eax
push eax
push edx
push 0x80
push 0xfde9
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
xorps xmm0, xmm0
test esi, esi
jne 0x100056c5
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
movq xmm0, qword [ebp - 0x30]
mov byte [ebp - 0x40], al
movups xmm1, xmmword [ebp - 0x40]
jmp 0x10005747
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
cmp esi, 0xf
ja 0x10005700
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push 0
push eax
call fcn.10008d70
add esp, 0xc
mov byte [ebp + esi - 0x28], 0
jmp 0x1000570e
push ecx
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push esi
call fcn.100052d0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push 0
push esi
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0x80
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movups xmm1, xmmword [ebp - 0x28]
movq xmm0, qword [ebp - 0x18]
movups xmmword [ebp - 0x40], xmm1
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 4], 1
mov eax, dword [0x1002b5c4]
cmp eax, dword [0x1002b5c8]
je 0x10005775
movups xmmword [eax], xmm1
mov ecx, 0xf
mov byte [ebp - 0x40], 0
movq qword [eax + 0x10], xmm0
add dword [0x1002b5c4], 0x18
jmp 0x10005782
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.100058b0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x100057ba
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100057b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005847
push ecx
push edx
call fcn.10007a5e
add esp, 8
inc edi
cmp edi, dword [ebp - 0x48]
jge 0x100057c8
mov ecx, dword [ebp - 0x44]
jmp 0x10005662
mov eax, dword [0x1002b550]
mov dword [ebp - 0x44], 0x100054d0
cmp eax, dword [0x1002b554]
je 0x100057eb
mov dword [eax], 0x100054d0
add dword [0x1002b550], 4
jmp 0x100057fa
lea ecx, [ebp - 0x44]
push ecx
push eax
mov ecx, 0x1002b54c
call fcn.10004580
mov eax, dword [0x1002b5a0]
mov dword [ebp - 0x44], 0x10005560
cmp eax, dword [0x1002b5a4]
je 0x1000581d
mov dword [eax], 0x10005560
add dword [0x1002b5a0], 4
jmp 0x1000582c
lea ecx, [ebp - 0x44]
push ecx
push eax
mov ecx, 0x1002b59c
call fcn.10004580
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.1000764c
mov esp, ebp
pop ebp
ret
call fcn.1000fad2
int3