Function at 0x4f7bf0
Capabilities:
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4f81c6
sub esp, 0xa0
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x4f7c66
mov edx, dword [esp + 0xcc]
lea ebx, [edx - 1]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa4]
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
jmp 0x4f7ff0
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x80], eax
mov ebp, dword [esp + 0xbc]
cmp ebp, 0xa
jne 0x4f7c9c
mov ebp, eax
jmp 0x4f7e14
mov esi, eax
jmp 0x4f7ca8
mov edx, dword [esp + 0x78]
mov ebx, eax
mov eax, edi
test ecx, ecx
je 0x4f7d39
mov dword [esp + 0x64], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x18], eax
call fcn.004f8c50
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
jmp 0x4f7db0
mov edi, dword [esp + 0x74]
jmp 0x4f7ca0
mov edx, dword [esp + 0xb0]
jmp 0x4f7d49
mov byte [eax + edx - 1], 0x30
mov eax, ebx
test eax, eax
jle 0x4f7d56
lea ebx, [eax - 1]
cmp esi, ebx
ja 0x4f7d42
jmp 0x4f7d5d
add esp, 0xa0
ret
mov eax, ebx
mov ecx, esi
call fcn.00468ed0
mov byte [esp + 0x4b], dl
mov edx, dword [esp + 0xb0]
movzx ecx, byte [esp + 0x4b]
mov byte [edi + edx - 1], cl
mov edx, dword [esp + 0x58]
inc edx
mov dword [esp + 0x58], edx
mov edi, eax
mov eax, dword [esp + 0x54]
xor edx, edx
div ebp
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0x58]
cmp edi, edx
jle 0x4f7d30
mov edi, dword [esp + 0x74]
test edi, edi
jle 0x4f7ca0
test ebp, ebp
je 0x4f7e03
mov eax, ebx
xor edx, edx
div ebp
cmp edx, 0x3e
jae 0x4f7df7
mov dword [esp + 0x54], ebx
lea eax, [edi - 1]
lea ebx, [0x750714]
movzx edx, byte [ebx + edx]
cmp esi, eax
ja 0x4f7d66
mov ecx, esi
call fcn.00468ed0
mov eax, edx
mov ecx, 0x3e
call fcn.00468ee0
call fcn.004379d0
mov ebp, edi
mov edx, dword [esp + 0x7c]
mov ebx, eax
mov eax, dword [esp + 0x78]
test ecx, ecx
je 0x4f7e9e
mov dword [esp + 0x64], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x18], eax
call fcn.004f8c50
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
jmp 0x4f7ec9
mov ebp, dword [esp + 0x78]
jmp 0x4f7e08
mov esi, ebp
jmp 0x4f7d39
add ebx, 0x30
mov byte [ebp + esi - 1], bl
mov ebx, dword [esp + 0x5c]
inc ebx
mov ebp, dword [esp + 0xc0]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x5c], ebx
mov ebx, edx
mov edx, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
cmp ebp, edx
jle 0x4f7e95
mov ebp, dword [esp + 0x78]
test ebp, ebp
jle 0x4f7e08
lea eax, [ebp - 1]
mov dword [esp + 0x78], eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
shl eax, 1
sub ebx, eax
mov eax, dword [esp + 0x78]
cmp edi, eax
ja 0x4f7ea5
mov ecx, edi
call fcn.00468ed0
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0xb8]
sub edi, edx
mov dword [esp + 0x80], edi
sub ebx, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
mov edx, dword [esp + 0xb0]
add edi, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x6c], edx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x60]
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x2c], ecx
call fcn.004f7bf0
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
cmp dword [0x9372c8], eax
jge 0x4f8155
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], ebx
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004f2d80
mov eax, dword [esp + 0xc]
mov ecx, eax
sar eax, 1
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0x60]
jmp 0x4f8169
cmp edx, ebp
jbe 0x4f81b3
lea esi, [ebp + ebp*4]
lea edi, [ebx + esi*4 + 0xc]
cmp dword [edi], ecx
jge 0x4f805e
xor eax, eax
jmp 0x4f80b3
mov dword [esp + 0x74], ebp
mov eax, dword [ebx + esi*4]
mov ecx, dword [ebx + esi*4 + 4]
mov edx, dword [ebx + esi*4 + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
call fcn.004f04a0
mov eax, dword [esp + 0x18]
test eax, eax
setge al
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0x74]
test al, al
je 0x4f80c0
dec ebp
test ebp, ebp
jl 0x4f819b
cmp edx, ebp
jbe 0x4f8192
mov dword [esp + 0x60], ebp
lea eax, [ebp + ebp*4]
mov dword [esp + 0x70], eax
mov ecx, dword [ebx + eax*4]
mov edx, dword [ebx + eax*4 + 4]
mov esi, dword [ebx + eax*4 + 8]
mov edi, dword [esp + 0x9c]
mov dword [esp], edi
mov ebp, dword [esp + 0x78]
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
call fcn.004f88f0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + eax*4 + 0x10]
mov edx, dword [esp + 0x80]
mov ebx, edx
sub edx, eax
cmp ebx, edx
jae 0x4f7f04
jmp 0x4f8189
mov edx, ecx
mov ebx, ebp
mov ecx, eax
mov eax, dword [esp + 0x80]
jmp 0x4f7c82
mov ebp, esi
test ebp, ebp
jle 0x4f8046
lea esi, [ebp - 1]
cmp edx, esi
jbe 0x4f81bc
lea edi, [ebp + ebp*4]
lea edi, [ebx + edi*4 - 8]
cmp dword [edi], eax
jg 0x4f8167
jmp 0x4f8046
mov eax, edx
mov ecx, ebx
call fcn.00468f30
mov eax, ebp
mov ecx, edx
call fcn.00468ed0
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b0870]
mov dword [esp + 4], eax
call fcn.00438b10
mov eax, ebp
mov ecx, edx
call fcn.00468ed0
mov eax, esi
mov ecx, edx
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.004f7bf0