Function at 0x1000e764
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
je 0x1000e781
mov dword [ebx], edi
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x1000ea10
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push 0x10014b60
push esi
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], edi
call dword [eax]
test eax, eax
jl 0x1000e815
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x1000e815
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x78]
cmp dword [ebp - 4], edi
je 0x1000e7d8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1000e7d3
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
jne 0x1000e80a
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x1000e80a
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x1000e80a
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push str._D_3
push eax
call dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x1000e823
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push str._D_3
push esi
call dword [eax]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1000e873
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
jl 0x1000e85a
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x1000e85a
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x1000e86a
mov eax, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 4], edi
je 0x1000ea10
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.1000eaeb
add esp, 0xc
cmp ebx, edi
mov dword [ebp - 0x10], eax
je 0x1000ea07
mov eax, dword [0x1001894c]
mov esi, 0x12c
lea ecx, [ebp - 0x13c]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x1000ea07
lea eax, [ebp - 0x13c]
push esi
push eax
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov ebx, eax
cmp ebx, esi
jae 0x1000ea07
cmp ebx, edi
jbe 0x1000ea07
push 6
push str.res:__
push dword [ebp - 4]
call fcn.1000add9
add esp, 0xc
test eax, eax
jne 0x1000e95f
lea eax, [ebp - 0x13c]
test eax, eax
je 0x1000e93b
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10012fc0
mov edi, esp
push esi
push edi
lea ecx, [ebp - 0x13c]
xor eax, eax
push 0xffffffffffffffff
push ecx
push eax
push eax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, edi
xor edi, edi
push ebx
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
call fcn.1000add9
add esp, 0xc
test eax, eax
jne 0x1000e95f
mov eax, dword [ebp - 4]
cmp word [eax + ebx*2 + 0xc], 0x2f
je 0x1000e9fe
cmp dword [ebp - 0x10], edi
je 0x1000ea07
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
cmp esi, edi
je 0x1000ea07
cmp byte [esi], 0
je 0x1000ea07
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.1000aaf3
mov edi, eax
pop ecx
test edi, edi
pop ecx
mov dword [ebp + 0x10], edi
je 0x1000ea07
lea eax, [esi + 7]
cmp edi, eax
jbe 0x1000ea07
push 7
lea eax, [edi - 7]
push str._res:__
push eax
call fcn.1000ad66
add esp, 0xc
test eax, eax
jne 0x1000ea07
cmp byte [edi + ebx], 0x2f
lea eax, [edi + ebx]
jne 0x1000ea07
lea edi, [eax + 1]
movsx eax, byte [edi]
push eax
call fcn.1000ab06
test eax, eax
pop ecx
je 0x1000e9d4
inc edi
jmp 0x1000e9c3
cmp byte [edi], 0
jne 0x1000ea07
cmp byte [esi], 0x22
mov cl, 0x20
jne 0x1000e9e4
add cl, 2
inc esi
mov al, byte [esi]
cmp cl, al
je 0x1000e9ee
test al, al
jne 0x1000e9e3
cmp byte [esi], 0x22
jne 0x1000e9f4
inc esi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff9
cmp esi, eax
jne 0x1000ea07
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0x148]
pop edi
pop esi
pop ebx
leave
ret