Function at 0x10021d90
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 0x1015f54b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x16d8
call fcn.10115670
mov eax, dword [0x101c2db4]
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.10037a40
add esp, 0xc
test eax, eax
jne 0x1002212f
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.10037a40
add esp, 0xc
test eax, eax
jne 0x10021edf
mov ecx, dword [ebp - 0x1564]
cmp ecx, 0xffffffff
je 0x10021edf
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.10139157
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.101355e0
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.1013a519
mov ecx, dword [edi + 0xc]
add esp, 0x24
add ecx, 0x16c
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.100284f0
mov eax, dword [edi + 0xc]
cmp byte [eax + 0x9e], 0
je 0x10021f21
lea eax, [ebp - 0x156c]
mov dword [ebp - 0x156c], 0xffffffff
push eax
push 0x200023
push esi
call fcn.10037a40
add esp, 0xc
test eax, eax
jne 0x10021f21
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.10037a40
add esp, 0xc
test eax, eax
jne 0x1002212f
movsd xmm0, qword [ebp - 0x1578]
mulsd xmm0, qword [0x101b51c0]
mov esi, dword [edi + 0xc]
call fcn.10115931
mov dword [esi + 0x168], eax
lea eax, [ebp - 0x15a0]
push eax
push 0x100001
push dword [ebp - 0x15e0]
mov dword [ebp - 0x15a0], 0
call fcn.10037a40
add esp, 0xc
test eax, eax
jne 0x1002212f
push 0xfde9
push dword [ebp - 0x15a0]
lea eax, [ebp - 0x16e4]
lea ecx, [ebp - 0x16e8]
mov dword [ebp - 0x16e8], eax
call fcn.100249c0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x16e8]
cmp word [edx], 0
jne 0x10021fcc
xor ecx, ecx
jmp 0x10021fe0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10021fd1
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0x98]
push edx
mov ecx, esi
call fcn.100284f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16e4]
mov eax, dword [ebp - 0x16e8]
cmp eax, ecx
je 0x1002200f
push eax
call fcn.101384d1
add esp, 4
push 0x38
lea eax, [ebp - 0x15d8]
push 0
push eax
call fcn.101355e0
push 0x200
lea eax, [ebp - 0x518]
push 0
push eax
call fcn.101355e0
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101355e0
push 0x100
lea eax, [ebp - 0x318]
push 0
push eax
call fcn.101355e0
push 0x1048
lea eax, [ebp - 0x1560]
push 0
push eax
call fcn.101355e0
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 0x100220d8
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 0x100220fd
xor ecx, ecx
jmp 0x10022114
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022102
mov eax, dword [edi + 0xc]
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [eax + 0xdc]
call fcn.100284f0
mov eax, dword [edi + 0xc]
mov byte [eax + 0xb8], 1
mov al, 1
jmp 0x10022131
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.1011480c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4