Function at 0x4dda80
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5795d9
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5edd38]
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 + 0x1c]
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 0x4dddb8
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4ddb09
mov ecx, dword [eax]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4dddb8
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.0041c49f
mov ecx, eax
add esp, 4
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x4ddb92
mov eax, dword [ebp - 0x70]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.0053f340
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x4ddb95
mov eax, dword [ebp - 0x68]
cmp byte [ebp + 0x10], 0
je 0x4ddbd9
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041c49f
mov ecx, eax
add esp, 4
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x4ddbd9
mov edx, dword [ebp - 0x70]
lea eax, [edx*2 + 2]
push eax
push 0
push ecx
call fcn.0053f340
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 8
jb 0x4ddbe4
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 0x4ddd9b
test eax, eax
je 0x4ddda8
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4ddd9b
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.00408f30
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4ddc6f
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4ddc4e
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.0040a2e0
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 0x4ddcad
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4ddcb1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x4ddca3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ddde5
push edx
push ecx
call fcn.00409f25
add esp, 8
mov byte [ebp - 4], 1
cmp byte [ebp + 0x10], 0
je 0x4ddd98
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.00408f30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x5add58
push 0
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call fcn.0040fea0
mov ecx, eax
add esp, 0x14
cmp ecx, 0xffffffff
je 0x4ddd25
cmp dword [ebp - 0x18], ecx
jb 0x4dddea
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 0x5a9c98
push 0
push dword [ebp - 0x18]
push eax
call fcn.0040fea0
mov ecx, eax
add esp, 0x14
cmp ecx, 0xffffffff
je 0x4ddd69
cmp dword [ebp - 0x18], ecx
jb 0x4dddea
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.0040ddb0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4ddd98
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4ddda8
push eax
call fcn.0041c2b1
add esp, 4
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4dddb8
push ecx
call fcn.0041c2b1
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 fcn.00401682
mov esp, ebp
pop ebp
ret 0xc
call fcn.0054223b
call fcn.004790f0
int3