Function at 0x10026250
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x100668d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x10055498]
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.1003ac40
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x100576d4
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x100576e4]
mov dword [eax], ecx
mov edx, dword [0x100576e8]
mov dword [eax + 4], edx
mov ecx, dword [0x100576ec]
mov dword [eax + 8], ecx
mov edx, dword [0x100576f0]
mov dword [eax + 0xc], edx
call dword [sym.imp.SHLWAPI.dll_AssocCreate]
mov dword [ebp - 0x638], eax
cmp dword [ebp - 0x638], 0
jge 0x100262e9
jmp 0x100265d7
push 0
push 0
push str.871C5380_42A0_1069_A2EA_08002B30309D
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x638], eax
cmp dword [ebp - 0x638], 0
jge 0x10026316
jmp 0x100265d7
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x428]
push ecx
push 0
push 0
push 1
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x10026355
cmp dword [ebp - 0x428], 0
jne 0x1002635a
jmp 0x100265d7
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 1
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 1
je 0x10026394
cmp dword [ebp - 0x428], 0
jne 0x10026399
jmp 0x100265d7
mov ax, word [0x100554f0]
mov word [ebp - 0x634], ax
push 0x206
push 0
lea ecx, [ebp - 0x632]
push ecx
call fcn.1003ac40
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x634]
push edx
call fcn.1003ac40
add esp, 0xc
movzx eax, word [ebp - 0x21c]
cmp eax, 0x22
je 0x100263fb
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
lea edx, [ebp - 0x634]
push edx
call fcn.10018c20
jmp 0x100265ae
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x640], 0
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x640], eax
cmp dword [ebp - 0x640], 0
je 0x100265ae
cmp dword [ebp - 0x63c], 1
jne 0x1002646b
mov edx, dword [ebp - 0x640]
mov eax, dword [edx]
push eax
push 0x104
lea ecx, [ebp - 0x634]
push ecx
call fcn.10018c20
lea edx, [ebp - 0x634]
push edx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
jmp 0x100265a1
cmp dword [ebp - 0x63c], 2
jne 0x100265a1
call fcn.10001fa0
mov dword [ebp - 0x650], eax
lea eax, [ebp - 0x64c]
push eax
call fcn.100135b0
mov ecx, eax
call fcn.10014b20
mov dword [ebp - 4], 0
call fcn.100135b0
mov ecx, eax
call fcn.10014d70
test eax, eax
je 0x1002658f
lea ecx, [ebp - 0x64c]
call fcn.10009170
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
jne 0x100264d7
mov dword [ebp - 0x658], 0
jmp 0x1002654b
mov ecx, dword [ebp - 0x654]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x644], eax
cmp dword [ebp - 0x644], 0x3fffffff
jle 0x10026505
mov dword [ebp - 0x65c], 0
jmp 0x1002653f
mov eax, dword [ebp - 0x644]
shl eax, 1
call fcn.1003a650
mov dword [ebp - 0x660], esp
mov edx, dword [ebp - 0x650]
push edx
mov eax, dword [ebp - 0x644]
push eax
mov ecx, dword [ebp - 0x654]
push ecx
mov edx, dword [ebp - 0x660]
push edx
call fcn.10001fb0
mov dword [ebp - 0x65c], eax
mov eax, dword [ebp - 0x65c]
mov dword [ebp - 0x658], eax
mov ecx, dword [ebp - 0x640]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x658]
push eax
call fcn.1003b8a8
add esp, 8
test eax, eax
jne 0x1002658f
mov ecx, dword [ebp - 0x640]
mov edx, dword [ecx]
push edx
push 0x104
lea eax, [ebp - 0x634]
push eax
call fcn.10018c20
lea ecx, [ebp - 0x634]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64c]
call fcn.10010310
mov edx, dword [ebp - 0x640]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x634]
test eax, eax
je 0x100265cf
lea ecx, [ebp - 0x634]
push ecx
call fcn.10017eb0
test eax, eax
je 0x100265cf
mov eax, 1
jmp 0x100265d9
xor edx, edx
jne 0x1002627b
xor eax, eax
lea esp, [ebp - 0x664]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret