Function at 0x6a5dd0
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 0x6a6229
sub esp, 0x5c
call fcn.0040cf60
mov eax, dword [esp]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x6a5e24
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov ebp, 1
test ebx, ebx
je 0x6a6211
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], edi
cmp ebx, 4
jge 0x6a5e55
xor ecx, ecx
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
xor ecx, ecx
jmp 0x6a5ed2
lea eax, [edx - 4]
neg eax
sar eax, 0x1f
and eax, 4
lea esi, [ebx - 4]
mov edi, dword [ecx]
bswap edi
nop
add eax, ecx
cmp edi, esi
jbe 0x6a5ea0
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
xor ecx, ecx
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp + 0x48], eax
xor esi, esi
mov dword [esp + 0x34], esi
xor edi, edi
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
jmp 0x6a5ed2
sub ebx, edi
sub edx, edi
lea ecx, [edx - 4]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, edi
add ecx, eax
add ebx, 0xfffffffc
mov esi, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
mov ecx, 1
test cl, cl
je 0x6a61f1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebx
xchg ebp, eax
mov byte [esp + 0x1f], al
xchg ebp, eax
mov dword [esp], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.004523c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
movzx edx, byte [esp + 0x1f]
test dl, dl
je 0x6a5f4d
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call fcn.004033f0
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x6a61a7
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
cmp edx, 4
jge 0x6a5f70
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x44], edx
xor edx, edx
jmp 0x6a5fed
mov ebx, dword [esp + 0x2c]
lea ebp, [ebx - 4]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 4
lea edi, [edx - 4]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
bswap eax
nop
add ecx, ebp
cmp eax, edi
jbe 0x6a5fbf
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
jmp 0x6a5fed
sub ebx, eax
sub edx, eax
add ebx, 0xfffffffc
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
add ebx, ecx
add edx, 0xfffffffc
mov ebp, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x3c]
mov edx, 1
mov ebx, eax
mov eax, dword [esp + 0x54]
test dl, dl
je 0x6a6187
mov dword [esp + 0x28], edi
test ebx, ebx
je 0x6a60d6
cmp ebx, 4
jge 0x6a6010
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x6a604a
lea edx, [esi - 4]
neg edx
sar edx, 0x1f
and edx, 4
lea esi, [ebx - 4]
mov edi, dword [ebp]
bswap edi
nop
add edx, ebp
cmp edi, esi
jbe 0x6a6038
mov edi, dword [esp + 0x28]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x6a604a
sub ebx, edi
add ebx, 0xfffffffc
mov ebp, edi
mov esi, edx
mov edi, dword [esp + 0x28]
mov edx, 1
test dl, dl
je 0x6a6167
test ebx, ebx
jne 0x6a611d
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004523c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
lea edx, [0x6f7340]
mov dword [esp], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
call fcn.00411080
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6a60bf
mov ecx, dword [esp + 0x58]
jmp 0x6a60cf
call fcn.00468e70
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
jmp 0x6a5e07
lea edx, [0x6f7340]
mov dword [esp], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00411080
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov ecx, dword [0x995310]
test ecx, ecx
je 0x6a6112
mov ecx, dword [eax]
call fcn.00468e60
mov dword [edi], ecx
mov dword [eax], 0
jmp 0x6a5e07
lea eax, [0x750218]
mov dword [esp], eax
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x5c
ret
mov eax, dword [0x9671c8]
mov ecx, dword [0x9671cc]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x5c
ret
mov eax, dword [0x9671c8]
mov ecx, dword [0x9671cc]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x5c
ret
lea eax, [0x74db91]
mov dword [esp], eax
mov dword [esp + 4], 0x31
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x5c
ret
mov eax, dword [0x9671c8]
mov ecx, dword [0x9671cc]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x5c
ret
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x5c
ret
call fcn.00467a60
jmp fcn.006a5dd0