Function at 0x100af970
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1c78
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10117d48]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x88], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, 0x10108a10
cmp eax, ebx
je 0x100af9b7
mov edx, eax
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100af9d0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.10008e50
push 0x10102f4c
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], ebx
call fcn.100ab450
add esp, 0xc
mov edi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], edi
jb 0x100afa1b
mov eax, dword [ebp - 0x48]
push eax
call fcn.1008efc3
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp byte [ebp + 0xc], bl
je 0x100afb07
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x84], ebx
call fcn.100aa4c0
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x88], eax
cmp eax, ebx
je 0x100afae4
cmp dword [ebp - 0x84], ebx
jle 0x100afae4
lea ecx, [ebp - 0x2c]
call fcn.100aa7e0
mov edi, 1
cmp dword [ebp - 0x84], edi
jle 0x100afab4
jmp 0x100afa80
lea ecx, [ebp - 0x2c]
call fcn.100a9fe0
test al, al
jne 0x100afa99
push 0x10103208
lea ecx, [ebp - 0x2c]
call fcn.100ab580
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + edi*4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100ab580
inc edi
cmp edi, dword [ebp - 0x84]
jl 0x100afa80
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.10005230
cmp dword [ebp - 0x18], 8
jb 0x100afcd5
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x100afccd
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x101190dc
mov ecx, esi
mov word [esi], dx
call fcn.10005230
jmp 0x100afcc4
lea ecx, [ebp - 0x64]
push 1
push ecx
call fcn.100af880
add esp, 8
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.100aa4c0
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.100b33b0
add esp, 0xc
push 1
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.100aa4c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.100ab670
mov edi, eax
cmp edi, ebx
jl 0x100afbda
lea ecx, [ebp - 0x64]
call fcn.100a9ff0
add eax, edi
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100ab800
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10005230
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], edi
jb 0x100afb92
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1008efc3
add esp, 4
push ebx
push 0x20
lea ecx, [ebp - 0x2c]
call fcn.100aa700
cmp eax, ebx
jl 0x100afc32
inc eax
push eax
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100ab800
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.10005230
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], edi
jb 0x100afc32
mov eax, dword [ebp - 0x48]
push eax
call fcn.1008efc3
add esp, 4
jmp 0x100afc32
push 1
push ebx
lea ecx, [ebp - 0x80]
call fcn.100aa4c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.100ab670
cmp eax, ebx
jne 0x100afc2d
lea ecx, [ebp - 0x80]
call fcn.100a9ff0
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100ab800
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.10005230
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 4
jb 0x100afc2d
mov edx, dword [ebp - 0x48]
push edx
call fcn.1008efc3
add esp, 4
mov edi, 8
lea ecx, [ebp - 0x2c]
call fcn.100aa800
push ebx
push 0x22
lea ecx, [ebp - 0x2c]
call fcn.100aa680
test al, al
je 0x100afc65
push ebx
push 0x22
lea ecx, [ebp - 0x2c]
call fcn.100aa6b0
test al, al
je 0x100afc65
push 0x10103204
lea ecx, [ebp - 0x2c]
call fcn.100aa730
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
xor eax, eax
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov ecx, esi
mov word [esi], ax
call fcn.10005230
cmp dword [ebp - 0x6c], edi
jb 0x100afc93
mov edx, dword [ebp - 0x80]
push edx
call fcn.1008efc3
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x50], edi
jb 0x100afcb4
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1008efc3
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x18], edi
jb 0x100afcd5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1008efc3
add esp, 4
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.1008efb4
mov esp, ebp
pop ebp
ret