Function at 0x1006a7fd
Capabilities:
Accept command line arguments

Disassembly:
push 0x60
mov eax, 0x100a3308
call fcn.10094bba
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x48], esi
je 0x1006abd1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10026b8b
mov dword [ebp - 4], esi
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x28], esi
call dword [eax]
test eax, eax
je 0x1006ab72
mov ecx, dword [edi + 0x14]
push dword [ebp - 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
push esi
push 0x100c4560
push 0x100c4218
push esi
push eax
call fcn.10094655
mov ebx, eax
add esp, 0x14
cmp ebx, esi
je 0x1006ab5f
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x20], esi
cmp eax, esi
jbe 0x1006a9d1
mov dword [ebp - 0x24], esi
cmp esi, eax
jae 0x1006abff
mov eax, dword [ebx + 0x30]
add eax, dword [ebp - 0x24]
lea esi, [ebp - 0x1c]
call fcn.10039f3f
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
push eax
push 0x80
push 3
push 7
push SysReAllocStringLen
mov byte [ebp - 4], 4
push dword [ebp - 0x1c]
lea edi, [ebp - 0x44]
call fcn.1002b057
mov esi, 0x80070020
cmp eax, esi
jne 0x1006a90d
mov esi, dword [ebp - 0x1c]
push esi
push 0x10015c98
lea eax, [ebp - 0x18]
push eax
call fcn.10084899
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
add esp, 0xc
push dword [ebp - 0x18]
push 4
call dword [eax + 4]
jmp 0x1006a99a
xor edi, edi
cmp dword [ebp - 0x44], edi
je 0x1006a920
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x34]
jae 0x1006abff
mov eax, dword [ebx + 0x30]
add eax, dword [ebp - 0x24]
cmp byte [eax + 4], 0
jne 0x1006a974
push edi
push 0x80
push 3
push 7
push 0x10000
push dword [ebp - 0x1c]
lea edi, [ebp - 0x44]
call fcn.1002b057
cmp eax, esi
jne 0x1006a961
mov esi, dword [ebp - 0x1c]
push esi
push 0x10015d50
jmp 0x1006a8ec
cmp dword [ebp - 0x44], 0
je 0x1006a974
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x44], 0
mov esi, dword [ebp - 0x1c]
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.10028158
mov byte [ebp - 4], 5
push dword [eax]
lea ecx, [ebp - 0x54]
call fcn.1007320e
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.10084c29
cmp dword [ebp - 0x44], 0
je 0x1006a9ad
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x44], 0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.10084c29
inc dword [ebp - 0x20]
mov eax, dword [ebx + 0x34]
add dword [ebp - 0x24], 0x28
cmp dword [ebp - 0x20], eax
jb 0x1006a8a6
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebx + 4]
mov dword [ebp - 0x20], esi
cmp eax, esi
jbe 0x1006aad0
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jae 0x1006abff
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.10028158
mov byte [ebp - 4], 6
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x50], esi
jbe 0x1006aa8a
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
call fcn.10084bc8
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 7
cmp eax, dword [ebp - 0x50]
jae 0x1006abff
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + eax*4]
sub eax, 0x10
call fcn.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x34]
push eax
call fcn.1005f6c0
neg eax
sbb al, al
inc al
mov byte [ebp - 0x11], al
lea eax, [esi - 0x10]
call fcn.10084c29
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.10084c29
cmp byte [ebp - 0x11], 0
jne 0x1006abd9
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x50]
jb 0x1006aa13
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov dword [ebp - 0x30], eax
call fcn.10084bc8
mov ecx, dword [edi + 0x48]
lea esi, [eax + 0x10]
mov dword [ebp - 0x3c], esi
push esi
mov byte [ebp - 4], 9
call fcn.1007320e
lea eax, [esi - 0x10]
call fcn.10084c29
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10084c29
inc dword [ebp - 0x20]
mov eax, dword [ebx + 4]
xor esi, esi
cmp dword [ebp - 0x20], eax
jb 0x1006a9df
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x1006ab0d
cmp esi, eax
jae 0x1006abff
mov eax, dword [ebx + 0x10]
lea eax, [eax + esi*4]
mov eax, dword [eax]
push ecx
mov dword [ebp - 0x3c], esp
sub eax, 0x10
mov dword [ebp - 0x3c], esp
call fcn.10084bc8
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
mov ecx, dword [edi + 0x48]
call fcn.10052bca
mov eax, dword [ebx + 0x14]
inc esi
cmp esi, eax
jb 0x1006aadf
mov eax, dword [ebx + 0x24]
and dword [ebp - 0x24], 0
test eax, eax
je 0x1006ab51
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jae 0x1006abff
mov eax, dword [ebx + 0x20]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x3c], esp
mov esi, esp
call fcn.10084bc8
add eax, 0x10
mov dword [esi], eax
mov esi, dword [edi + 0x48]
call fcn.10052d1a
inc dword [ebp - 0x24]
mov eax, dword [ebx + 0x24]
cmp dword [ebp - 0x24], eax
jb 0x1006ab18
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.10073316
xor esi, esi
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
inc dword [ebp - 0x28]
call dword [eax]
cmp dword [ebp - 0x28], eax
jb 0x1006a853
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
push dword [edi + 0x48]
mov ebx, eax
call fcn.10052c54
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.100271b1
mov eax, dword [eax]
mov ebx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084c29
test ebx, ebx
je 0x1006abb6
call esi
push eax
call fcn.100493de
push dword [edi + 0x48]
mov ebx, eax
call fcn.10052c54
mov esi, dword [edi + 0x48]
call fcn.10052b66
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [ebp - 0x6c]
call fcn.10026ee6
call fcn.10094ca6
ret 4
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push 0x10015e08
push eax
call fcn.10084899
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
add esp, 0xc
push dword [ebp - 0x18]
push 4
call dword [eax + 4]
jmp 0x1006aab3
push 0x80070057
call fcn.10084b9b
int3