Function at 0x4ff780
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd8
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x50d310
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov esi, dword [0x6d1ebc]
test esi, esi
je 0x4ffd3d
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x51]
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x20], al
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x20], 0
je 0x4ffd3d
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xe4], 0x3c
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xac], 1
cmp dword [ebx + 0x14], 7
mov eax, ebx
jbe 0x4ff889
mov eax, dword [ebx]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x10], 0xffffffff
push ecx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4ffd3d
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffffd
cmp eax, 1
ja 0x4ffd3d
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov edi, ebx
mov esi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 7
jbe 0x4ff8d7
mov edi, dword [ebx]
cmp esi, 7
ja 0x4ff8f9
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ebx, 7
movsd qword [ebp - 0x80], xmm1
movsd qword [ebp - 0x88], xmm0
jmp 0x4ff95d
mov ebx, esi
mov ecx, 0x7ffffffe
or ebx, 7
cmp ebx, 0x7ffffffe
cmovb ecx, ebx
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x4ff93c
cmp ecx, 0x7fffffee
jae 0x4fff30
add eax, 0x25
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4ff948
add eax, 2
push eax
call fcn.005d0220
add esp, 4
lea ecx, [esi + esi + 2]
mov dword [ebp - 0x88], eax
push ecx
push edi
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [ebp - 0xb0]
mov edi, 0x658578
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
test eax, eax
cmovne edi, eax
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x4ff9bc
mov dword [ebp - 0x10], 5
sub esp, 0xc
mov al, byte [ebp - 0x70]
lea ecx, [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
mov ebx, dword [ebp + 8]
jmp 0x4ff9db
mov eax, esi
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x40]
add eax, esi
push eax
push edi
push ecx
call fcn.0061e340
add esp, 0xc
mov ebx, dword [ebp + 8]
mov word [ebp + esi*2 - 0x40], 0
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4ffb60
cmp dword [ebp - 0x2c], 7
jbe 0x4ff9f1
mov eax, dword [ebp - 0x40]
jmp 0x4ff9f4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 7
mov ecx, ebx
jbe 0x4ffa04
mov ecx, dword [ebx]
mov dword [ebp - 0x90], eax
mov edi, 0xffffffff
sub eax, edx
jb 0x4ffa9b
lea esi, [ecx + eax*2 + 2]
mov eax, ecx
mov ecx, esi
mov dword [ebp - 0x8c], esi
sub ecx, eax
je 0x4ffa8b
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
movzx ebx, word [esi]
mov esi, dword [ebp - 0x20]
sar ecx, 1
nop word [eax + eax]
cmp word [eax], bx
je 0x4ffa4d
add eax, 2
dec ecx
jne 0x4ffa40
jmp 0x4ffa83
mov ecx, 1
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, ecx
je 0x4ffa8f
movzx edi, word [eax + ecx*2]
cmp di, word [esi + ecx*2]
lea ecx, [ecx + 1]
je 0x4ffa60
mov ecx, dword [ebp - 0x8c]
add eax, 2
mov edi, 0xffffffff
sub ecx, eax
jne 0x4ffa35
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
jmp 0x4ffa9b
mov ecx, eax
jmp 0x4ffa9b
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
sub eax, ecx
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], 0
cmp eax, edi
cmovb edi, eax
cmp edi, 7
jbe 0x4ffae4
mov dword [ebp - 0x10], 6
sub esp, 0xc
mov al, byte [ebp - 0x58]
mov byte [esp + 4], al
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x70]
mov dword [esp], edi
call fcn.00405590
mov ebx, dword [ebp + 8]
jmp 0x4ffb01
lea eax, [edi + edi]
mov edx, ecx
mov dword [ebp - 0x60], edi
lea ecx, [ebp - 0x70]
push eax
push edx
push ecx
call fcn.0061e340
add esp, 0xc
mov word [ebp + edi*2 - 0x70], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x4ffb3f
mov eax, dword [ebp - 0x88]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4ffb35
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4fff65
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [ebp - 0x60]
movsd xmm2, qword [ebp - 0x70]
movsd xmm1, qword [ebp - 0x68]
movsd qword [ebp - 0x78], xmm0
movsd qword [ebp - 0x80], xmm1
movsd qword [ebp - 0x88], xmm2
mov eax, dword [0x676af8]
movzx ecx, word [0x676afc]
mov esi, dword [ebp - 0x78]
cmp dword [ebp - 0x74], 7
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x70], eax
mov word [ebp - 0x6c], cx
mov word [ebp - 0x6a], 0
jbe 0x4ffb9f
mov eax, dword [ebp - 0x88]
test esi, esi
jne 0x4ffbad
jmp 0x4ffc61
lea eax, [ebp - 0x88]
test esi, esi
je 0x4ffc61
cmp word [eax + esi*2 - 2], 0x2e
lea edx, [eax + esi*2 - 2]
jne 0x4ffbbd
mov ecx, edx
jmp 0x4ffbe7
lea ecx, [esi + esi]
mov edi, 2
sub edi, ecx
nop word [eax + eax]
test edi, edi
je 0x4ffc61
add edi, 2
cmp word [edx - 2], 0x2e
lea ecx, [edx - 2]
mov edx, ecx
jne 0x4ffbd0
sub ecx, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], 0
cmp ecx, 0xfffffffe
je 0x4ffc75
sar ecx, 1
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], 0
inc ecx
sub esi, ecx
jb 0x4fff59
lea eax, [eax + ecx*2]
cmp esi, 7
jbe 0x4ffd51
mov dword [ebp - 0x10], 7
sub esp, 0xc
mov cl, byte [ebp - 0x28]
mov byte [esp + 4], cl
lea ecx, [ebp - 0xa8]
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.00405590
mov ebx, dword [ebp + 8]
jmp 0x4ffd75
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4ffcb0
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4ffca6
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4fff35
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], 0
cmp ecx, 8
jb 0x4ffcff
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4ffcf5
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4fff41
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x4ffd3d
mov eax, dword [ebp - 0x88]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4ffd33
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4fff4d
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0xd8
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + esi]
mov dword [ebp - 0x98], esi
lea edx, [ebp - 0xa8]
push ecx
push eax
push edx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0xa8], 0
movsd xmm0, qword [ebp - 0x98]
movsd xmm2, qword [ebp - 0xa8]
movsd xmm1, qword [ebp - 0xa0]
movsd qword [ebp - 0x48], xmm0
movsd qword [ebp - 0x58], xmm2
movsd qword [ebp - 0x50], xmm1
cmp dword [ebp - 0x48], 3
jne 0x4ffc75
cmp dword [ebp - 0x44], 7
jbe 0x4ffdb1
mov eax, dword [ebp - 0x58]
jmp 0x4ffdb4
lea eax, [ebp - 0x58]
movzx ecx, word [eax]
cmp cx, word [ebp - 0x70]
jne 0x4ffc75
mov ecx, 0xfffffffe
test ecx, ecx
je 0x4ffdde
movzx edx, word [eax + ecx*2 + 6]
cmp dx, word [ebp + ecx*2 - 0x6a]
lea ecx, [ecx + 1]
je 0x4ffdc6
jmp 0x4ffc75
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4ffdf0
cmp dword [ebp - 0x2c], 7
jbe 0x4ffe3a
mov ecx, dword [ebp - 0x40]
jmp 0x4ffe3d
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov edx, ecx
sub edx, eax
cmp edx, 0x10
jae 0x4ffe9f
mov dword [ebp - 0x10], 7
sub esp, 0x10
mov al, byte [ebp - 0xa8]
mov ecx, ebx
mov byte [esp + 4], al
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x676b00
mov dword [esp], 0x10
call fcn.0040b010
jmp 0x4ffc75
lea ecx, [ebp - 0x40]
xor edx, edx
cmp word [ecx + edx], 0x23
je 0x4ffe51
add edx, 2
dec eax
jne 0x4ffe3f
jmp 0x4ffc75
test edx, edx
jne 0x4ffc75
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov edx, ecx
sub edx, eax
cmp edx, 0x10
jae 0x4ffee0
mov dword [ebp - 0x10], 7
sub esp, 0x10
mov al, byte [ebp - 0xa8]
mov ecx, ebx
mov byte [esp + 4], al
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.ProtectedMode1
mov dword [esp], 0x10
call fcn.0040b010
jmp 0x4ffc75
lea edx, [eax + 0x10]
cmp ecx, 7
mov dword [ebx + 0x10], edx
jbe 0x4ffeac
mov ebx, dword [ebx]
movsd xmm0, qword [0x676b18]
movsd qword [ebx + eax*2 + 0x18], xmm0
movsd xmm0, qword [0x676b10]
movsd qword [ebx + eax*2 + 0x10], xmm0
movsd xmm0, qword [0x676b08]
movsd qword [ebx + eax*2 + 8], xmm0
movsd xmm0, qword [0x676b00]
jmp 0x4fff1f
lea edx, [eax + 0x10]
cmp ecx, 7
mov dword [ebx + 0x10], edx
jbe 0x4ffeed
mov ebx, dword [ebx]
movsd xmm0, qword [0x676b3a]
movsd qword [ebx + eax*2 + 0x18], xmm0
movsd xmm0, qword [0x676b32]
movsd qword [ebx + eax*2 + 0x10], xmm0
movsd xmm0, qword [0x676b2a]
movsd qword [ebx + eax*2 + 8], xmm0
movsd xmm0, qword [str.ProtectedMode1]
movsd qword [ebx + eax*2], xmm0
mov word [ebx + eax*2 + 0x20], 0
jmp 0x4ffc75
call fcn.005e8c60
mov dword [ebp - 0x10], 2
call fcn.006207e0
mov dword [ebp - 0x10], 3
call fcn.006207e0
mov dword [ebp - 0x10], 4
call fcn.006207e0
mov dword [ebp - 0x10], 7
call fcn.005e9a00
mov dword [ebp - 0x10], 1
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4ffffe
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4ffff4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x500017
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], 0
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x50005e
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x500054
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x500077
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], 0
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x5000c1
mov eax, dword [ebp - 0x88]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5000b7
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5000c6
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop dword [eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
int3