Function at 0x1000f080
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001acd8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100213d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push str.http:__
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000f0ce
mov dword [ebp + 8], str.http:__url
jmp 0x1000f104
push str.ftp:__
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000f0ea
mov dword [ebp + 8], str.ftp:__url
jmp 0x1000f104
push str.https:__
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000f104
mov dword [ebp + 8], str.https:__url
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR100.dll_strlen
add esp, 4
shl eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
call fcn.10001553
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x22
je 0x1000f141
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x27
jne 0x1000f1a5
mov eax, dword [ebp + 8]
add eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.10001567
lea ecx, [ebp - 0x20]
call fcn.10001609
movsx eax, byte [eax]
test eax, eax
jne 0x1000f183
mov dword [ebp - 0x98], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10001559
mov eax, dword [ebp - 0x98]
jmp 0x1000f5fe
lea ecx, [ebp - 0x20]
call fcn.10001609
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.1000160c
mov byte [esi + eax - 1], 0
lea ecx, [ebp - 0x20]
call fcn.10001609
mov dword [ebp + 8], eax
mov eax, 1
test eax, eax
je 0x1000f1fd
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x1000f1da
call fcn.10015210
jmp 0x1000f1e0
mov byte [ebp - 4], 0
jmp 0x1000f1fd
jmp 0x1000f1f4
mov dword [ebp - 4], 0
jmp 0x1000f1a5
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x1000f26a
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 1]
cmp ecx, 0x5c
jne 0x1000f26a
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x554
push ecx
call sub.MSVCR100.dll_strcpy
add esp, 8
push str.file
mov eax, dword [ebp - 0x14]
add eax, 0x40
push eax
call sub.MSVCR100.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x4f0], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x48c], 0
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x1c], ax
jmp 0x1000f514
push 7
push str.file:__
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x1000f3a2
push 0x2000000
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x1000f3a0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000f381
mov eax, 1
test eax, eax
je 0x1000f327
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x1000f304
call fcn.10015210
jmp 0x1000f30a
mov byte [ebp - 4], 0
jmp 0x1000f327
jmp 0x1000f31e
mov dword [ebp - 4], 0
jmp 0x1000f2cc
push 0x2000000
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x1000f37f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
call fcn.10013fe0
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10001559
mov eax, dword [ebp - 0x84]
jmp 0x1000f5fe
jmp 0x1000f3a0
call fcn.10013fe0
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10001559
mov eax, dword [ebp - 0x80]
jmp 0x1000f5fe
jmp 0x1000f3b2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MSVCR100.dll_strcpy
add esp, 8
push 0x3c
push 0
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3c
mov eax, dword [ebp - 0x14]
add eax, 0xa4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x4f0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x14]
add eax, 0x40
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x554
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x14]
add eax, 0x48c
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0x3e8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0x64
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0x64
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0x2710
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], 0x64
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
push 6
push str.ftp:__
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.MSVCR100.dll__strnicmp]
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xf0000000
add eax, 0x10000000
push eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x1000f4b2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
call fcn.10013fe0
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10001559
mov eax, dword [ebp - 0x78]
jmp 0x1000f5fe
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x1000f50c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 3
je 0x1000f50c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 1
je 0x1000f50c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 4
je 0x1000f50c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 5
je 0x1000f50c
mov dword [ebp - 0x70], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10001559
mov eax, dword [ebp - 0x70]
jmp 0x1000f5fe
mov ecx, dword [ebp - 0x14]
call fcn.1000fa30
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 5
jne 0x1000f5e5
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 0x554]
cmp ecx, 0x5c
jne 0x1000f5e5
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 0x555]
cmp ecx, 0x5c
jne 0x1000f5e5
push 0x1001c7f4
mov eax, dword [ebp - 0x14]
add eax, 0x556
push eax
call dword [sym.imp.MSVCR100.dll_strcspn]
add esp, 8
add eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
add eax, 0x554
push eax
call sub.MSVCR100.dll_strlen
add esp, 4
cmp dword [ebp - 0x24], eax
jne 0x1000f595
mov dword [ebp - 0x6c], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10001559
mov eax, dword [ebp - 0x6c]
jmp 0x1000f5fe
mov eax, dword [ebp - 0x24]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x556
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0xa4
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x24]
mov byte [eax + 0xa2], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 0x554]
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x554
push eax
call sub.MSVCR100.dll_strcpy
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10001559
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8