Function at 0x4ee090
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7e39
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [ecx + 0x28]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], 0
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 4], 1
mov word [edi], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], 1
cmp dword [eax + 0x10], 0
je 0x4ee3c8
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4ee119
mov ecx, dword [eax]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4ee3c8
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x64], 0x3c
xorps xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x70], eax
inc eax
mov dword [ebp - 0x68], eax
mul edx
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00415d06
mov ecx, eax
add esp, 4
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x4ee1a2
mov eax, dword [ebp - 0x70]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.0056aed0
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x4ee1a5
mov eax, dword [ebp - 0x68]
cmp byte [ebp + 0x10], 0
je 0x4ee1e9
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00415d06
mov ecx, eax
add esp, 4
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x4ee1e9
mov edx, dword [ebp - 0x70]
lea eax, [edx*2 + 2]
push eax
push 0
push ecx
call fcn.0056aed0
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 8
jb 0x4ee1f4
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
push 0
push dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
mov eax, dword [ebp - 0x54]
je 0x4ee3ab
test eax, eax
je 0x4ee3b8
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4ee3ab
push ecx
xor edx, edx
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
call fcn.00409db0
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4ee27f
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4ee25e
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.0040a5e0
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
jmp 0x4ee2bd
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4ee2c1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x4ee2b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ee3f5
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov byte [ebp - 4], 1
cmp byte [ebp + 0x10], 0
je 0x4ee3a8
push dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x18], 0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409db0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x5e3e68
push 0
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call fcn.00411900
mov ecx, eax
add esp, 0x14
cmp ecx, 0xffffffff
je 0x4ee335
cmp dword [ebp - 0x18], ecx
jb 0x4ee3fa
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x5dfb90
push 0
push dword [ebp - 0x18]
push eax
call fcn.00411900
mov ecx, eax
add esp, 0x14
cmp ecx, 0xffffffff
je 0x4ee379
cmp dword [ebp - 0x18], ecx
jb 0x4ee3fa
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0040f730
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4ee3a8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4ee3b8
push eax
call fcn.0041e935
add esp, 4
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4ee3c8
push ecx
call fcn.0041e935
add esp, 4
push esi
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
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 int.004016cd
mov esp, ebp
pop ebp
ret 0xc
call fcn.0056e2db
call fcn.0047f6b0
int3