Function at 0x4e4620
Capabilities:
Parse url
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538c8b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x59a0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
xor ebx, ebx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
call fcn.00401980
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4e4684
push 0x80004005
call fcn.00401b40
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e4699
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4e469b
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push str._08x
push eax
call fcn.004023f0
add esp, 0xc
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
lea eax, [esi + 0x10]
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x28]
push eax
call fcn.00415c70
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
cmp edi, ecx
je 0x4e4c02
nop word [eax + eax]
cmp dword [edi + 0x24], 0
je 0x4e4bb0
mov esi, dword [edi + 0x20]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
je 0x4e474e
call dword [eax + 0x10]
mov ecx, eax
cmp dword [esi - 4], 0
lea eax, [esi - 4]
jl 0x4e4764
cmp ecx, dword [esi - 0x10]
jne 0x4e4764
lea ebx, [esi - 0x10]
lock inc dword [eax]
jmp 0x4e479b
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x4e4cf4
mov eax, dword [esi - 0xc]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
mov edx, dword [esi - 0xc]
lea eax, [edx*2 + 2]
push eax
push esi
lea edx, [edx*2 + 2]
call fcn.004c7670
add esp, 8
lea esi, [ebx + 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x400
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00425ce0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push 0x400
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00425ce0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
push 0x1000
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00425ce0
push 0x38
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.0049e130
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x50]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x5c]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x4c]
sub eax, ebx
mov dword [ebp - 0xb8], ecx
sar eax, 1
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x98], eax
mov eax, dword [edi + 0x20]
push ecx
push 0x10000000
mov dword [ebp - 0xc8], 0x3c
mov dword [ebp - 0x9c], ebx
push dword [eax - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4e49c6
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x60]
call fcn.00401ff0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x6c]
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x60]
push 0
push eax
call fcn.00403370
mov byte [ebp - 4], 8
lea ecx, [esi - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x4e4946
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4e4937
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4e4934
mov ecx, edx
call fcn.004021e0
mov dword [ebp - 0x24], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4e4929
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e4925
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x24]
add esi, 0x10
mov dword [ebp - 0x28], esi
jmp 0x4e4946
mov ecx, edx
call esi
mov esi, dword [ebp - 0x24]
add esi, 0x10
mov dword [ebp - 0x28], esi
jmp 0x4e4946
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402d50
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e4986
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e4981
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e4986
mov ecx, edx
call dword [ebp - 0x24]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e49c6
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e49c1
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e49c6
mov ecx, edx
call dword [ebp - 0x24]
mov eax, dword [esi - 0xc]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
mov dword [ebp - 0x44], ecx
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
add eax, ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00405210
cmp dword [esi - 4], 1
jle 0x4e49fb
push dword [esi - 0xc]
lea ecx, [ebp - 0x28]
call fcn.00402b70
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x38]
push esi
push eax
call fcn.0049dbb0
push dword [esi - 8]
push esi
call fcn.004a4fb5
add esp, 0x14
test eax, eax
js 0x4e4cea
cmp eax, dword [esi - 8]
jg 0x4e4cea
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov byte [ebp - 4], 5
test ebx, ebx
je 0x4e4a9c
mov eax, dword [ebp - 0x48]
sub eax, ebx
sar eax, 1
cmp eax, 0x7fffffff
ja 0x4e4ce5
add eax, eax
cmp eax, 0x1000
jb 0x4e4a7e
test bl, 0x1f
jne 0x4e4ce5
mov eax, dword [ebx - 4]
cmp eax, ebx
jae 0x4e4ce5
sub ebx, eax
cmp ebx, 4
jb 0x4e4ce5
cmp ebx, 0x23
ja 0x4e4ce5
mov ebx, eax
push ebx
call fcn.0049aa1d
add esp, 4
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4e4b0a
mov eax, dword [ebp - 0x54]
sub eax, ecx
sar eax, 1
cmp eax, 0x7fffffff
ja 0x4e4ce5
add eax, eax
cmp eax, 0x1000
jb 0x4e4aec
test cl, 0x1f
jne 0x4e4ce5
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4e4ce5
sub ecx, eax
cmp ecx, 4
jb 0x4e4ce5
cmp ecx, 0x23
ja 0x4e4ce5
mov ecx, eax
push ecx
call fcn.0049aa1d
add esp, 4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4e4b78
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0x7fffffff
ja 0x4e4ce5
add eax, eax
cmp eax, 0x1000
jb 0x4e4b5a
test cl, 0x1f
jne 0x4e4ce5
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4e4ce5
sub ecx, eax
cmp ecx, 4
jb 0x4e4ce5
cmp ecx, 0x23
ja 0x4e4ce5
mov ecx, eax
push ecx
call fcn.0049aa1d
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e4bad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e4bab
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e4bad
call edx
mov ecx, dword [ebp - 0x3c]
cmp byte [edi + 0xd], 0
jne 0x4e4bf7
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x4e4bdc
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x4e4bf7
nop dword [eax]
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x4e4bd0
jmp 0x4e4bf7
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e4bf5
cmp edi, dword [eax + 8]
jne 0x4e4bf5
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e4be5
mov edi, eax
cmp edi, ecx
jne 0x4e4730
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
cmp ebx, edi
sete al
test al, al
jne 0x4e4c1f
sub edi, ebx
lea ecx, [ebp - 0x38]
lea eax, [edi + 2]
push eax
call fcn.00405210
mov ebx, dword [ebp - 0x38]
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x34]
cmp ebx, edi
mov esi, dword [ebp - 0x2c]
sete al
test al, al
jne 0x4e4cb2
lea eax, [ebp - 0x68]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x78]
push 0
push 0x2001f
push 0
push 0
push 0
push esi
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4e4cb2
mov eax, dword [ebp - 0x38]
sub edi, eax
mov ebx, dword [ebp - 0x2c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push 7
push 0
push str.IpLists
push ebx
call edi
push 8
lea eax, [ebp - 0x80]
push eax
push 3
push 0
push str.CacheTime
push ebx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x4e4ca1
push ebx
call edi
xor ebx, ebx
mov dword [ebp - 0x64], 1
test ebx, ebx
je 0x4e4caf
push ebx
call edi
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e4cfb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e4cf9
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e4cfb
call fcn.004a4e3e
push 0x80070057
call fcn.00401b40
call fcn.00402c20
call edx
test ebx, ebx
je 0x4e4d0e
mov ecx, dword [ebp - 0x30]
sub ecx, ebx
push ecx
push ebx
lea ecx, [ebp - 0x38]
call fcn.00405350
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049aa22
mov esp, ebp
pop ebp
ret 4