Function at 0x10069067
Capabilities:
Accept command line arguments

Disassembly:
push 0x60
mov eax, 0x1009fe6f
call fcn.1009220a
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x48], esi
je 0x1006943b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.100270b4
mov dword [ebp - 4], esi
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
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 0x100693dc
mov ecx, dword [edi + 0x14]
push dword [ebp - 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
push esi
push 0x100c07d0
push 0x100c0488
push esi
push eax
call fcn.10091ce6
mov ebx, eax
add esp, 0x14
cmp ebx, esi
je 0x100693c9
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 0x1006923b
mov dword [ebp - 0x24], esi
cmp esi, eax
jae 0x10069469
mov eax, dword [ebx + 0x30]
add eax, dword [ebp - 0x24]
lea esi, [ebp - 0x1c]
call fcn.10039afc
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.1002b3ee
mov esi, 0x80070020
cmp eax, esi
jne 0x10069177
mov esi, dword [ebp - 0x1c]
push esi
push 0x10015fb0
lea eax, [ebp - 0x18]
push eax
call fcn.100827bb
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 0x10069204
xor edi, edi
cmp dword [ebp - 0x44], edi
je 0x1006918a
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 0x10069469
mov eax, dword [ebx + 0x30]
add eax, dword [ebp - 0x24]
cmp byte [eax + 4], 0
jne 0x100691de
push edi
push 0x80
push 3
push 7
push 0x10000
push dword [ebp - 0x1c]
lea edi, [ebp - 0x44]
call fcn.1002b3ee
cmp eax, esi
jne 0x100691cb
mov esi, dword [ebp - 0x1c]
push esi
push 0x10016068
jmp 0x10069156
cmp dword [ebp - 0x44], 0
je 0x100691de
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.10028643
mov byte [ebp - 4], 5
push dword [eax]
lea ecx, [ebp - 0x54]
call fcn.100719e8
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.10082afb
cmp dword [ebp - 0x44], 0
je 0x10069217
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.10082afb
inc dword [ebp - 0x20]
mov eax, dword [ebx + 0x34]
add dword [ebp - 0x24], 0x28
cmp dword [ebp - 0x20], eax
jb 0x10069110
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebx + 4]
mov dword [ebp - 0x20], esi
cmp eax, esi
jbe 0x1006933a
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jae 0x10069469
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.10028643
mov byte [ebp - 4], 6
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x50], esi
jbe 0x100692f4
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
call fcn.10082a9f
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 7
cmp eax, dword [ebp - 0x50]
jae 0x10069469
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + eax*4]
sub eax, 0x10
call fcn.10082a9f
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.1005e51d
neg eax
sbb al, al
inc al
mov byte [ebp - 0x11], al
lea eax, [esi - 0x10]
call fcn.10082afb
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.10082afb
cmp byte [ebp - 0x11], 0
jne 0x10069443
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x50]
jb 0x1006927d
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov dword [ebp - 0x30], eax
call fcn.10082a9f
mov ecx, dword [edi + 0x48]
lea esi, [eax + 0x10]
mov dword [ebp - 0x3c], esi
push esi
mov byte [ebp - 4], 9
call fcn.100719e8
lea eax, [esi - 0x10]
call fcn.10082afb
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10082afb
inc dword [ebp - 0x20]
mov eax, dword [ebx + 4]
xor esi, esi
cmp dword [ebp - 0x20], eax
jb 0x10069249
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x10069377
cmp esi, eax
jae 0x10069469
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.10082a9f
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
mov ecx, dword [edi + 0x48]
call fcn.10051df4
mov eax, dword [ebx + 0x14]
inc esi
cmp esi, eax
jb 0x10069349
mov eax, dword [ebx + 0x24]
and dword [ebp - 0x24], 0
test eax, eax
je 0x100693bb
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jae 0x10069469
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.10082a9f
add eax, 0x10
mov dword [esi], eax
mov esi, dword [edi + 0x48]
call fcn.10051f35
inc dword [ebp - 0x24]
mov eax, dword [ebx + 0x24]
cmp dword [ebp - 0x24], eax
jb 0x10069382
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.10071ae1
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 0x100690bd
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
push dword [edi + 0x48]
mov ebx, eax
call fcn.10051e79
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.100276a8
mov eax, dword [eax]
mov ebx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
test ebx, ebx
je 0x10069420
call esi
push eax
call fcn.10048bcb
push dword [edi + 0x48]
mov ebx, eax
call fcn.10051e79
mov esi, dword [edi + 0x48]
call fcn.10051d95
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
lea ecx, [ebp - 0x6c]
call fcn.1002740a
call fcn.100922e2
ret 4
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push 0x10016120
push eax
call fcn.100827bb
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
add esp, 0xc
push dword [ebp - 0x18]
push 4
call dword [eax + 4]
jmp 0x1006931d
push 0x80070057
call fcn.10082a7c
int3