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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cfb20
sub esp, 0x54
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
xor eax, eax
jmp 0x4cf76f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
cmp ecx, eax
jle 0x4cf9a9
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x5c]
movzx ebp, byte [ebx + eax]
cmp ebp, 0x80
jge 0x4cf794
lea esi, [eax + 1]
jmp 0x4cf7ac
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004600b0
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jne 0x4cf7e3
cmp ecx, 0xfffd
jne 0x4cf76b
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jmp 0x4cf7f5
cmp ecx, 0xfffd
jne 0x4cf839
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jb 0x4cfb18
sub ecx, edx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
mov ebp, dword [esp + 0x5c]
add ecx, ebp
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00474ae0
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x4cf833
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x28]
cmp ecx, ebx
je 0x4cf76b
jmp 0x4cf899
mov ebx, dword [esp + 0x28]
jmp 0x4cf899
test ecx, ecx
jge 0x4cf844
mov ecx, 0xffffffff
jmp 0x4cf897
cmp ecx, 0x7f
jg 0x4cf850
mov ecx, 1
jmp 0x4cf897
cmp ecx, 0x7ff
jg 0x4cf85f
mov ecx, 2
jmp 0x4cf897
lea edx, [ecx - 0xd800]
cmp edx, 0x7ff
ja 0x4cf874
mov ecx, 0xffffffff
jmp 0x4cf897
cmp ecx, 0xffff
jg 0x4cf883
mov ecx, 3
jmp 0x4cf897
cmp ecx, 0x10ffff
jg 0x4cf892
mov ecx, 4
jmp 0x4cf897
mov ecx, 0xffffffff
mov eax, ecx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 4]
mov dword [esp + 4], edx
call fcn.004cbd10
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jb 0x4cfb13
mov eax, dword [esp + 0x44]
nop
test eax, eax
je 0x4cf8da
lea ebx, [esp + 0x44]
cmp eax, ebx
je 0x4cf8e2
jmp 0x4cfafb
lea eax, [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
lea ebp, [ecx + ebx]
mov esi, dword [esp + 0x48]
cmp eax, ebp
jae 0x4cf92b
mov dword [esp + 0x38], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebp
lea edx, [esi + ebx]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004697f0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x4cf97e
lea ecx, [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004cbee0
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
lea eax, [ebp + ebx]
mov ecx, dword [esp + 0x60]
cmp ecx, eax
jb 0x4cfaf6
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x5c]
add eax, ecx
jmp 0x4cf9af
mov ebx, ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4cf9c3
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
xor ecx, ecx
jmp 0x4cf9db
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
jge 0x4cfab4
movzx ebp, byte [ecx + eax]
cmp ebp, 0x80
jge 0x4cf9f2
inc ecx
jmp 0x4cfa0a
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004600b0
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
test eax, eax
jl 0x4cf9cf
cmp eax, 0x80
jge 0x4cfaa3
mov ecx, dword [esp + 0x44]
nop
nop
test ecx, ecx
je 0x4cfa3f
lea ebx, [esp + 0x44]
cmp ecx, ebx
je 0x4cfa47
jmp 0x4cfade
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
inc ebx
mov ebp, dword [esp + 0x48]
cmp ecx, ebx
jae 0x4cfa96
mov dword [esp + 0x24], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
mov byte [ebx + ebp - 1], al
jmp 0x4cf9cf
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.004cbee0
jmp 0x4cf9cf
mov eax, dword [esp + 0x48]
mov ecx, eax
neg eax
mov edx, dword [esp + 0x4c]
cmp edx, eax
ja 0x4cfad0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
add esp, 0x54
ret
test ecx, ecx
je 0x4cfad9
call fcn.0045ff10
call fcn.0045ff50
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b028c]
mov dword [esp + 4], eax
call fcn.00438b10
call fcn.00468f30
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b028c]
mov dword [esp + 4], eax
call fcn.00438b10
call fcn.00468ef0
mov eax, edx
call fcn.00468f30
nop
call fcn.00467a60
jmp fcn.004cf730