Function at 0x4e52d0
Capabilities:
Encode data using xor
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
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 dword [ebp - 0x438], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004021e0
lea esi, [eax + 0x10]
mov dword [ebp - 0x42c], esi
mov byte [ebp - 4], 1
mov edi, dword [esi - 0xc]
test edi, edi
jns 0x4e533d
push 0x80070057
call fcn.00401b40
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4e5360
push edi
lea ecx, [ebp - 0x42c]
call fcn.00402c70
mov esi, dword [ebp - 0x42c]
lea eax, [edi + 1]
push eax
push esi
call fcn.004aff30
add esp, 8
cmp edi, dword [esi - 8]
jg 0x4e5333
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
push 0x400
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 2
call fcn.00425ce0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
push 0x400
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 3
call fcn.00425ce0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
push 0x1000
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 4
call fcn.00425ce0
push 0x38
lea eax, [ebp - 0x4a8]
push 0
push eax
call fcn.0049e130
mov ecx, dword [ebp - 0x468]
add esp, 0xc
mov eax, dword [ebp - 0x464]
sub eax, ecx
mov dword [ebp - 0x4a8], ecx
mov ecx, dword [ebp - 0x45c]
sar eax, 1
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp - 0x458]
sub eax, ecx
mov dword [ebp - 0x49c], ecx
mov ecx, dword [ebp - 0x450]
sar eax, 1
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x44c]
sub eax, ecx
mov dword [ebp - 0x4ac], 0x3c
sar eax, 1
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x4ac]
push eax
push 0x10000000
mov dword [ebp - 0x480], ecx
push dword [esi - 0xc]
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
or ebx, 0xffffffff
test eax, eax
je 0x4e5588
push dword [ebp - 0x49c]
lea ecx, [ebp - 0x430]
call fcn.00401ff0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x434]
push dword [ebp - 0x498]
lea ecx, [ebp - 0x430]
push 0
push eax
call fcn.00403370
mov byte [ebp - 4], 6
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4e5510
cmp dword [edi + 0xc], 0
jl 0x4e54fb
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4e54fb
call fcn.004021e0
mov ecx, edi
mov esi, eax
call fcn.00402e90
add esi, 0x10
mov dword [ebp - 0x42c], esi
jmp 0x4e5510
push dword [edx - 0xc]
lea ecx, [ebp - 0x42c]
push edx
call fcn.00402d50
mov esi, dword [ebp - 0x42c]
mov byte [ebp - 4], 5
mov eax, ebx
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e554c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e5548
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e554c
mov ecx, edx
call edi
mov byte [ebp - 4], 4
mov eax, ebx
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e5588
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e5584
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e5588
mov ecx, edx
call edi
push 0x401
lea eax, [ebp - 0x424]
mov dword [ebp - method.CCrc32.virtual_0], vtable.CCrc32.0
push 0
push eax
call fcn.0049e130
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.004d0220
mov byte [ebp - 4], 7
cmp dword [esi - 4], 1
mov ebx, dword [esi - 0xc]
jle 0x4e55d2
push ebx
lea ecx, [ebp - 0x42c]
call fcn.00402b70
mov esi, dword [ebp - 0x42c]
add ebx, ebx
or edx, 0xffffffff
xor edi, edi
test ebx, ebx
jle 0x4e55f8
nop dword [eax]
movsx ecx, byte [edi + esi]
inc edi
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x424]
cmp edi, ebx
jl 0x4e55e0
mov edi, dword [ebp - 0x43c]
not edx
mov dword [ebp - 0x434], edx
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
call fcn.00415790
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x438]
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x438], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x444]
lea ecx, [edi + 0x28]
push eax
call fcn.00415c70
mov edi, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x440]
cmp edi, ecx
je 0x4e5826
or esi, 0xffffffff
nop dword [eax]
cmp dword [edi + 0x24], 0
je 0x4e57d8
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x470]
sub ecx, dword [edi + 0x18]
mov eax, dword [ebp - 0x46c]
sbb eax, dword [edi + 0x1c]
push 0
push 0xa
push eax
push ecx
call fcn.0049b990
push 0
push 0x3e8
push edx
push eax
call fcn.0049b990
push 0
push 0x3e8
push edx
push eax
call fcn.0049b990
test edx, edx
jl 0x4e56d7
jg 0x4e56cb
cmp eax, 0x15180
jbe 0x4e56d7
mov dword [edi + 0x24], 0
jmp 0x4e57d2
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004021e0
add eax, 0x10
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x4e5784
push 0x55e0f4
push eax
call fcn.0049d574
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4e5784
sub ebx, dword [ebp + 8]
sar ebx, 1
test ebx, ebx
jle 0x4e5784
push 0x55e0fc
lea edx, [edi + 0x20]
lea ecx, [ebp - 0x434]
call fcn.00401d60
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebx + 3]
push dword [ebp - 0x434]
lea ecx, [ebp - 0x430]
push eax
call fcn.00425d70
mov byte [ebp - 4], 8
mov eax, esi
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e5784
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e5780
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e5784
mov ecx, edx
call ebx
mov ecx, dword [ebp - 0x43c]
lea eax, [ebp - 0x430]
push eax
call fcn.00411620
mov byte [ebp - 4], 7
mov eax, esi
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e57d2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e57ce
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4e57d2
mov ecx, edx
call ebx
mov ecx, dword [ebp - 0x440]
cmp byte [edi + 0xd], 0
jne 0x4e5818
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x4e57fd
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x4e5818
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x4e57f1
jmp 0x4e5818
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e5816
cmp edi, dword [eax + 8]
jne 0x4e5816
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e5806
mov edi, eax
cmp edi, ecx
jne 0x4e5660
mov esi, dword [ebp - 0x42c]
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x43c]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
mov ecx, 1
sete al
test al, al
mov eax, 0
cmove eax, ecx
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x438], eax
test ecx, ecx
je 0x4e5876
mov eax, dword [ebp - 0x448]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x450]
call fcn.00403010
mov ecx, dword [ebp - 0x45c]
test ecx, ecx
je 0x4e5897
mov eax, dword [ebp - 0x454]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x45c]
call fcn.00403010
mov ecx, dword [ebp - 0x468]
test ecx, ecx
je 0x4e58b8
mov eax, dword [ebp - 0x460]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x468]
call fcn.00403010
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e58f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e58ef
mov eax, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call edi
jmp 0x4e58f7
call edx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4e592d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4e5929
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x4e592d
mov ecx, edx
call esi
mov eax, dword [ebp - 0x438]
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 8