Function at 0x420830
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f7f3
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4a9068]
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 + 8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00406a00
mov ecx, eax
mov eax, 0x55555556
shl ecx, 2
imul ecx
mov eax, edx
add edx, 0x20
shr eax, 0x1f
add eax, edx
push eax
mov dword [ebp - 0xdc], eax
call fcn.00455324
add esp, 4
mov dword [ebp - 0xd0], eax
lea ecx, [ebp + 0xc]
call fcn.00406a00
mov edi, eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xe0], edi
call fcn.00405510
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, eax
xor edx, edx
mov al, byte [0x498840]
xor esi, esi
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 0x14], al
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [0x498810]
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [0x498820]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x498830]
movups xmmword [ebp - 0x24], xmm0
test edi, edi
jle 0x42106e
neg edi
mov dword [ebp - 0xd8], edi
nop dword [eax + eax]
movzx eax, byte [esi + ecx]
shr eax, 2
mov al, byte [ebp + eax - 0x54]
cmp edi, 0xffffffff
jne 0x420958
mov edi, dword [ebp - 0xd0]
mov byte [edi + edx], al
movzx eax, byte [esi + ecx]
and eax, 3
add eax, eax
mov al, byte [ebp + eax*8 - 0x54]
mov byte [edi + edx + 1], al
mov eax, edi
mov word [eax + edx + 2], 0x3d3d
jmp 0x4209ff
cmp edi, 0xfffffffe
mov edi, dword [ebp - 0xd0]
mov byte [edi + edx], al
mov eax, dword [ebp - 0xd4]
movzx ecx, byte [esi + ecx]
movzx eax, byte [esi + eax + 1]
jne 0x4209a9
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
mov al, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [ecx + edx + 1], al
mov ecx, dword [ebp - 0xd4]
movzx eax, byte [esi + ecx + 1]
and eax, 0xf
mov al, byte [ebp + eax*4 - 0x54]
mov byte [edi + edx + 2], al
mov eax, edi
mov byte [eax + edx + 3], 0x3d
jmp 0x4209ff
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
mov al, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [ecx + edx + 1], al
mov eax, dword [ebp - 0xd4]
movzx ecx, byte [esi + eax + 1]
movzx eax, byte [esi + eax + 2]
and ecx, 0xf
shr eax, 6
shl ecx, 2
or ecx, eax
mov al, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [ecx + edx + 2], al
mov ecx, dword [ebp - 0xd4]
movzx eax, byte [esi + ecx + 2]
and eax, 0x3f
mov al, byte [ebp + eax - 0x54]
mov byte [edi + edx + 3], al
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xd8]
add esi, 3
add edi, 3
add edx, 4
mov dword [ebp - 0xd8], edi
cmp esi, dword [ebp - 0xe0]
jl 0x420920
test edx, edx
jle 0x42106e
cmp edx, dword [ebp - 0xdc]
jge 0x42106e
push eax
mov byte [edx + eax], 0
call fcn.004019c0
mov esi, dword [ebp - 0xd0]
lea ecx, [ebp + 0xc]
add esp, 4
push eax
push esi
call fcn.00406d00
push esi
call fcn.00454e78
add esp, 4
lea ecx, [ebp + 0xc]
xor esi, esi
call fcn.00406a00
test eax, eax
je 0x420a9e
lea ecx, [ebp + 0xc]
call fcn.00406750
mov edi, eax
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x420a7e
mov eax, dword [edi]
cmp byte [eax + esi], 0x3d
jne 0x420a91
mov eax, edi
cmp ecx, 0x10
jb 0x420a8d
mov eax, dword [edi]
mov byte [eax + esi], 0x7c
lea ecx, [ebp + 0xc]
inc esi
call fcn.00406a00
cmp esi, eax
jb 0x420a72
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0xc]
call fcn.00406a00
push eax
lea ecx, [ebp + 0xc]
call fcn.00405510
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.0041d380
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc4]
push eax
call fcn.0040b690
push 0xfde9
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x94]
call fcn.00410af0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.00406a00
mov edi, eax
and edi, 0x80000001
jns 0x420b04
dec edi
or edi, 0xfffffffe
inc edi
lea ecx, [ebp - 0xac]
call fcn.00405680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
xor esi, esi
call fcn.00406a00
test eax, eax
je 0x420b6a
mov eax, esi
and eax, 1
cmp eax, edi
jne 0x420b5a
lea ecx, [ebp - 0x94]
call fcn.00406750
cmp dword [eax + 0x14], 0x10
jb 0x420b40
mov eax, dword [eax]
mov al, byte [eax + esi]
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xe0], al
push dword [ebp - 0xe0]
call fcn.00406b70
lea ecx, [ebp - 0x94]
inc esi
call fcn.00406a00
cmp esi, eax
jb 0x420b24
lea ecx, [ebp - 0x94]
call fcn.00406750
push eax
call fcn.00407c10
add esp, 4
lea ecx, [ebp - 0xac]
mov esi, eax
call fcn.00406750
push eax
call fcn.00407c10
movups xmm1, xmmword [esi]
lea ecx, [ebp - 0x94]
add esp, 4
movq xmm2, qword [esi + 0x10]
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
movups xmmword [eax], xmm1
movq qword [eax + 0x10], xmm2
call fcn.00406750
mov esi, eax
mov dword [ebp - 0xe8], eax
cmp dword [eax + 0x14], 0x10
jb 0x420bd5
mov esi, dword [eax]
mov dword [ebp - 0xe8], esi
mov edi, dword [eax + 0x10]
lea ecx, [ebp + 0xc]
call fcn.00406750
mov ecx, eax
mov dword [ebp - 0xdc], ecx
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp edi, eax
ja 0x420c30
cmp dword [ecx + 0x14], 0x10
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
jb 0x420c04
mov eax, dword [ecx]
push edi
push dword [ebp - 0xe8]
lea esi, [eax + edx]
push esi
call fcn.004019f0
lea eax, [ebp - 0xc9]
mov byte [ebp - 0xc9], 0
push eax
lea eax, [esi + edi]
push eax
call fcn.00401a00
add esp, 0x14
jmp 0x420c48
push edi
push esi
mov byte [ebp - 0xe0], 0
lea ecx, [ebp + 0xc]
push dword [ebp - 0xe0]
push edi
call fcn.00407d60
lea ecx, [ebp - 0x7c]
call fcn.00405680
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.00406a00
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040f070
push dword [ebp - 0xdc]
call fcn.00407c10
add esp, 4
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x420c7d
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0xf8]
add esi, ecx
lea ecx, [ebp + 0xc]
push eax
call fcn.00407430
cmp esi, dword [eax]
je 0x420f4c
lea ecx, [ebp - 0x7c]
call fcn.00406750
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xd0], edi
nop dword [eax + eax]
mov al, byte [ecx - 1]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov byte [ebp - 0xc9], al
mov byte [ebp - 0xc8], al
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xe0], edx
cmp ecx, edx
jae 0x420d13
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x420ce4
mov eax, dword [edi]
lea edi, [eax + ecx]
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.00401a00
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.00401a00
add esp, 0x10
jmp 0x420f2c
lea ecx, [ebp - 0x7c]
call fcn.004018e0
mov ecx, dword [ebp - 0xd8]
sub eax, ecx
cmp eax, 1
jb 0x4210c5
lea eax, [ecx + 1]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xdc], eax
call fcn.004018e0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xd4], eax
call fcn.00406750
mov ecx, dword [ebp - 0xd4]
mov edx, eax
mov eax, dword [ebp - 0xdc]
or eax, 0xf
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xf4], eax
cmp eax, ecx
ja 0x420db5
mov edx, dword [edx + 0x14]
mov eax, ecx
mov edi, dword [ebp - 0xe4]
shr edx, 1
sub eax, edx
cmp dword [edi + 0x14], eax
mov edi, dword [ebp - 0xd0]
ja 0x420daf
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + 0x14]
add eax, edx
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00406b60
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0xd4], ecx
lea edx, [ecx + 1]
cmp edx, 0x1000
jb 0x420df1
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.00454e7d
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4210c0
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0xd4]
jmp 0x420e08
test edx, edx
je 0x420e06
push edx
call fcn.00454e7d
mov ecx, dword [ebp - 0xd4]
add esp, 4
jmp 0x420e08
xor eax, eax
cmp dword [ebp - 0xe0], 0x10
mov dl, byte [ebp - 0xc9]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 0xc8], dl
jb 0x420ec7
mov eax, dword [edi]
mov edi, dword [ebp - 0xd8]
push edi
push eax
push ecx
mov dword [ebp - 0xdc], eax
call fcn.004019e0
add edi, dword [ebp - 0xe4]
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.00401a00
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.00401a00
mov ecx, dword [ebp - 0xe0]
add esp, 0x1c
mov eax, dword [ebp - 0xdc]
inc ecx
cmp ecx, 0x1000
jb 0x420ead
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4210c0
mov eax, edx
push ecx
push eax
call fcn.00454ead
mov edi, dword [ebp - 0xd0]
add esp, 8
mov eax, dword [ebp - 0xe8]
mov dword [edi], eax
jmp 0x420f32
push dword [ebp - 0xd8]
push edi
push ecx
call fcn.004019e0
mov edi, dword [ebp - 0xe4]
lea eax, [ebp - 0xc8]
add edi, dword [ebp - 0xd8]
push eax
push edi
call fcn.00401a00
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.00401a00
push dword [ebp - 0xd0]
call fcn.00407c10
push eax
push 4
call fcn.004018d0
mov edi, eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00407c10
add esp, 0x2c
mov eax, dword [eax]
mov dword [edi], eax
mov edi, dword [ebp - 0xd0]
lea eax, [ebp - 0xf8]
dec esi
push eax
lea ecx, [ebp + 0xc]
call fcn.00407430
mov ecx, esi
cmp ecx, dword [eax]
jne 0x420cb0
lea ecx, [ebp - 0x7c]
call fcn.00406a00
cmp eax, 5
jbe 0x420fae
lea ecx, [ebp - 0x7c]
call fcn.00406750
mov esi, eax
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x420f6d
mov eax, dword [esi]
mov al, byte [eax + 5]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0xc8], al
call fcn.00406a00
mov edx, esi
cmp edi, 0x10
jb 0x420f87
mov edx, dword [esi]
mov ecx, esi
jb 0x420f8d
mov ecx, dword [esi]
mov al, byte [edx + eax - 5]
mov byte [ecx + 5], al
lea ecx, [ebp - 0x7c]
call fcn.00406a00
cmp dword [esi + 0x14], 0x10
jb 0x420fa4
mov esi, dword [esi]
mov cl, byte [ebp - 0xc8]
mov byte [esi + eax - 5], cl
lea ecx, [ebp - 0x7c]
call fcn.004052b0
test al, al
jne 0x42100d
lea ecx, [ebp - 0x7c]
call fcn.00406750
mov esi, eax
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x420fce
mov eax, dword [esi]
mov al, byte [eax]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0xc8], al
call fcn.00406a00
mov edx, esi
cmp edi, 0x10
jb 0x420fe7
mov edx, dword [esi]
mov ecx, esi
jb 0x420fed
mov ecx, dword [esi]
mov al, byte [edx + eax - 1]
mov byte [ecx], al
lea ecx, [ebp - 0x7c]
call fcn.00406a00
cmp dword [esi + 0x14], 0x10
jb 0x421003
mov esi, dword [esi]
mov cl, byte [ebp - 0xc8]
mov byte [esi + eax - 1], cl
mov edx, 0x498724
lea ecx, [ebp - 0x7c]
call fcn.004194b0
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x7c]
push eax
call fcn.00405600
mov dword [ebp - 0xf0], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.004050f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.004050f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.004050f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.00405300
jmp 0x421091
push dword [ebp - 0xd0]
call fcn.00454e78
mov ecx, dword [ebp - 0xec]
add esp, 4
call fcn.00405680
mov dword [ebp - 0xf0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004050f0
mov eax, dword [ebp - 0xec]
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.00454e67
mov esp, ebp
pop ebp
ret 0x24
call fcn.0045b472
call fcn.004080c0
int3