Function at 0x420770
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f8d3
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4a9098]
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.00406a90
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.00455ce5
add esp, 4
mov dword [ebp - 0xd0], eax
lea ecx, [ebp + 0xc]
call fcn.00406a90
mov edi, eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xe0], edi
call fcn.004055a0
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, eax
xor edx, edx
mov al, byte [0x498450]
xor esi, esi
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 0x14], al
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [0x498420]
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [0x498430]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x498440]
movups xmmword [ebp - 0x24], xmm0
test edi, edi
jle 0x420fae
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 0x420898
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 0x42093f
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 0x4208e9
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 0x42093f
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 0x420860
test edx, edx
jle 0x420fae
cmp edx, dword [ebp - 0xdc]
jge 0x420fae
push eax
mov byte [edx + eax], 0
call fcn.004019a0
mov esi, dword [ebp - 0xd0]
lea ecx, [ebp + 0xc]
add esp, 4
push eax
push esi
call fcn.00406d90
push esi
call fcn.00455839
add esp, 4
lea ecx, [ebp + 0xc]
xor esi, esi
call fcn.00406a90
test eax, eax
je 0x4209de
lea ecx, [ebp + 0xc]
call fcn.004067e0
mov edi, eax
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x4209be
mov eax, dword [edi]
cmp byte [eax + esi], 0x3d
jne 0x4209d1
mov eax, edi
cmp ecx, 0x10
jb 0x4209cd
mov eax, dword [edi]
mov byte [eax + esi], 0x7c
lea ecx, [ebp + 0xc]
inc esi
call fcn.00406a90
cmp esi, eax
jb 0x4209b2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0xc]
call fcn.00406a90
push eax
lea ecx, [ebp + 0xc]
call fcn.004055a0
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.0041d310
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc4]
push eax
call fcn.0040b6a0
push 0xfde9
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x94]
call fcn.00410b30
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.00406a90
mov edi, eax
and edi, 0x80000001
jns 0x420a44
dec edi
or edi, 0xfffffffe
inc edi
lea ecx, [ebp - 0xac]
call fcn.00405710
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
xor esi, esi
call fcn.00406a90
test eax, eax
je 0x420aaa
mov eax, esi
and eax, 1
cmp eax, edi
jne 0x420a9a
lea ecx, [ebp - 0x94]
call fcn.004067e0
cmp dword [eax + 0x14], 0x10
jb 0x420a80
mov eax, dword [eax]
mov al, byte [eax + esi]
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xe0], al
push dword [ebp - 0xe0]
call fcn.00406c00
lea ecx, [ebp - 0x94]
inc esi
call fcn.00406a90
cmp esi, eax
jb 0x420a64
lea ecx, [ebp - 0x94]
call fcn.004067e0
push eax
call fcn.00407be0
add esp, 4
lea ecx, [ebp - 0xac]
mov esi, eax
call fcn.004067e0
push eax
call fcn.00407be0
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.004067e0
mov esi, eax
mov dword [ebp - 0xe8], eax
cmp dword [eax + 0x14], 0x10
jb 0x420b15
mov esi, dword [eax]
mov dword [ebp - 0xe8], esi
mov edi, dword [eax + 0x10]
lea ecx, [ebp + 0xc]
call fcn.004067e0
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 0x420b70
cmp dword [ecx + 0x14], 0x10
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
jb 0x420b44
mov eax, dword [ecx]
push edi
push dword [ebp - 0xe8]
lea esi, [eax + edx]
push esi
call fcn.004019d0
lea eax, [ebp - 0xc9]
mov byte [ebp - 0xc9], 0
push eax
lea eax, [esi + edi]
push eax
call fcn.004019e0
add esp, 0x14
jmp 0x420b88
push edi
push esi
mov byte [ebp - 0xe0], 0
lea ecx, [ebp + 0xc]
push dword [ebp - 0xe0]
push edi
call fcn.00407d30
lea ecx, [ebp - 0x7c]
call fcn.00405710
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.00406a90
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040f0c0
push dword [ebp - 0xdc]
call fcn.00407be0
add esp, 4
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x420bbd
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0xf8]
add esi, ecx
lea ecx, [ebp + 0xc]
push eax
call fcn.004074c0
cmp esi, dword [eax]
je 0x420e8c
lea ecx, [ebp - 0x7c]
call fcn.004067e0
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 0x420c53
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x420c24
mov eax, dword [edi]
lea edi, [eax + ecx]
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.004019e0
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.004019e0
add esp, 0x10
jmp 0x420e6c
lea ecx, [ebp - 0x7c]
call fcn.004018c0
mov ecx, dword [ebp - 0xd8]
sub eax, ecx
cmp eax, 1
jb 0x421005
lea eax, [ecx + 1]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xdc], eax
call fcn.004018c0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xd4], eax
call fcn.004067e0
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 0x420cf5
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 0x420cef
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.00406bf0
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0xd4], ecx
lea edx, [ecx + 1]
cmp edx, 0x1000
jb 0x420d31
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.0045583e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x421000
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0xd4]
jmp 0x420d48
test edx, edx
je 0x420d46
push edx
call fcn.0045583e
mov ecx, dword [ebp - 0xd4]
add esp, 4
jmp 0x420d48
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 0x420e07
mov eax, dword [edi]
mov edi, dword [ebp - 0xd8]
push edi
push eax
push ecx
mov dword [ebp - 0xdc], eax
call fcn.004019c0
add edi, dword [ebp - 0xe4]
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.004019e0
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.004019e0
mov ecx, dword [ebp - 0xe0]
add esp, 0x1c
mov eax, dword [ebp - 0xdc]
inc ecx
cmp ecx, 0x1000
jb 0x420ded
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421000
mov eax, edx
push ecx
push eax
call fcn.0045586e
mov edi, dword [ebp - 0xd0]
add esp, 8
mov eax, dword [ebp - 0xe8]
mov dword [edi], eax
jmp 0x420e72
push dword [ebp - 0xd8]
push edi
push ecx
call fcn.004019c0
mov edi, dword [ebp - 0xe4]
lea eax, [ebp - 0xc8]
add edi, dword [ebp - 0xd8]
push eax
push edi
call fcn.004019e0
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.004019e0
push dword [ebp - 0xd0]
call fcn.00407be0
push eax
push 4
call fcn.004018b0
mov edi, eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00407be0
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.004074c0
mov ecx, esi
cmp ecx, dword [eax]
jne 0x420bf0
lea ecx, [ebp - 0x7c]
call fcn.00406a90
cmp eax, 5
jbe 0x420eee
lea ecx, [ebp - 0x7c]
call fcn.004067e0
mov esi, eax
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x420ead
mov eax, dword [esi]
mov al, byte [eax + 5]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0xc8], al
call fcn.00406a90
mov edx, esi
cmp edi, 0x10
jb 0x420ec7
mov edx, dword [esi]
mov ecx, esi
jb 0x420ecd
mov ecx, dword [esi]
mov al, byte [edx + eax - 5]
mov byte [ecx + 5], al
lea ecx, [ebp - 0x7c]
call fcn.00406a90
cmp dword [esi + 0x14], 0x10
jb 0x420ee4
mov esi, dword [esi]
mov cl, byte [ebp - 0xc8]
mov byte [esi + eax - 5], cl
lea ecx, [ebp - 0x7c]
call fcn.00405340
test al, al
jne 0x420f4d
lea ecx, [ebp - 0x7c]
call fcn.004067e0
mov esi, eax
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x420f0e
mov eax, dword [esi]
mov al, byte [eax]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0xc8], al
call fcn.00406a90
mov edx, esi
cmp edi, 0x10
jb 0x420f27
mov edx, dword [esi]
mov ecx, esi
jb 0x420f2d
mov ecx, dword [esi]
mov al, byte [edx + eax - 1]
mov byte [ecx], al
lea ecx, [ebp - 0x7c]
call fcn.00406a90
cmp dword [esi + 0x14], 0x10
jb 0x420f43
mov esi, dword [esi]
mov cl, byte [ebp - 0xc8]
mov byte [esi + eax - 1], cl
mov edx, 0x498334
lea ecx, [ebp - 0x7c]
call fcn.00419450
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x7c]
push eax
call fcn.00405690
mov dword [ebp - 0xf0], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00405180
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00405180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00405180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.00405390
jmp 0x420fd1
push dword [ebp - 0xd0]
call fcn.00455839
mov ecx, dword [ebp - 0xec]
add esp, 4
call fcn.00405710
mov dword [ebp - 0xf0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00405180
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.00455828
mov esp, ebp
pop ebp
ret 0x24
call fcn.0045c012
call fcn.00408090
int3