Function at 0x1002b2e0
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x10040c08
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], eax
mov word [esp + 0x88], ax
push 0x3c
push eax
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x34]
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [ebx + 0x14]
add edi, 0x20
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x38], 0x3c
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
lea ebp, [edi + edi]
push ebp
push 0
push eax
mov dword [esp + 0x58], eax
call sub.MSVCR80.dll_memset
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
lea esi, [edi - 1]
mov dword [esp + 0x5c], esi
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
push ebp
push 0
push eax
mov dword [esp + 0x5c], eax
call sub.MSVCR80.dll_memset
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x60], esi
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
push ebp
push 0
push eax
mov dword [esp + 0x84], eax
call sub.MSVCR80.dll_memset
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x88], esi
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
add esp, 0x40
push ebp
push 0
push eax
mov dword [esp + 0x5c], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esp + 0x14], 0
mov dword [esp + 0x54], esi
je 0x1002b47d
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
push ebp
push 0
push eax
mov dword [esp + 0x68], eax
call sub.MSVCR80.dll_memset
add esp, 0x10
mov dword [esp + 0x5c], esi
mov ecx, dword [ebx + 0x14]
mov edi, 8
cmp dword [ebx + 0x18], edi
jb 0x1002b48f
mov eax, dword [ebx + 4]
jmp 0x1002b492
lea eax, [ebx + 4]
mov esi, dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea edx, [esp + 0x2c]
push edx
push 0x80000000
push ecx
push eax
call esi
mov ebp, eax
test ebp, ebp
jne 0x1002b4fe
lea eax, [esp + 0x68]
push eax
mov ecx, ebx
call fcn.1002b660
mov eax, dword [esp + 0x70]
add esp, 4
cmp dword [esp + 0x80], edi
jae 0x1002b4cc
lea eax, [esp + 0x6c]
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x2c]
push ecx
push 0x80000000
push edx
push eax
call esi
cmp dword [esp + 0x80], edi
mov ebp, eax
jb 0x1002b4f6
mov eax, dword [esp + 0x6c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
test ebp, ebp
je 0x1002b5cd
mov edx, dword [esp + 0x3c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002b507
sub eax, esi
mov esi, dword [esp + 0x28]
sar eax, 1
push eax
push edx
call fcn.100025e0
mov edx, dword [esp + 0x30]
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002b530
sub eax, esi
mov esi, dword [esp + 0x20]
sar eax, 1
push eax
push edx
call fcn.100025e0
movzx ecx, word [esp + 0x44]
mov edx, dword [esp + 0x24]
mov dword [edx], ecx
mov edx, dword [esp + 0x48]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002b560
sub eax, esi
mov esi, dword [esp + 0x18]
sar eax, 1
push eax
push edx
call fcn.100025e0
mov edx, dword [esp + 0x50]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002b583
sub eax, esi
mov esi, dword [esp + 0x1c]
sar eax, 1
push eax
push edx
call fcn.100025e0
mov edx, dword [esp + 0x58]
test edx, edx
je 0x1002b5cd
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1002b5cd
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002b5b2
sub eax, edi
sar eax, 1
push eax
push edx
call fcn.100025e0
mov edi, 8
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov edx, dword [esp + 0x50]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x5c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x68]
add esp, 0x10
test eax, eax
je 0x1002b609
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
test ebp, ebp
setne bl
cmp dword [esp + 0x9c], edi
jb 0x1002b627
mov ecx, dword [esp + 0x88]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x9c
ret