Function at 0x10070091
Capabilities:
Accept command line arguments

Disassembly:
push 0x60
mov eax, 0x100b18fd
call fcn.100a5688
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor esi, esi
cmp dword [ebx + 0x48], esi
je 0x1007049a
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1002e7ee
mov dword [ebp - 4], esi
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
mov byte [ebp - 4], 1
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
test eax, eax
je 0x1007043b
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebx + 0x14]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
push 0
push 0x100c91bc
push 0x100c9520
push 0
push eax
call fcn.100a698d
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1007041a
xor eax, eax
lea ecx, [edi + 0x30]
mov esi, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], eax
cmp dword [ecx + 4], eax
jbe 0x1007029e
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.10091a7b
mov ecx, eax
call fcn.10091a7b
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
push ecx
push eax
push 0x80
push 3
push 7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
mov esi, dword [ebp - 0x2c]
push SysReAllocString
push esi
call fcn.10091a7b
cmp eax, 0x80070020
jne 0x100701e3
push esi
push 0x10018ec8
lea eax, [ebp - 0x10]
push eax
call fcn.10091a7b
mov ebx, dword [ebx + 0x18]
add esp, 0xc
mov eax, dword [ebx]
push dword [ebp - 0x10]
push 4
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100d0614]
mov ecx, ebx
call edi
cmp dword [ebp - 0x44], 0
je 0x100701cf
push dword [ebp - 0x44]
call dword [sym.imp.kernel32.dll_CloseHandle]
and dword [ebp - 0x44], 0
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.1008ebf5
mov ebx, dword [ebp - 0x14]
jmp 0x10070285
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x100701f6
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 0x44], edi
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.10091a7b
mov al, byte [eax + 4]
test al, al
jne 0x10070247
push ecx
push 0
push 0x80
push 3
push 7
push 0x10000
push esi
lea ecx, [ebp - 0x44]
call fcn.10091a7b
cmp eax, 0x80070020
jne 0x10070234
push esi
push 0x10018f80
jmp 0x10070197
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x10070247
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 0x44], edi
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.1002fe70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
push dword [eax]
call fcn.1007b85c
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
test edi, edi
je 0x10070279
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
and dword [ebp - 0x44], 0
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.1008ebf5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ecx + 4]
jb 0x10070151
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [edi + 4], eax
jbe 0x1007038f
push eax
mov ecx, edi
call fcn.10091a7b
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.1002fe70
and dword [ebp - 0x20], 0
test esi, esi
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x34]
je 0x10070348
lea eax, [esi - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, eax
call fcn.1008eb5d
lea ebx, [eax + 0x10]
mov dword [ebp - 0x3c], ebx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.10091a7b
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
lea edi, [eax + 0x10]
mov dword [ebp - 0x38], edi
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10091a7b
mov ebx, eax
lea ecx, [edi - 0x10]
neg ebx
sbb bl, bl
call fcn.1008ebf5
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.1008ebf5
add bl, 1
jne 0x100704a0
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
lea eax, [esi - 0x10]
jb 0x100702d4
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
lea eax, [esi - 0x10]
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.1008eb5d
lea esi, [eax + 0x10]
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 9
mov ecx, dword [ebx + 0x48]
push esi
call fcn.1007b85c
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.1008ebf5
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [edi + 4]
jb 0x100702ac
and dword [ebp - 0x3c], 0
lea eax, [edi + 0x10]
cmp dword [eax + 4], 0
mov dword [ebp - 0x38], eax
jbe 0x100703d3
mov edi, dword [ebp - 0x3c]
push edi
mov ecx, eax
call fcn.10091a7b
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebx + 0x48]
call fcn.1005a0df
mov eax, dword [ebp - 0x38]
inc edi
cmp edi, dword [eax + 4]
jb 0x100703a2
mov edi, dword [ebp - 0x18]
lea eax, [edi + 0x20]
xor edi, edi
mov dword [ebp - 0x3c], eax
cmp dword [eax + 4], edi
jbe 0x1007040e
push edi
mov ecx, eax
call fcn.10091a7b
push ecx
mov esi, esp
mov dword [ebp - 0x38], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebx + 0x48]
call fcn.1005a22a
mov eax, dword [ebp - 0x3c]
inc edi
cmp edi, dword [eax + 4]
jb 0x100703e0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.1007b990
mov edi, dword [ebx + 0x14]
inc dword [ebp - 0x1c]
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x100700f2
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov ecx, dword [ebx + 0x48]
push eax
call fcn.10091a7b
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10091a7b
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.1008ebf5
test esi, esi
je 0x1007047f
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
call fcn.10091a7b
mov ecx, dword [ebx + 0x48]
push eax
call fcn.10091a7b
mov ecx, dword [ebx + 0x48]
call fcn.1005a081
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea ecx, [ebp - 0x6c]
call fcn.1002eb70
call fcn.100a5651
ret
push esi
lea eax, [ebp - 0x10]
push 0x10019038
push eax
call fcn.10091a7b
mov ebx, dword [ebp - 0x14]
add esp, 0xc
mov edi, dword [ebx + 0x18]
push dword [ebp - 0x10]
push 4
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x18]
jmp 0x10070370