Function at 0x10005c20
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
lea ecx, [esi + 2]
lea ecx, [ecx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10005c30
push 0x3c
lea eax, [esp + 0x10]
sub esi, ecx
push 0
push eax
sar esi, 1
call fcn.10010490
mov eax, dword [edi]
sub eax, 0x10
mov dword [esp + 0x18], 0x3c
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
add esp, 0xc
or ecx, edx
jge 0x10005c77
mov ecx, esi
mov eax, edi
call fcn.10003f10
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
lea ebp, [edi + 8]
sub eax, 0x10
mov dword [esp + 0x14], esi
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x10005ca4
mov ecx, esi
mov eax, ebp
call fcn.10003f10
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
lea ebx, [edi + 0x10]
sub eax, 0x10
mov dword [esp + 0x20], esi
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x10005cd2
mov ecx, esi
mov eax, ebx
call fcn.10003f10
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x14]
lea edx, [edi + 0x14]
sub eax, 0x10
mov dword [esp + 0x2c], esi
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or ecx, eax
jge 0x10005cff
mov ecx, esi
mov eax, edx
call fcn.10003f10
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x30], ecx
lea edx, [edi + 0x18]
sub eax, 0x10
mov dword [esp + 0x34], esi
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or ecx, eax
jge 0x10005d2d
mov ecx, esi
mov eax, edx
call fcn.10003f10
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], ecx
lea edx, [edi + 0x1c]
sub eax, 0x10
mov dword [esp + 0x3c], esi
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or ecx, eax
jge 0x10005d5b
mov ecx, esi
mov eax, edx
call fcn.10003f10
mov eax, dword [esp + 0x4c]
mov ecx, dword [edi + 0x1c]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
setne byte [esp + 0x4c]
test eax, eax
je 0x10005d9c
push ecx
push eax
call fcn.1000a5ff
add esp, 8
test eax, eax
jl 0x10005ec0
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x10005ec0
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test eax, eax
je 0x10005dce
push ecx
push eax
call fcn.1000a5ff
add esp, 8
test eax, eax
jl 0x10005ec0
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x10005ec0
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x10005e01
push ecx
push eax
call fcn.1000a5ff
add esp, 8
test eax, eax
jl 0x10005ec0
mov ecx, dword [ebx]
cmp eax, dword [ecx - 8]
jg 0x10005ec0
mov dword [ecx - 0xc], eax
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi + 0x14]
mov ecx, dword [eax - 8]
test eax, eax
je 0x10005e33
push ecx
push eax
call fcn.1000a5ff
add esp, 8
test eax, eax
jl 0x10005ec0
mov ecx, dword [edi + 0x14]
cmp eax, dword [ecx - 8]
jg 0x10005ec0
mov dword [ecx - 0xc], eax
mov ecx, dword [edi + 0x14]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi + 0x18]
mov ecx, dword [eax - 8]
test eax, eax
je 0x10005e63
push ecx
push eax
call fcn.1000a5ff
add esp, 8
test eax, eax
jl 0x10005ec0
mov ecx, dword [edi + 0x18]
cmp eax, dword [ecx - 8]
jg 0x10005ec0
mov dword [ecx - 0xc], eax
mov ecx, dword [edi + 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax - 8]
test eax, eax
je 0x10005e8f
push ecx
push eax
call fcn.1000a5ff
add esp, 8
test eax, eax
jl 0x10005ec0
mov ecx, dword [edi + 0x1c]
cmp eax, dword [ecx - 8]
jg 0x10005ec0
mov dword [ecx - 0xc], eax
mov ecx, dword [edi + 0x1c]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esp + 0x18]
mov cx, word [esp + 0x24]
pop esi
pop ebp
mov dword [edi + 4], eax
mov al, byte [esp + 0x44]
mov word [edi + 0xc], cx
pop ebx
add esp, 0x3c
ret 4
push 0x80070057
call fcn.10004250
int3