Function at 0x5f8010
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 - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x5f88ad
sub esp, 0x110
mov eax, dword [esp + 0x114]
movzx ecx, byte [eax + 0x38]
mov edx, dword [eax]
mov dword [esp + 0x98], edx
test cl, cl
je 0x5f8109
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5f809f
mov dword [esp], edx
call fcn.005ee210
lea edi, [esp + 0xb4]
lea esi, [esp + 4]
call fcn.0046952a
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x7c], ecx
lea edi, [esp]
lea esi, [esp + 0xb4]
call fcn.0046952a
mov ecx, dword [esp + 0x7c]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5f80bc
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov byte [esp + 4], 0x2a
call fcn.005e9f50
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp + 0xa0], edx
lea ebx, [0x6ff340]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409e40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call fcn.005eb1b0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f8558
mov eax, dword [esp + 0xc]
lea ecx, [0x705a80]
cmp eax, ecx
jne 0x5f816a
mov eax, dword [esp + 0x10]
jmp 0x5f816f
mov eax, 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
jne 0x5f8217
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x5f8190
mov ecx, dword [esp + 0x114]
jmp 0x5f81a4
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 0x34]
mov dword [edi + 4], edx
mov dword [ecx + 0x34], eax
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov dword [esp + 0xa0], edx
lea ebx, [0x6ff340]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409e40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
call fcn.005eb1b0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f81fa
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
jmp 0x5f8217
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
lea eax, [0x705ae0]
cmp ecx, eax
jne 0x5f8225
mov ebx, edx
jmp 0x5f822c
mov ebx, edx
mov edx, 0
jne 0x5f8484
mov eax, dword [edx + 0x10]
test eax, eax
je 0x5f8434
mov eax, dword [edx + 0x3c]
mov ecx, dword [edx + 0x40]
mov ebx, dword [edx + 0x38]
mov ebp, dword [esp + 0x98]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], ecx
mov eax, dword [0x995310]
test eax, eax
je 0x5f826a
call fcn.00468e70
mov dword [edi], ebx
mov eax, dword [ebp + 0x44]
mov dword [edi + 4], eax
mov dword [ebp + 0x44], ebx
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
mov ebx, dword [edx + 0x2c]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], ecx
mov eax, dword [0x995310]
test eax, eax
je 0x5f8293
call fcn.00468e70
mov dword [edi], ebx
mov eax, dword [ebp + 0x38]
mov dword [edi + 4], eax
mov dword [ebp + 0x38], ebx
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005f43a0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5f8417
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005eb1b0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f83fa
mov eax, dword [esp + 0xc]
lea ecx, [0x7059c0]
cmp eax, ecx
jne 0x5f82fe
mov edx, dword [esp + 0x10]
jmp 0x5f8303
mov edx, 0
mov dword [esp + 0x90], edx
jne 0x5f8323
movzx eax, word [edx + 0xe]
mov ecx, dword [0x967be0]
mov ebx, dword [0x967be4]
xor ebp, ebp
jmp 0x5f8576
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov byte [esp + 4], 0xa
call fcn.005e9f50
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa8], eax
lea eax, [0x7059c0]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb0], eax
lea eax, [0x751a0c]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.005e9f50
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x74a9af]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov dword [esp + 0x94], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e9f50
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], eax
lea eax, [0x705ae0]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xb0], eax
lea eax, [0x751a0c]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
inc ebp
cmp ebp, ebx
jge 0x5f8853
lea esi, [ecx + ebp*2]
cmp word [esi], ax
jne 0x5f8575
mov word [esp], ax
call fcn.005dfcf0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5f8822
movzx eax, byte [esp + 4]
cmp al, 0xe1
je 0x5f85ae
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x5f85fe
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005e9f50
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x74f200]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov byte [esp + 0x67], al
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x114]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov dword [esp], ecx
lea ebp, [0x747b18]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005dfab0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x54]
test ecx, ecx
jbe 0x5f88a3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [eax + 0x50]
mov ebp, dword [ebp]
mov esi, dword [ebp + 0x50]
mov ebp, dword [ebp + 0x54]
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x78], edi
movzx edi, byte [esp + 0x67]
xchg edi, eax
mov byte [esp], al
xchg edi, eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
call fcn.005df610
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5f8796
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov byte [esp + 4], 0x33
call fcn.005e9f50
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x74e157]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x32
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00452120
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
lea edx, [0x701240]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x5f876b
mov ecx, dword [esp + 0x80]
jmp 0x5f8779
call fcn.00468e60
mov ecx, dword [esp + 0x80]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp + 0xa0], eax
lea edx, [0x6ff340]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409e40
lea eax, [0x7b1a04]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
call fcn.0060dcd0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5f8805
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e9f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005e9f50
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x74f200]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
xor eax, eax
mov ecx, eax
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.005f8010