Function at 0x4f07f0
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]
cmp esp, dword [ecx + 8]
jbe 0x4f0bbb
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x94]
cmp ebx, ecx
jne 0x4f0ba2
mov ebp, dword [esp + 0x7c]
cmp ebp, ecx
jne 0x4f0ba2
mov ebp, dword [esp + 0x88]
cmp ebp, ecx
jne 0x4f0ba2
mov eax, ecx
shl ecx, 1
mov edx, dword [esp + 0x68]
cmp edx, ecx
jl 0x4f0850
jb 0x4f0b9d
mov esi, dword [esp + 0x60]
jmp 0x4f08d8
cmp ecx, 1
jne 0x4f0897
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x88]
mov ecx, 1
mov edx, 1
mov esi, eax
mov eax, dword [esp + 0x94]
jmp 0x4f08d8
mov dword [esp + 0x34], ecx
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x88]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], esi
nop
test ecx, ecx
je 0x4f0916
mov dword [esp], esi
shl ecx, 2
mov dword [esp + 4], ecx
call fcn.00469620
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
jmp 0x4f0968
mov ecx, dword [esp + 0x38]
inc ecx
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x94]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x88]
mov esi, edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
cmp eax, ebp
jle 0x4f0a86
lea ecx, [ebp + eax]
mov edi, dword [esp + 0x78]
mov edi, dword [edi + ebp*4]
cmp edx, ecx
jb 0x4f0b98
cmp ebp, ecx
ja 0x4f0b91
mov dword [esp + 0x48], ecx
mov ecx, ebp
shl ebp, 2
sub edx, ecx
mov dword [esp + 0x44], edx
neg edx
sar edx, 0x1f
and ebp, edx
lea edx, [esi + ebp]
mov dword [esp + 0x58], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
call fcn.004fc9b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x4f0b8c
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + eax*4]
mov ebp, dword [esp + 0x58]
mov dword [esp], ebp
mov ebp, dword [esp + 0x94]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x90]
imul ebx, edi
mov dword [esp + 0x18], ebx
call fcn.004fc9b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add edx, ecx
lea ebx, [edx + eax]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
cmp ebp, esi
jbe 0x4f0b83
mov edi, dword [esp + 0x54]
mov dword [edi + esi*4], ebx
cmp ecx, edx
ja 0x4f0a75
cmp eax, ebx
jbe 0x4f0a7f
mov eax, 1
jmp 0x4f0930
xor eax, eax
jmp 0x4f0930
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x4f0afe
cmp eax, edx
ja 0x4f0b7c
cmp eax, ecx
ja 0x4f0b77
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
sub edx, eax
sub ecx, eax
mov ebp, edx
neg edx
shl eax, 2
sar edx, 0x1f
and eax, edx
add eax, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
call fcn.004fc830
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x54]
jmp 0x4f0b47
cmp eax, edx
ja 0x4f0b70
cmp eax, ecx
ja 0x4f0b6b
sub ecx, eax
mov ebx, edx
sub ebx, eax
neg ebx
mov ebp, eax
shl eax, 2
sar ebx, 0x1f
and eax, ebx
lea ebx, [esi + eax]
cmp ebp, ecx
jg 0x4f0b21
mov ecx, ebp
test eax, eax
je 0x4f0b47
mov dword [esp], esi
mov dword [esp + 4], ebx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.004697f0
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x54]
cmp ebp, edx
ja 0x4f0b64
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], edx
add esp, 0x5c
ret
mov ecx, ebp
call fcn.00468f10
call fcn.00468f30
mov ecx, eax
call fcn.00468f10
call fcn.00468f30
mov ecx, eax
call fcn.00468f10
mov eax, esi
mov ecx, ebp
call fcn.00468ed0
call fcn.00468ed0
mov eax, ebp
call fcn.00468f30
call fcn.00468f10
call fcn.00468f10
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b0858]
mov dword [esp + 4], eax
call fcn.00438b10
nop
call fcn.00467a60
jmp fcn.004f07f0