Function at 0x10021de0
Capabilities:
Parse url

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101605fb
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x16d8
call fcn.10116530
mov eax, dword [0x101c3db4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x1568]
push eax
push 0x200002
push esi
mov dword [ebp - 0x15e0], esi
mov dword [ebp - 0x1568], 0
call fcn.10038970
add esp, 0xc
test eax, eax
jne 0x1002217f
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x1568]
mov dword [ecx + 0xd8], eax
lea eax, [ebp - 0x1564]
push eax
push 0x20000e
push esi
mov dword [ebp - 0x1564], 0xffffffff
call fcn.10038970
add esp, 0xc
test eax, eax
jne 0x10021f2f
mov ecx, dword [ebp - 0x1564]
cmp ecx, 0xffffffff
je 0x10021f2f
mov eax, dword [edi + 0xc]
xorps xmm0, xmm0
mov dword [eax + 0x184], ecx
mov eax, dword [ebp - 0x1564]
cdq
mov dword [ebp - 0x1570], eax
lea eax, [ebp - 0x1570]
push eax
lea eax, [ebp - 0x159c]
mov dword [ebp - 0x156c], edx
push eax
movups xmmword [ebp - 0x159c], xmm0
mov dword [ebp - 0x157c], 0
movups xmmword [ebp - 0x158c], xmm0
call fcn.1013a238
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10136420
lea eax, [ebp - 0x159c]
push eax
push str._a___d__b__Y__H:_M:_S_GMT
lea eax, [ebp - 0x118]
push 0x80
push eax
call fcn.1013b5fa
mov ecx, dword [edi + 0xc]
add esp, 0x24
add ecx, 0x16c
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10028570
mov eax, dword [edi + 0xc]
cmp byte [eax + 0x9e], 0
je 0x10021f71
lea eax, [ebp - 0x156c]
mov dword [ebp - 0x156c], 0xffffffff
push eax
push 0x200023
push esi
call fcn.10038970
add esp, 0xc
test eax, eax
jne 0x10021f71
cmp dword [ebp - 0x156c], 1
mov ecx, dword [edi + 0xc]
sete al
mov byte [ecx + 0x188], al
lea eax, [ebp - 0x1578]
xorps xmm0, xmm0
push eax
push 0x300003
push esi
movsd qword [ebp - 0x1578], xmm0
call fcn.10038970
add esp, 0xc
test eax, eax
jne 0x1002217f
movsd xmm0, qword [ebp - 0x1578]
mulsd xmm0, qword [0x101b61c8]
mov esi, dword [edi + 0xc]
call fcn.101167f1
mov dword [esi + 0x168], eax
lea eax, [ebp - 0x15a0]
push eax
push 0x100001
push dword [ebp - 0x15e0]
mov dword [ebp - 0x15a0], 0
call fcn.10038970
add esp, 0xc
test eax, eax
jne 0x1002217f
push 0xfde9
push dword [ebp - 0x15a0]
lea eax, [ebp - 0x16e4]
lea ecx, [ebp - 0x16e8]
mov dword [ebp - 0x16e8], eax
call fcn.10024a40
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x16e8]
cmp word [edx], 0
jne 0x1002201c
xor ecx, ecx
jmp 0x10022030
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022021
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0x98]
push edx
mov ecx, esi
call fcn.10028570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16e4]
mov eax, dword [ebp - 0x16e8]
cmp eax, ecx
je 0x1002205f
push eax
call fcn.101395b2
add esp, 4
push 0x38
lea eax, [ebp - 0x15d8]
push 0
push eax
call fcn.10136420
push 0x200
lea eax, [ebp - 0x518]
push 0
push eax
call fcn.10136420
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10136420
push 0x100
lea eax, [ebp - 0x318]
push 0
push eax
call fcn.10136420
push 0x1048
lea eax, [ebp - 0x1560]
push 0
push eax
call fcn.10136420
lea eax, [ebp - 0x518]
mov dword [ebp - 0x15dc], 0x3c
mov dword [ebp - 0x15cc], eax
add esp, 0x3c
cmp dword [esi + 0x14], 8
lea eax, [ebp - 0x218]
mov dword [ebp - 0x15c0], eax
lea eax, [ebp - 0x318]
mov dword [ebp - 0x15b8], eax
lea eax, [ebp - 0x1560]
mov dword [ebp - 0x15c8], 0x100
mov dword [ebp - 0x15bc], 0x80
mov dword [ebp - 0x15b4], 0x80
mov dword [ebp - 0x15b0], eax
mov dword [ebp - 0x15ac], 0x824
jb 0x10022128
mov esi, dword [esi]
lea eax, [ebp - 0x15dc]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edx, dword [ebp - 0x15cc]
mov eax, dword [edi + 0xc]
cmp word [edx], 0
jne 0x1002214d
xor ecx, ecx
jmp 0x10022164
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022152
mov eax, dword [edi + 0xc]
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [eax + 0xdc]
call fcn.10028570
mov eax, dword [edi + 0xc]
mov byte [eax + 0xb8], 1
mov al, 1
jmp 0x10022181
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101156cc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4