Function at 0x48ea50
Capabilities:
Reference http user-agent string

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51d748
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x58]
push 0xffffffffffffffff
push 0
call fcn.0048ef80
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x48ee5e
mov eax, dword [ecx]
push ebp
push esi
push edi
call dword [eax + 8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ebp, eax
xor edi, edi
xor esi, esi
mov dword [esp + 0x18], ebp
test ebp, ebp
jle 0x48eab5
mov ecx, dword [ebx + 0xc]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
add edi, eax
inc esi
cmp esi, ebp
jl 0x48eaa5
mov ecx, dword [esp + 0x60]
call fcn.0048f290
mov ecx, eax
mov eax, dword [esp + 0x58]
cmp ecx, 0xffffffff
je 0x48ead2
cmp ecx, 0xfffffffe
jne 0x48eae8
cmp edi, eax
jle 0x48eae3
push edi
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp ecx, 0xfffffffe
jne 0x48eae8
mov ecx, 0x64
mov eax, dword [esp + 0x5c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov ebp, eax
mov dword [esp + 0x5c], ebp
call dword [edx + 0x18]
mov edi, eax
xor esi, esi
test edi, edi
jle 0x48eb22
mov ecx, dword [ebx + 0xc]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
sub ebp, eax
inc esi
cmp esi, edi
jl 0x48eb0e
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x60]
cmp dword [ecx + 0x30], 2
jne 0x48eb5b
mov eax, dword [ecx + 0x34]
lea esi, [eax - 1]
cmp edi, esi
jle 0x48eb38
mov esi, edi
mov eax, dword [ecx + 0x38]
test eax, eax
jg 0x48eb4a
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x14], eax
jmp 0x48eb66
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x48eb54
mov eax, ecx
dec eax
mov dword [esp + 0x14], eax
jmp 0x48eb66
mov ecx, dword [esp + 0x10]
mov esi, edi
dec ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
call fcn.00464430
mov dword [esp + 0x34], 0x923534
xor ebp, ebp
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], ebp
call fcn.004646c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
cmp esi, eax
jg 0x48ec59
mov dword [esp + 0x58], esi
mov edi, esi
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x58]
test eax, eax
jg 0x48ebb3
mov ecx, dword [ebx + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
add ebp, eax
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x48ebe1
push esi
push edi
mov ecx, ebx
call fcn.0048d6e0
test eax, 0x200000
jne 0x48ebd8
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jge 0x48ebe1
jmp 0x48ebbd
cmp esi, dword [esp + 0x18]
jge 0x48ebe1
inc edi
jmp 0x48eb9d
mov ecx, dword [esp + 0x60]
lea esi, [edi + 1]
mov eax, dword [ecx + 0x58]
test eax, eax
jg 0x48ec2f
cmp ebp, dword [esp + 0x5c]
jle 0x48ec4f
mov eax, dword [esp + 0x44]
shr eax, 2
dec eax
js 0x48ec13
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
cmp dword [edx + eax*4], ecx
jne 0x48ec17
inc ecx
mov dword [esp + 0x58], ecx
jmp 0x48ec17
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x10]
jge 0x48ec27
push ecx
lea ecx, [esp + 0x38]
call fcn.004646c0
mov esi, dword [esp + 0x58]
xor ebp, ebp
jmp 0x48ec4f
cmp esi, dword [esp + 0x10]
jge 0x48ec4f
mov edi, dword [esp + 0x1c]
mov ecx, esi
sub ecx, edi
cmp ecx, eax
jl 0x48ec4f
push esi
lea ecx, [esp + 0x38]
call fcn.004646c0
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0x14]
jle 0x48eb97
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
shr edx, 2
mov eax, dword [esi + 0x30]
dec edx
cmp eax, 1
mov dword [esp + 0x10], edx
jne 0x48ec91
mov eax, dword [esi + 0x34]
xor ecx, ecx
dec eax
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jle 0x48ec93
dec ecx
cmp edx, ecx
jl 0x48ec93
mov dword [esp + 0x5c], ecx
jmp 0x48ec97
xor eax, eax
mov dword [esp + 0x5c], edx
mov esi, dword [esi + 0x18]
mov ecx, dword [esp + 0x5c]
add esi, eax
mov edi, eax
cmp eax, ecx
mov dword [esp + 0x58], edi
jg 0x48ee42
mov ecx, 1
sub ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], esi
inc esi
cmp edi, edx
mov ebx, dword [eax + edi*4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ebx
jge 0x48ecdc
mov ebp, dword [eax + edi*4 + 4]
dec ebp
mov dword [esp + 0x30], ebp
jmp 0x48ece6
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov ebp, eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x48ed11
cmp eax, 1
jne 0x48ecfd
lea ebx, [ecx + edi]
test al, bl
jne 0x48ed11
cmp eax, 2
jne 0x48ee31
lea eax, [ecx + edi]
test al, 1
jne 0x48ee31
mov edx, dword [esp + 0x64]
mov esi, dword [edx + 4]
mov eax, dword [edx]
mov dword [esp + 0x18], esi
lea ebx, [esi + 1]
test ebx, ebx
jne 0x48ed4b
test eax, eax
je 0x48ed3e
push eax
call fcn.0050f620
mov ecx, dword [esp + 0x68]
add esp, 4
mov edx, ecx
mov dword [ecx], 0
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 4], eax
jmp 0x48ee0d
test eax, eax
jne 0x48ed6f
lea edx, [ebx + ebx*2]
shl edx, 2
push edx
call fcn.0050f5f7
mov ecx, dword [esp + 0x68]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 4], ebx
jmp 0x48ee09
mov ecx, dword [edx + 8]
cmp ebx, ecx
jg 0x48ed7e
mov dword [edx + 4], ebx
jmp 0x48ee0d
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x48eda8
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x48ed9c
mov eax, 4
jmp 0x48eda8
cmp eax, 0x400
jle 0x48eda8
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov ebp, eax
jl 0x48edb2
mov ebp, ebx
lea eax, [ebp + ebp*2]
shl eax, 2
push eax
call fcn.0050f5f7
mov edx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov edi, eax
mov ecx, dword [edx + 4]
mov esi, dword [edx]
lea ecx, [ecx + ecx*2]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [edx]
push edx
call fcn.0050f620
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x20]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x38]
add esp, 8
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov edx, dword [esp + 0x64]
mov ecx, dword [edx]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x20]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 8], ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
inc edi
cmp edi, eax
mov dword [esp + 0x58], edi
jle 0x48ecb9
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x34], 0x923530
call fcn.00464630
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0x10