Function at 0x10020f70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e256b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10104008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x101080e7
mov esi, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
call fcn.100de193
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.1002a610
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x4c]
inc esi
push esi
mov dword [ebp - 0x68], esi
call fcn.100dcbb4
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
push esi
cmovae ecx, dword [ebp - 0x5c]
mov edi, eax
push ecx
push edi
mov dword [ebp - 0x64], edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x10
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
push 0x10
push str.Qg6s4__8mJbgiFb1
mov word [ebp - 0x44], ax
call fcn.10004bd0
mov byte [ebp - 4], 1
push 0x108
mov dword [ebp - 0x14], 0
call fcn.100dcb76
push 0x102
push 0
push eax
mov dword [ebp - 0x14], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov dword [eax + 0x104], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
add eax, eax
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.10025d50
test edi, edi
je 0x10021083
test esi, esi
je 0x10021083
mov ecx, dword [ebp - 0x14]
mov edx, edi
push esi
call fcn.10025c30
add esp, 4
lea ecx, [esi + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax*4 + 1]
lea eax, [esi + 1]
mov dword [ebp - 0x78], esi
push eax
call fcn.100dcbb4
mov ecx, dword [ebp - 0x68]
mov edi, eax
add esp, 4
mov dword [ebp - 0x74], edi
mov edx, edi
lea eax, [ecx - 2]
mov byte [edi + esi], 0
xor esi, esi
mov dword [ebp - 0x70], eax
test eax, eax
jle 0x10021140
mov edi, dword [ebp - 0x64]
nop word [eax + eax]
movzx eax, byte [edi + esi]
shr eax, 2
movzx eax, byte [eax + 0x100ed540]
mov byte [edx], al
movzx ecx, byte [edi + esi]
movzx eax, byte [edi + esi + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ecx + 0x100ed540]
mov byte [edx + 1], al
movzx ecx, byte [edi + esi + 1]
movzx eax, byte [edi + esi + 2]
and ecx, 0xf
shr eax, 6
shl ecx, 2
or ecx, eax
movzx eax, byte [ecx + 0x100ed540]
mov byte [edx + 2], al
movzx eax, byte [edi + esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + 0x100ed540]
mov byte [edx + 3], al
add edx, 4
cmp esi, dword [ebp - 0x70]
jl 0x100210d0
mov edi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x68]
cmp esi, ecx
jge 0x100211b8
mov eax, dword [ebp - 0x64]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x100ed540]
mov byte [edx], al
lea eax, [ecx - 1]
cmp esi, eax
mov eax, dword [ebp - 0x64]
jne 0x1002117b
movzx eax, byte [esi + eax]
and eax, 3
shl eax, 4
mov al, byte [eax + 0x100ed540]
mov byte [edx + 1], al
add edx, 2
mov byte [edx], 0x3d
jmp 0x100211b1
movzx ecx, byte [esi + eax]
movzx eax, byte [esi + eax + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ecx + 0x100ed540]
mov byte [edx + 1], al
add edx, 2
mov eax, dword [ebp - 0x64]
movzx eax, byte [esi + eax + 1]
and eax, 0xf
movzx eax, byte [eax*4 + 0x100ed540]
mov byte [edx], al
mov byte [edx + 1], 0x3d
add edx, 2
mov byte [edx], 0
inc edx
sub edx, edi
cmp dword [ebp - 0x78], edx
je 0x100211dd
push dword [ebp - 0x64]
call fcn.100dcb71
push edi
call fcn.100dcb71
add esp, 8
mov byte [ebp - 0x5d], 0
jmp 0x100212d1
mov ecx, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021202
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.100059b0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x90]
call fcn.1002a570
mov esi, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6c]
cmp eax, esi
je 0x10021261
mov ecx, eax
call fcn.10004b70
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x6c]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.10004b70
push edi
call fcn.100dcb71
push dword [ebp - 0x64]
call fcn.100dcb71
add esp, 8
mov byte [ebp - 0x5d], 1
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100212bf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100212b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100212b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100dcba6
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
push 0x108
push dword [ebp - 0x14]
call fcn.100dcba6
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10004b70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x10021335
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002132b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002132b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100dcba6
add esp, 8
mov al, byte [ebp - 0x5d]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret 8