Function at 0x10006fd4
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ecx + 0x42c]
mov eax, dword [esi + 8]
inc eax
inc eax
cmp eax, dword [esi + 4]
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
jbe 0x1000701e
push eax
push esi
call fcn.10006db8
test eax, eax
jne 0x1000701e
push dword [ebp + 4]
lea ecx, [ebp - 0x3c]
push 0x8007000e
call fcn.10004830
push 0x1000ecff
lea eax, [ebp - 0x3c]
push eax
call sub.KERNEL32.dll_GetCommandLineA
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.1000ec85
mov esi, dword [ebp - 0x14]
test esi, esi
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 0
je 0x10007000
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov word [esi], ax
and word [esi + 2], 0
or dword [esi + 4], 0xffffffff
or dword [esi + 8], 0xffffffff
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
test al, al
mov ebx, dword [ebp + 0xc]
je 0x10007065
inc dword [ebx]
or word [esi + 2], 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
test al, al
je 0x1000711c
mov eax, dword [ebp - 8]
and dword [ebp + 8], 0
cmp dword [eax + 0x65c], 0
jbe 0x1000711c
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x100070a9
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x65c]
jb 0x10007088
jmp 0x1000711c
or word [esi + 2], 2
mov eax, dword [eax + 0x65c]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
mov byte [ebp - 1], 1
neg ecx
or ecx, eax
push ecx
call fcn.1000fe60
test eax, eax
pop ecx
mov dword [ebp + 0xc], eax
je 0x10007000
mov eax, dword [ebp - 8]
and dword [ebp + 8], 0
cmp dword [eax + 0x65c], 0
jbe 0x1000710a
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 8]
inc ecx
cmp ecx, dword [eax + 0x65c]
mov dword [ebp + 8], ecx
jb 0x100070e8
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0
push dword [ebp - 0xc]
call fcn.1001839e
mov dword [esi + 4], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test al, al
je 0x10007172
mov eax, dword [edi]
and dword [ebp + 8], 0
mov ecx, edi
call dword [eax + 0x20]
mov ecx, dword [ebp - 8]
mov esi, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push edi
call fcn.10006fd4
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add dword [ebx], edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
shl ecx, 4
add ecx, dword [eax]
cmp byte [ebp - 1], 0
mov dword [ecx + 0xc], edx
je 0x10007165
shl esi, 4
add esi, dword [eax]
mov ecx, esi
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test al, al
je 0x100071a9
mov eax, dword [edi]
and dword [ebp + 8], 0
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [ebp - 8]
lea eax, [ebp + 8]
push eax
push edi
call fcn.10006fd4
mov ecx, dword [ebp + 8]
add dword [ebx], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
shl ecx, 4
mov dword [ecx + edx + 8], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 8