Function at 0x4038a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4144c8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov eax, dword [esi + 0x10]
add eax, eax
mov dword [ebp - 0x44], eax
lea ecx, [eax + 2]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
shr ecx, 1
shl ecx, 2
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x4c], ecx
jb 0x4038fd
mov esi, dword [esi]
mov dword [ebp + 0xc], esi
mov eax, dword [ebp - 0x44]
add eax, esi
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00403d30
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x4c], eax
jbe 0x403bff
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
jae case.default.0x403950
and eax, 3
jmp dword [eax*4 + 0x403ca8]
mov dl, byte [ecx]
shr dl, 2
mov byte [ebp - 0x29], dl
jmp 0x40399f
mov dl, byte [ecx]
inc ecx
and dl, 3
mov dword [ebp + 0xc], ecx
shl dl, 4
mov al, byte [ecx]
shr al, 4
or dl, al
mov byte [ebp - 0x29], dl
jmp 0x40399f
mov dl, byte [ecx]
inc ecx
and dl, 0xf
mov dword [ebp + 0xc], ecx
shl dl, 2
mov al, byte [ecx]
shr al, 6
or dl, al
mov byte [ebp - 0x29], dl
jmp 0x40399f
mov dl, byte [ecx]
and dl, 0x3f
inc ecx
mov byte [ebp - 0x29], dl
mov dword [ebp + 0xc], ecx
jmp 0x40399f
cmp dl, 0x40
jae 0x403c3b
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx ecx, dl
mov dl, byte [ecx + eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x2a], dl
mov dword [ebp - 0x30], ecx
cmp ecx, edi
jae 0x4039e2
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, esi
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
jmp 0x403be9
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x403ca0
lea eax, [ecx + 1]
mov ecx, edi
mov edi, eax
mov dword [ebp - 0x34], eax
or edi, 0xf
mov dword [ebp - 0x3c], ecx
cmp edi, 0x7fffffff
jbe 0x403a11
mov edi, 0x7fffffff
jmp 0x403a2f
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x403a27
mov edi, 0x7fffffff
jmp 0x403a2f
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.004031a0
mov ecx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
push eax
lea edx, [eax + ecx]
mov dword [ebp - 0x30], edx
lea edx, [eax + 1]
add edx, ecx
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x34], edx
jb 0x403ab5
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov cl, byte [ebp - 0x2a]
mov byte [eax], cl
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov byte [eax], 0
mov eax, esi
mov byte [ebp - 4], 2
cmp ecx, 0x1000
jb 0x403a9f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c8b
push ecx
push esi
call fcn.00412a01
mov esi, dword [ebp - 0x40]
add esp, 8
mov byte [ebp - 4], 0
jmp 0x403be6
lea eax, [ebp - 0x28]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp - 0x2a]
mov esi, dword [ebp - 0x40]
mov byte [eax], cl
mov eax, dword [ebp - 0x34]
jmp 0x403be0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
cmp ecx, edi
jae 0x403afc
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, esi
mov word [eax + ecx], 0x3d
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
jmp 0x403bec
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x403ca0
lea eax, [ecx + 1]
mov ecx, edi
mov edi, eax
mov dword [ebp - 0x34], eax
or edi, 0xf
mov dword [ebp - 0x40], ecx
cmp edi, 0x7fffffff
jbe 0x403b2b
mov edi, 0x7fffffff
jmp 0x403b49
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x403b41
mov edi, 0x7fffffff
jmp 0x403b49
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.004031a0
mov ecx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
push eax
lea edx, [eax + ecx]
mov dword [ebp - 0x34], edx
lea edx, [eax + 1]
add edx, ecx
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x30], edx
jb 0x403bca
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x40]
inc ecx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
mov eax, esi
mov byte [ebp - 4], 3
cmp ecx, 0x1000
jb 0x403bb7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c8b
push ecx
push esi
call fcn.00412a01
mov esi, dword [ebp - 0x3c]
add esp, 8
mov byte [ebp - 4], 0
jmp 0x403be6
lea eax, [ebp - 0x28]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
mov byte [eax], 0x3d
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
add esp, 0xc
mov dword [ebp - 0x28], esi
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x4c]
jb 0x403942
mov edi, dword [ebp - 0x48]
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
mov eax, edi
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
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.004129c0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x48]
mov ecx, eax
push 0
push 0x416959
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.00403200
mov dword [ebp - 4], 0xffffffff
cmp edi, 0x10
jb 0x403c9b
inc edi
mov eax, esi
mov dword [ebp - 4], 1
cmp edi, 0x1000
jb 0x403c91
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403c91
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.00412a01
add esp, 8
mov eax, dword [ebp - 0x48]
jmp 0x403c20
call fcn.00403190
nop dword [eax]
push edi
cmp dword [eax], eax
popal
cmp dword [eax], eax
jns 0x403ceb
inc eax
add byte [ecx - 0x33ffbfc7], dl
int3
add byte [eax], al
add byte [eax], al