Function at 0x1002f400
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1005ee10
push 0x1003a7b0
mov eax, dword fs:[0]
push eax
add esp, 0xfffff77c
mov eax, dword [0x100668d8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x58], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
push 0x3c
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.1003ac40
add esp, 0xc
mov dword [ebp - 0x54], 0x3c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003ac40
add esp, 0xc
mov dword [ebp - 4], 0
push 0x100566fc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
cmp eax, dword [ebp + 8]
jne 0x1002f4ba
push str.file:__
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003bf31
add esp, 0xc
mov dword [ebp - 0x86c], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x86c]
jmp 0x1002f69d
push 0x1005670c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
cmp eax, dword [ebp + 8]
jne 0x1002f4ff
push 0x10056714
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003bf31
add esp, 0xc
mov dword [ebp - 0x870], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x870]
jmp 0x1002f69d
mov edx, dword [ebp + 8]
mov dword [ebp - 0x874], edx
mov eax, dword [ebp - 0x874]
add eax, 1
mov dword [ebp - 0x878], eax
mov ecx, dword [ebp - 0x874]
mov dl, byte [ecx]
mov byte [ebp - 0x879], dl
add dword [ebp - 0x874], 1
cmp byte [ebp - 0x879], 0
jne 0x1002f517
mov eax, dword [ebp - 0x874]
sub eax, dword [ebp - 0x878]
mov dword [ebp - 0x880], eax
lea ecx, [ebp - 0x54]
push ecx
push 0x10000000
mov edx, dword [ebp - 0x880]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x1002f655
mov byte [ebp - 0x868], 0
push 0x809
push 0
lea ecx, [ebp - 0x867]
push ecx
call fcn.1003ac40
add esp, 0xc
push 0x1005671c
push 0x80a
lea edx, [ebp - 0x868]
push edx
call fcn.1003bf31
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x80a
lea ecx, [ebp - 0x868]
push ecx
call fcn.1003bebd
add esp, 0xc
lea edx, [ebp - 0x868]
mov dword [ebp - 0x884], edx
mov eax, dword [ebp - 0x884]
add eax, 1
mov dword [ebp - 0x888], eax
mov ecx, dword [ebp - 0x884]
mov dl, byte [ecx]
mov byte [ebp - 0x889], dl
add dword [ebp - 0x884], 1
cmp byte [ebp - 0x889], 0
jne 0x1002f5d2
mov eax, dword [ebp - 0x884]
sub eax, dword [ebp - 0x888]
mov dword [ebp - 0x890], eax
lea ecx, [ebp - 0x54]
push ecx
push 0x10000000
mov edx, dword [ebp - 0x890]
push edx
lea eax, [ebp - 0x868]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x1002f655
push 0xffffffffffffffff
lea ecx, [ebp - 0x868]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.100039f0
add esp, 0x10
mov dword [ebp - 0x894], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x894]
jmp 0x1002f69d
mov dword [ebp - 4], 0xfffffffe
jmp 0x1002f684
cmp dword [ebp + 0xc], 0
je 0x1002f694
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
test edx, edx
jne 0x1002f698
xor eax, eax
jmp 0x1002f69d
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x58]
xor ecx, ebp
call fcn.1003a5ba
mov esp, ebp
pop ebp
ret