Function at 0x6fd896e0
Capabilities:
Encode data using base64
Reference http user-agent string

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6fd89d26
sub esp, 0x48
movzx edx, byte [esp + 0x4c]
cmp dl, 0x13
ja 0x6fd897e0
cmp dl, 0xc
je 0x6fd89738
cmp dl, 0x12
jne 0x6fd89720
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
xor edx, edx
jmp 0x6fd89c94
cmp dl, 0x13
jne 0x6fd898b7
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
xor edx, edx
jmp 0x6fd89bbc
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
call fcn.6fc688d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6fd8979d
mov dword [esp], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
call fcn.6fc4e900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x14
lea ecx, [0x6fe80cf9]
mov dword [eax], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
cmp dl, 0x14
je 0x6fd89963
cmp dl, 0x16
je 0x6fd89933
cmp dl, 0x1e
jne 0x6fd898b7
mov ecx, dword [esp + 0x54]
test ecx, 1
jne 0x6fd89874
cmp ecx, 2
jl 0x6fd89831
mov edx, dword [esp + 0x50]
movzx ebx, byte [ecx + edx - 1]
test bl, bl
jne 0x6fd89835
lea eax, [ecx - 2]
cmp ecx, eax
jbe 0x6fd89bb6
movzx ebx, byte [ecx + edx - 2]
test bl, bl
jne 0x6fd89835
mov ecx, eax
jmp 0x6fd89835
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], ecx
lea eax, [0x6fe51780]
mov dword [esp], eax
mov dword [esp + 4], 0
shr ecx, 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.6fc4adf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x34]
xor esi, esi
jmp 0x6fd89adc
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6fe7f84c]
mov dword [eax], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [0x6fe59200]
mov dword [esp + 0x40], eax
movzx eax, dl
lea ecx, [0x6fe11d60]
lea eax, [ecx + eax*8]
mov dword [esp + 0x44], eax
lea eax, [0x6fe84297]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.6fcba2a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x48
ret
mov dword [esp], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
call fcn.6fc4e900
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x6fd899a3
mov dword [esp], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
call fcn.6fc4e900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
cmp edx, ecx
jge 0x6fd89a4b
movzx ebx, byte [eax + edx]
cmp ebx, 0x80
jge 0x6fd899ba
inc edx
jmp 0x6fd899da
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.6fc5c770
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
cmp ebx, 0x7f
jle 0x6fd899a3
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.6fc09410
mov eax, dword [esp + 8]
lea ecx, [0x6fe514c0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x6fe89bd7]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.6fcba2a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x38]
jmp 0x6fd89a4d
xor edx, edx
test edx, edx
je 0x6fd89a94
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x6fe7f85d]
mov dword [eax], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
mov word [eax + esi*2], bx
add edx, 0xfffffffe
mov edi, edx
neg edx
sar edx, 0x1f
and edx, 2
mov ebx, edi
mov edi, dword [esp + 0x3c]
add edi, edx
mov edx, edi
mov edi, dword [esp + 0x34]
add edi, 0xfffffffe
mov esi, ebp
mov ebp, edi
mov edi, ebx
mov ebx, edx
mov edx, edi
test ebp, ebp
je 0x6fd89b52
movzx edi, byte [ebx]
cmp ebp, 1
jbe 0x6fd89baa
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebp
lea ebp, [esi + 1]
shl edi, 8
movzx ebx, byte [ebx + 1]
add ebx, edi
cmp ecx, ebp
jae 0x6fd89ab0
mov word [esp + 0x22], bx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], esi
lea edx, [0x6fe51780]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.6fc4af30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
movzx ebx, word [esp + 0x22]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov edx, dword [esp + 0x30]
jmp 0x6fd89ab0
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.6fc95860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.6fc4ec50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
mov eax, 1
mov ecx, eax
call fcn.6fc61f80
call fcn.6fc61f80
inc edx
cmp eax, edx
jle 0x6fd89c5b
movzx ebx, byte [edx + ecx]
lea ebp, [ebx - 0x61]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jbe 0x6fd89bbb
lea ebp, [ebx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jbe 0x6fd89bbb
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x6fd89bbb
lea ebp, [ebx - 0x27]
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jbe 0x6fd89bbb
lea ebp, [ebx - 0x2b]
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jbe 0x6fd89bbb
cmp bl, 0x20
je 0x6fd89bbb
cmp bl, 0x3a
je 0x6fd89bbb
cmp bl, 0x3d
je 0x6fd89bbb
cmp bl, 0x3f
je 0x6fd89bbb
cmp bl, 0x2a
je 0x6fd89bbb
cmp bl, 0x26
je 0x6fd89bbb
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x6fe822c0]
mov dword [eax], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.6fc4e900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
inc edx
cmp eax, edx
jle 0x6fd89cee
movzx ebx, byte [edx + ecx]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x6fd89c93
cmp bl, 0x20
je 0x6fd89c93
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x6fe81355]
mov dword [eax], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.6fc4e900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
call fcn.6fc60ad0
jmp fcn.6fd896e0