Function at 0x10004bd0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061060
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov word [ebp - 0x5e], dx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x64]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
mov edi, eax
mov dword [ebp - 0x5c], edi
cmp dword [ebp - 0x64], esi
jle 0x10004cdd
mov edx, dword [edi + esi*4]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
je 0x10004c63
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004c51
sub eax, edi
mov edi, dword [ebp - 0x5c]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x40]
call fcn.10018f90
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.100045a0
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.10017820
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x10004c9e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1001b3d0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x10004cca
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1001b3d0
inc esi
cmp esi, dword [ebp - 0x64]
jl 0x10004c30
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x38
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.1002c460
add esp, 0xc
mov dword [ebp - 0xb0], 0x3c
mov dword [ebp - 0xac], 0x40
cmp dword [ebx + 0x14], 8
jb 0x10004d15
mov eax, dword [ebx]
jmp 0x10004d17
mov eax, ebx
mov dword [ebp - 0xa0], eax
mov esi, 7
movzx eax, word [ebp - 0x5e]
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x70]
mov ecx, edi
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x5c], eax
cmp eax, 1
jbe 0x10004da8
lea esi, [ebx + 0x18]
lea edi, [eax - 1]
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
call fcn.10019270
push 1
push 0x1006cdb0
lea ecx, [ebp - 0x28]
call fcn.10017ca0
add esi, 0x18
sub edi, 1
jne 0x10004d66
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x70]
cmp eax, 1
jbe 0x10004da8
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x14]
and esi, dword [ebp - 0x78]
cmp eax, 8
jb 0x10004dd1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1001b3d0
push dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x14], 7
push ecx
mov edx, edi
mov dword [ebp - 0x18], 0
mov ecx, ebx
mov word [ebp - 0x28], ax
call fcn.1001f8a0
mov ecx, dword [ebp - 0x68]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push ebx
call fcn.1001b130
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret