Function at 0x102d0af
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
call fcn.0102ad60
test al, al
mov ebx, dword [ebp + 0x14]
je 0x102d0ef
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov esi, eax
cmp esi, 1
je 0x102d0e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x102d0ef
mov eax, esi
jmp 0x102d32e
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x102d0fa
mov eax, esi
jmp 0x102d0fd
or eax, 0xffffffff
push eax
push 0
push dword [ebp + 8]
push 0
call fcn.010292f1
mov dword [ebp + 0x14], eax
add eax, 3
and eax, 0xfffffffc
call fcn.0106afe0
test esi, esi
mov dword [ebp - 4], esp
je 0x102d123
mov eax, esi
jmp 0x102d126
or eax, 0xffffffff
push eax
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010292f1
push 0xf
pop ecx
mov esi, ebx
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebx + 4], esi
je 0x102d15b
mov eax, dword [ebx + 8]
cmp eax, esi
je 0x102d15b
add eax, 3
and eax, 0xfffffffc
call fcn.0106afe0
mov dword [ebp - 0x3c], esp
cmp dword [ebx + 0x10], esi
je 0x102d175
mov eax, dword [ebx + 0x14]
cmp eax, esi
je 0x102d175
add eax, 3
and eax, 0xfffffffc
call fcn.0106afe0
mov dword [ebp - 0x30], esp
cmp dword [ebx + 0x1c], esi
je 0x102d18f
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x102d18f
add eax, 3
and eax, 0xfffffffc
call fcn.0106afe0
mov dword [ebp - 0x24], esp
cmp dword [ebx + 0x24], esi
je 0x102d1a9
mov eax, dword [ebx + 0x28]
cmp eax, esi
je 0x102d1a9
add eax, 3
and eax, 0xfffffffc
call fcn.0106afe0
mov dword [ebp - 0x1c], esp
cmp dword [ebx + 0x2c], esi
je 0x102d1c3
mov eax, dword [ebx + 0x30]
cmp eax, esi
je 0x102d1c3
add eax, 3
and eax, 0xfffffffc
call fcn.0106afe0
mov dword [ebp - 0x14], esp
cmp dword [ebx + 0x34], esi
je 0x102d1dd
mov eax, dword [ebx + 0x38]
cmp eax, esi
je 0x102d1dd
add eax, 3
and eax, 0xfffffffc
call fcn.0106afe0
mov dword [ebp - 0xc], esp
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, dword [ebp + 0x14]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x102d32b
mov ecx, dword [ebx + 8]
cmp ecx, esi
je 0x102d239
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x102d223
push 0xffffffffffffffff
push ecx
push dword [ebp - 0x3c]
push eax
call fcn.01029317
mov esi, dword [ebp + 8]
jmp 0x102d231
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp + 8]
sub eax, edi
lea eax, [esi + eax*2]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 8], eax
jmp 0x102d23c
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x102d269
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x102d258
push 0xffffffffffffffff
push ecx
push dword [ebp - 0x30]
push eax
call fcn.01029317
jmp 0x102d263
mov eax, dword [ebp - 0x30]
sub eax, edi
lea eax, [esi + eax*2]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x14], eax
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x102d296
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x102d285
push 0xffffffffffffffff
push ecx
push dword [ebp - 0x24]
push eax
call fcn.01029317
jmp 0x102d290
mov eax, dword [ebp - 0x24]
sub eax, edi
lea eax, [esi + eax*2]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x20], eax
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x102d2c3
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x102d2b2
push 0xffffffffffffffff
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.01029317
jmp 0x102d2bd
mov eax, dword [ebp - 0x1c]
sub eax, edi
lea eax, [esi + eax*2]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x28], eax
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x102d2f0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x102d2df
push 0xffffffffffffffff
push ecx
push dword [ebp - 0x14]
push eax
call fcn.01029317
jmp 0x102d2ea
mov eax, dword [ebp - 0x14]
sub eax, edi
lea eax, [esi + eax*2]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x102d31d
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x102d30c
push 0xffffffffffffffff
push ecx
push dword [ebp - 0xc]
push eax
call fcn.01029317
jmp 0x102d317
mov eax, dword [ebp - 0xc]
sub eax, edi
lea eax, [esi + eax*2]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x38], eax
mov ax, word [ebp - 0x28]
mov word [ebx + 0x18], ax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0xc]
lea esp, [ebp - 0x4c]
pop edi
pop esi
pop ebx
leave
ret 0x10