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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cbbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], edi
test byte [edi + 0x170], 1
jne 0x484112
mov eax, dword [edi + 0x160]
xor esi, esi
cmp eax, esi
je 0x484112
lea ecx, [ebp - 0x54]
call fcn.00464430
mov ecx, dword [edi + 0x160]
mov dword [ebp - 4], esi
cmp ecx, esi
mov dword [ebp - 0x44], esi
jne 0x483dc2
xor eax, eax
jmp 0x483dc8
mov eax, dword [edi + 0x158]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00464ba0
cmp dword [edi + 0x160], esi
jne 0x483ddf
mov dword [ebp - 0x2c], esi
jmp 0x483de8
mov eax, dword [edi + 0x158]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [0x94f978]
neg eax
sbb eax, eax
mov dword [ebp - 0x14], ecx
and eax, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [edi + 0x120]
xor eax, eax
cmp ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], eax
jle 0x4840ac
mov ecx, dword [edi + 0x11c]
mov edx, dword [edi + 0x74]
mov edi, dword [ecx + eax*4]
mov esi, dword [edx + eax*8 + 4]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
mov ebx, dword [edi + 0x18]
push edx
add ebx, ecx
mov ecx, esi
mov dword [ebp - 0x1c], edi
call fcn.00511c96
mov eax, dword [edi + 0x14]
dec eax
cmp eax, 9
ja case.default.0x483e4d
jmp dword [eax*4 + 0x484564]
mov eax, dword [ebp - 0x14]
push eax
call fcn.004fe298
add esp, 4
cmp eax, 0xff
jg 0x483e80
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004fe298
add esp, 4
test eax, eax
jge 0x483e80
xor eax, eax
mov byte [ebx], al
jmp 0x48402f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004fe298
add esp, 4
cmp eax, 0xff
jle 0x483e9f
mov eax, 0xff
mov byte [ebx], al
jmp 0x48402f
mov eax, dword [ebp - 0x14]
push eax
call fcn.004fe298
add esp, 4
mov byte [ebx], al
jmp 0x48402f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004fe298
add esp, 4
cmp eax, 0x7fff
jg 0x483ee5
mov edx, dword [ebp - 0x14]
push edx
call fcn.004fe298
add esp, 4
cmp eax, 0xffff8000
jge 0x483ee5
mov eax, 0xffff8000
mov word [ebx], ax
jmp 0x48402f
mov eax, dword [ebp - 0x14]
push eax
call fcn.004fe298
add esp, 4
cmp eax, 0x7fff
jle 0x483f05
mov eax, 0x7fff
mov word [ebx], ax
jmp 0x48402f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004fe298
add esp, 4
mov word [ebx], ax
jmp 0x48402f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004fe2a3
add esp, 4
test edx, edx
jg 0x483f5f
jl 0x483f32
cmp eax, 0x7fffffff
ja 0x483f5f
mov eax, dword [ebp - 0x14]
push eax
call fcn.004fe2a3
add esp, 4
cmp edx, 0xffffffff
jg 0x483f5f
jl 0x483f4c
cmp eax, 0x80000000
jae 0x483f5f
mov eax, closesocket
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebx], eax
jmp 0x48402f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004fe2a3
add esp, 4
test edx, edx
jl 0x483f8b
jg 0x483f78
cmp eax, 0x7fffffff
jbe 0x483f8b
mov eax, closesocket
mov dword [ebp - 0x30], 0
mov dword [ebx], eax
jmp 0x48402f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004fe2a3
add esp, 4
mov dword [ebp - 0x30], edx
mov dword [ebx], eax
jmp 0x48402f
mov eax, dword [ebp - 0x14]
push eax
call fcn.004fe2a3
mov dword [ebx], eax
add esp, 4
mov dword [ebx + 4], edx
jmp 0x48402f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004fe1b6
fstp dword [ebx]
add esp, 4
jmp 0x48402f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004fe1b6
fstp qword [ebx]
add esp, 4
jmp 0x48402f
mov eax, dword [ebp - 0x14]
push ebx
push eax
call fcn.00481fa0
add esp, 8
jmp 0x48402f
mov ecx, dword [edi + 0x1c]
push ecx
push ebx
call fcn.004ca420
mov esi, dword [ebp - 0x14]
mov ecx, dword [edi + 0x1c]
add esp, 8
mov eax, dword [esi - 8]
cmp ecx, eax
jl 0x483fff
mov ecx, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
jmp 0x48402f
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
sete cl
mov byte [ebx], cl
mov eax, dword [ebp - 0x18]
test eax, eax
jne case.default.0x483e4d
mov eax, dword [edi + 0x14]
cmp eax, 0xa
jne 0x484043
mov ecx, dword [edi + 0x1c]
jmp 0x484073
dec eax
cmp eax, 0xb
ja case.default.0x484049
jmp dword [eax*4 + 0x48458c]
mov ecx, 1
jmp 0x484073
mov ecx, 2
jmp 0x484073
mov ecx, 8
jmp 0x484073
xor ecx, ecx
jmp 0x484073
mov ecx, 4
jmp 0x484073
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov edi, ebx
mov esi, dword [edx + 0x18]
add esi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je case.default.0x483e4d
mov dword [ebp - 0x18], 1
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
inc eax
mov ecx, dword [edi + 0x120]
mov dword [ebp - 0x20], eax
cmp eax, ecx
jl 0x483e1a
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x484128
mov edx, dword [ebp - 0x28]
mov eax, dword [edi + 0x14c]
xor ecx, ecx
cmp dword [edx], 0
setl cl
cmp eax, ecx
jne 0x484128
mov ecx, dword [edi + 0x148]
mov eax, ecx
test eax, eax
jne 0x4840d1
xor eax, eax
jmp 0x4840d7
mov eax, dword [edi + 0x140]
push 1
push ecx
push eax
call fcn.004ca490
add esp, 0xc
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
test eax, eax
jne 0x484128
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x14]
call fcn.0050f8b6
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0x923000
call fcn.00464630
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0x168]
call fcn.0050f841
mov ecx, dword [edi + 0x68]
mov eax, dword [ecx + 0xc4]
test eax, eax
jge 0x48414a
mov ebx, 0xffffffc4
jmp 0x4844d9
push 1
push eax
call fcn.00496a30
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
jne 0x4844d9
lea ecx, [ebp - 0x60]
call fcn.0050fe84
mov eax, dword [edi + 0x68]
push 2
push ebx
mov byte [ebp - 4], 3
mov esi, dword [eax + 0xc4]
mov ecx, dword [eax + 0x1c]
imul esi, dword [eax + 0x60]
mov edx, dword [eax + 0xc0]
mov dword [ebp - 0x3c], ecx
add esi, edx
mov edx, dword [ecx]
mov dword [ebp - 0x58], esi
call dword [edx + 0x28]
cmp esi, eax
jl 0x4841ac
mov ebx, 0xffffffc4
mov byte [ebp - 4], 1
call fcn.0050fec2
mov byte [ebp - 4], 1
jmp 0x4844c4
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + 0xc8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00497040
mov eax, dword [edi + 0x148]
xor edx, edx
cmp eax, edx
mov byte [ebp - 4], 4
jne 0x4841d3
mov dword [ebp - 0x18], edx
jmp 0x4841dc
mov eax, dword [edi + 0x140]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [edi + 0x120]
mov dword [ebp - 0x20], edx
cmp edx, eax
jge 0x48427d
mov ecx, dword [edi + 0x11c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x40], eax
mov ecx, dword [eax + 0x14]
cmp ecx, 0xc
je 0x484209
cmp ecx, 0xb
jne 0x484277
mov edx, dword [ebp - 0x18]
cmp byte [edx], 0
je 0x484263
mov eax, dword [edi + 0x12c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov esi, dword [eax + 0x10]
test esi, esi
jne 0x484228
xor ebx, ebx
jmp 0x48422b
mov ebx, dword [eax + 8]
cmp ecx, 0xc
jne 0x484243
push 0
push esi
push ebx
call fcn.004ca490
add esp, 0xc
cmp eax, 0xffffffff
je 0x484243
mov esi, eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
add eax, edx
push eax
mov ecx, dword [eax]
push ecx
push esi
push ebx
lea ecx, [ebp - 0x34]
call fcn.004970a0
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x484281
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
inc ecx
inc eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
inc edx
jmp 0x4841df
test ebx, ebx
je 0x48429f
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00497080
mov byte [ebp - 4], 1
call fcn.0050fec2
mov byte [ebp - 4], 1
jmp 0x4844c1
mov ecx, dword [edi + 0x148]
mov eax, ecx
test eax, eax
jne 0x4842af
xor eax, eax
jmp 0x4842b5
mov eax, dword [edi + 0x140]
push ecx
push eax
call fcn.004ca420
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, esi
mov edx, dword [esi]
push 0
push eax
call dword [edx + 0x28]
mov eax, dword [edi + 0x68]
mov ebx, dword [ebp - 0x28]
mov edx, dword [esi]
mov ecx, dword [eax + 0x60]
push ecx
push ebx
mov ecx, esi
call dword [edx + 0x38]
mov esi, dword [ebx]
xor edx, edx
test esi, esi
lea eax, [ebp - 0x54]
lea ecx, [edi + 0x150]
setl dl
push eax
mov dword [edi + 0x14c], edx
call fcn.004647b0
lea ecx, [ebp - 0x88]
call fcn.00464430
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.00464430
xor ecx, ecx
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], ecx
mov eax, dword [edi + 0x68]
cmp ecx, dword [eax + 0xd0]
jge 0x48447d
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], ecx
lea edx, [eax + edx*4 + 0xfc]
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x18]
mov ebx, dword [edx + 0x18]
cmp esi, ebx
jge 0x4843ed
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov eax, dword [eax + ecx*4 + 0x1c]
lea edx, [eax + eax*8]
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + 0xbc]
mov eax, dword [ecx + edx*8 + 0x14]
cmp eax, 0xa
lea ebx, [ecx + edx*8]
jne 0x484381
mov esi, dword [ebx + 0x1c]
jmp 0x4843b1
dec eax
cmp eax, 0xb
ja case.default.0x484387
jmp dword [eax*4 + 0x4845bc]
mov esi, 1
jmp 0x4843b1
mov esi, 2
jmp 0x4843b1
mov esi, 8
jmp 0x4843b1
xor esi, esi
jmp 0x4843b1
mov esi, 4
jmp 0x4843b1
or esi, 0xffffffff
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0x18]
add edx, ecx
push esi
push edx
lea ecx, [ebp - 0x88]
call fcn.00464ba0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebx + 0x18]
add eax, edx
push esi
push eax
lea ecx, [ebp - 0x74]
call fcn.00464ba0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x78]
jmp 0x48434d
mov edx, dword [edx + 0xc]
cmp eax, edx
jne 0x484468
cmp ecx, edx
jne 0x484468
mov edx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x80]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [edi + 0x68]
neg eax
sbb eax, eax
mov esi, ecx
mov ecx, dword [ebp - 0x1c]
and eax, ebx
mov ebx, eax
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, dword [edx + eax*4 + 0xd4]
push ecx
lea ecx, [ebp - 0x2e0]
call fcn.00497780
mov edx, dword [edi + 0x68]
mov byte [ebp - 4], 7
mov ecx, dword [edx + 0xc4]
push ecx
push esi
push ebx
mov ecx, eax
call fcn.0049a3f0
lea ecx, [ebp - 0x2e0]
mov esi, eax
mov byte [ebp - 4], 6
call fcn.004977f0
test esi, esi
je 0x48446f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
inc eax
mov dword [ebp - 0x20], eax
mov ecx, eax
jmp 0x48431f
mov dword [ebp - 0x24], 0xffffffc0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov ecx, eax
jmp 0x48431f
mov esi, 0x923000
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
mov dword [ebp - 0x74], esi
call fcn.00464630
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
mov dword [ebp - 0x88], esi
call fcn.00464630
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00497080
mov dword [ebp - 4], 1
call fcn.0050fec2
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [edi + 0x68]
push 0
mov eax, dword [ecx + 0xc4]
push eax
call fcn.00496a30
test ebx, ebx
je 0x4844ee
push ebx
call fcn.004967b0
add esp, 4
lea ecx, [edi + 0x168]
push eax
call fcn.0050f9f3
mov ecx, edi
call fcn.00483c00
xor eax, eax
lea ecx, [ebp - 0x14]
test ebx, ebx
sete al
mov esi, eax
mov byte [ebp - 4], 0
call fcn.0050f8b6
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0x923000
call fcn.00464630
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret