Function at 0x1001f2d0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016de02
mov eax, dword fs:[0]
push eax
mov eax, 0x20fc
call fcn.10110210
mov eax, dword [0x101c6270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20c8], esi
mov dword [ebp - 0x20bc], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20cc], esi
mov dword [ebp - 0x20c4], edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
mov edx, edi
mov dword [ecx + 0x10], 0
xor eax, eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [edx + 2]
mov dword [ebp - 0x20bc], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1001f353
sub edx, dword [ebp - 0x20bc]
sar edx, 1
push edx
push edi
call fcn.10004470
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
push 0x12
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.AdDownloadLibCache
mov word [ecx], ax
call fcn.10004470
lea edi, [esi + 0x38]
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x20c4]
mov ecx, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x2018], eax
mov word [ebp - 0x2028], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x2014], 7
mov dword [ebp - 0x20bc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f3d5
sub ecx, dword [ebp - 0x20bc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2028]
call fcn.10004470
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2028]
cmp dword [ebp - 0x2014], 8
mov edx, dword [ebp - 0x2018]
cmovae ecx, dword [ebp - 0x2028]
push 3
push 0x101a3380
push 0
call fcn.10003de0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1001f4da
lea eax, [ebp - 0x2028]
mov edx, 0x101a5678
push eax
lea ecx, [ebp - 0x2040]
call fcn.1000a9d0
lea ecx, [ebp - 0x2028]
mov dword [ebp - 0x20bc], eax
add esp, 4
cmp ecx, eax
je 0x1001f4bc
mov ecx, dword [ebp - 0x2014]
cmp ecx, 8
jb 0x1001f47b
inc ecx
push ecx
push dword [ebp - 0x2028]
lea ecx, [ebp - 0x2028]
call fcn.10004630
mov eax, dword [ebp - 0x20bc]
mov dword [ebp - 0x2018], 0
xor ecx, ecx
mov dword [ebp - 0x2014], 7
mov word [ebp - 0x2028], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2028], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2018], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x202c]
cmp eax, 8
jb 0x1001f4da
inc eax
lea ecx, [ebp - 0x2040]
push eax
push dword [ebp - 0x2040]
call fcn.10004630
push 0x38
lea eax, [ebp - 0x2104]
push 0
push eax
call fcn.1012bf20
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.1012bf20
push 0x1000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.1012bf20
cmp dword [ebp - 0x2014], 8
lea ecx, [ebp - 0x2028]
mov edx, dword [ebp - 0x2018]
cmovae ecx, dword [ebp - 0x2028]
push 7
push 0x101a5678
push 0
mov dword [ebp - 0x2108], 0x3c
call fcn.10003de0
add esp, 0x30
cmp eax, 0xffffffff
jne 0x1001f588
cmp dword [ebp - 0x2014], 8
lea ecx, [ebp - 0x2028]
mov edx, dword [ebp - 0x2018]
cmovae ecx, dword [ebp - 0x2028]
push 8
push 0x101a5688
push 0
call fcn.10003de0
xor ecx, ecx
add esp, 0xc
cmp eax, 0xffffffff
setne cl
add ecx, 3
mov dword [ebp - 0x20fc], ecx
jmp 0x1001f592
mov dword [ebp - 0x20fc], 3
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x20dc], eax
lea ecx, [ebp - 0x2108]
push ecx
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x20f8], 0
mov dword [ebp - 0x20d4], eax
lea eax, [ebp - 0x2028]
cmovae eax, dword [ebp - 0x2028]
push 0
push dword [ebp - 0x2018]
mov dword [ebp - 0x20f4], 0
push eax
mov dword [ebp - 0x20d8], 0x800
mov dword [ebp - 0x20d0], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x1001f616
mov ecx, dword [ebp - 0x2014]
cmp ecx, 8
jb 0x1001f92f
inc ecx
push ecx
jmp 0x1001f91e
xor eax, eax
mov dword [ebp - 0x2048], 0
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x2044], 7
mov word [ebp - 0x2058], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f640
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2058]
call fcn.10004470
push 2
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2058]
cmp dword [ebp - 0x2044], 8
push 0x101a569c
cmovae eax, dword [ebp - 0x2058]
push 0xffffffffffffffff
push dword [ebp - 0x2048]
push eax
call fcn.1000abb0
add esp, 0x14
lea ecx, [ebp - 0x2058]
inc eax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2040]
push eax
call fcn.10003ad0
mov esi, eax
cmp edi, esi
je 0x1001f6f1
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x1001f6c1
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.10004630
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x202c]
cmp eax, 8
jb 0x1001f70f
inc eax
lea ecx, [ebp - 0x2040]
push eax
push dword [ebp - 0x2040]
call fcn.10004630
push 0x12
xor eax, eax
mov dword [ebp - 0x2030], 0
push str.AdDownloadLibCache
lea ecx, [ebp - 0x2040]
mov dword [ebp - 0x202c], 7
mov word [ebp - 0x2040], ax
call fcn.10004470
mov edx, dword [ebp - 0x20c4]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x2060], 0
mov dword [ebp - 0x205c], 7
mov word [ebp - 0x2070], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f770
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2070]
call fcn.10004470
mov edx, edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20b8]
call fcn.1001f130
mov edi, eax
lea edx, [ebp - 0x2040]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20a0]
call fcn.1001f130
mov esi, eax
lea edx, [ebp - 0x2070]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2088]
call fcn.1001f130
push edi
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20c0]
call fcn.10020810
mov esi, dword [ebp - 0x20c8]
add esp, 8
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov edi, dword [esi + 4]
mov dword [esi + 4], ecx
mov dword [esi], edx
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
test edi, edi
je 0x1001f82f
lock xadd dword [edi + 4], eax
jne 0x1001f82c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x1001f82c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x20bc]
test edi, edi
je 0x1001f85c
lock xadd dword [edi + 4], eax
jne 0x1001f85c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x1001f85c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x2088]
call fcn.1000d980
lea ecx, [ebp - 0x20a0]
call fcn.1000d980
lea ecx, [ebp - 0x20b8]
call fcn.1000d980
mov eax, dword [ebp - 0x205c]
cmp eax, 8
jb 0x1001f89b
inc eax
lea ecx, [ebp - 0x2070]
push eax
push dword [ebp - 0x2070]
call fcn.10004630
xor eax, eax
mov dword [ebp - 0x2060], 0
mov word [ebp - 0x2070], ax
mov eax, dword [ebp - 0x202c]
mov dword [ebp - 0x205c], 7
cmp eax, 8
jb 0x1001f8d6
inc eax
lea ecx, [ebp - 0x2040]
push eax
push dword [ebp - 0x2040]
call fcn.10004630
mov eax, dword [ebp - 0x2044]
cmp eax, 8
jb 0x1001f8f4
inc eax
lea ecx, [ebp - 0x2058]
push eax
push dword [ebp - 0x2058]
call fcn.10004630
xor eax, eax
mov dword [ebp - 0x2048], 0
mov word [ebp - 0x2058], ax
mov eax, dword [ebp - 0x2014]
mov dword [ebp - 0x2044], 7
cmp eax, 8
jb 0x1001f92f
inc eax
push eax
push dword [ebp - 0x2028]
lea ecx, [ebp - 0x2028]
call fcn.10004630
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010f54f
mov esp, ebp
pop ebp
ret 8