Function at 0x4cd290
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577d30
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
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 eax, dword [0x5f3910]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x4cd56c
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xb4]
mov al, byte [ecx + 0x49]
mov byte [ebp - 0xad], al
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0xad], 0
mov dword [ebp - 4], 0xffffffff
je 0x4cd56c
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0xa8], xmm0
mov eax, edi
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0xac], 0x3c
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x74], 1
jb 0x4cd36c
mov eax, dword [edi]
lea ecx, [ebp - 0xac]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4cd56c
mov eax, dword [ebp - 0xa0]
cmp eax, 3
je 0x4cd39a
cmp eax, 4
jne 0x4cd56c
push edi
lea ecx, [ebp - 0x58]
call fcn.0040a1e0
mov eax, dword [ebp - 0x78]
mov ecx, 0x586454
test eax, eax
mov dword [ebp - 4], 1
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040e610
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
je 0x4cd3f6
push 0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0049a3c0
push eax
push 0
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.00409610
push eax
lea ecx, [ebp - 0x58]
call fcn.0040f610
lea ecx, [ebp - 0x70]
call fcn.0040a280
push 0x5a9c6c
lea ecx, [ebp - 0x70]
call fcn.0040e610
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
test eax, eax
je 0x4cd43b
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea eax, [edx + ecx*2]
je 0x4cd435
cmp eax, edx
je 0x4cd43b
sub eax, 2
cmp word [eax], 0x2e
jne 0x4cd428
sub eax, edx
sar eax, 1
jmp 0x4cd43e
or eax, 0xffffffff
mov esi, 7
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], esi
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 4
cmp eax, 0xffffffff
je 0x4cd4f2
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x58]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00409610
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x4cd4a1
movups xmm0, xmmword [eax]
xor ecx, ecx
mov byte [ebp - 4], 4
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x14], esi
mov esi, dword [ebp - 0x14]
mov dword [eax + 0x10], 0
mov word [eax], cx
lea ecx, [ebp - 0xcc]
call fcn.0040a280
cmp dword [ebp - 0x18], 3
jne 0x4cd4f2
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045a840
add esp, 8
test al, al
je 0x4cd4f2
cmp dword [ebp - 0x30], 0
jne 0x4cd4d3
push str.ProtectedMode1
jmp 0x4cd4eb
push 0
push 0x5a9c98
lea ecx, [ebp - 0x40]
call fcn.0040fe00
test eax, eax
jne 0x4cd4f2
push 0x5a9c9c
mov ecx, edi
call fcn.0042ef80
mov byte [ebp - 4], 6
cmp esi, 8
jb 0x4cd50a
lea eax, [esi + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x4cd523
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0040a2e0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x4cd53c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 9
cmp eax, 8
jb 0x4cd56c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
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