Function at 0x10020d70
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 0x10020d8d
mov dword [ebx], edi
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x1002101c
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push 0x1003c508
push esi
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], edi
call dword [eax]
test eax, eax
jl 0x10020e21
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x10020e21
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x78]
cmp dword [ebp - 4], edi
je 0x10020de4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10020ddf
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
jne 0x10020e16
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 0x10020e16
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x10020e16
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x1003c4f8
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 0x10020e2f
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1003c4f8
push esi
call dword [eax]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x10020e7f
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 0x10020e66
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x10020e66
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 0x10020e76
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 0x1002101c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.100210f7
add esp, 0xc
cmp ebx, edi
mov dword [ebp - 0x10], eax
je 0x10021013
mov eax, dword [0x10043d8c]
mov esi, 0x12c
lea ecx, [ebp - 0x13c]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x10021013
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 0x10021013
cmp ebx, edi
jbe 0x10021013
push 6
push 0x10042eac
push dword [ebp - 4]
call fcn.100141e2
add esp, 0xc
test eax, eax
jne 0x10020f6b
lea eax, [ebp - 0x13c]
test eax, eax
je 0x10020f47
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.100392b0
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.100141e2
add esp, 0xc
test eax, eax
jne 0x10020f6b
mov eax, dword [ebp - 4]
cmp word [eax + ebx*2 + 0xc], 0x2f
je 0x1002100a
cmp dword [ebp - 0x10], edi
je 0x10021013
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
cmp esi, edi
je 0x10021013
cmp byte [esi], 0
je 0x10021013
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.10013e0e
mov edi, eax
pop ecx
test edi, edi
pop ecx
mov dword [ebp + 0x10], edi
je 0x10021013
lea eax, [esi + 7]
cmp edi, eax
jbe 0x10021013
push 7
lea eax, [edi - 7]
push str._res:__
push eax
call fcn.1001416f
add esp, 0xc
test eax, eax
jne 0x10021013
cmp byte [edi + ebx], 0x2f
lea eax, [edi + ebx]
jne 0x10021013
lea edi, [eax + 1]
movsx eax, byte [edi]
push eax
call fcn.10013ea2
test eax, eax
pop ecx
je 0x10020fe0
inc edi
jmp 0x10020fcf
cmp byte [edi], 0
jne 0x10021013
cmp byte [esi], 0x22
mov cl, 0x20
jne 0x10020ff0
add cl, 2
inc esi
mov al, byte [esi]
cmp cl, al
je 0x10020ffa
test al, al
jne 0x10020fef
cmp byte [esi], 0x22
jne 0x10021000
inc esi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff9
cmp esi, eax
jne 0x10021013
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