Function at 0x420790
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fb93
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4a8068]
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.004069c0
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.004556d4
add esp, 4
mov dword [ebp - 0xd0], eax
lea ecx, [ebp + 0xc]
call fcn.004069c0
mov edi, eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xe0], edi
call fcn.004054d0
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, eax
xor edx, edx
mov al, byte [0x4983e0]
xor esi, esi
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 0x14], al
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [0x4983b0]
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [0x4983c0]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x4983d0]
movups xmmword [ebp - 0x24], xmm0
test edi, edi
jle 0x420fce
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 0x4208b8
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 0x42095f
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 0x420909
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 0x42095f
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 0x420880
test edx, edx
jle 0x420fce
cmp edx, dword [ebp - 0xdc]
jge 0x420fce
push eax
mov byte [edx + eax], 0
call fcn.00401980
mov esi, dword [ebp - 0xd0]
lea ecx, [ebp + 0xc]
add esp, 4
push eax
push esi
call fcn.00406cc0
push esi
call fcn.00455228
add esp, 4
lea ecx, [ebp + 0xc]
xor esi, esi
call fcn.004069c0
test eax, eax
je 0x4209fe
lea ecx, [ebp + 0xc]
call fcn.00406710
mov edi, eax
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x4209de
mov eax, dword [edi]
cmp byte [eax + esi], 0x3d
jne 0x4209f1
mov eax, edi
cmp ecx, 0x10
jb 0x4209ed
mov eax, dword [edi]
mov byte [eax + esi], 0x7c
lea ecx, [ebp + 0xc]
inc esi
call fcn.004069c0
cmp esi, eax
jb 0x4209d2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0xc]
call fcn.004069c0
push eax
lea ecx, [ebp + 0xc]
call fcn.004054d0
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.0041d330
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc4]
push eax
call fcn.0040b650
push 0xfde9
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x94]
call fcn.00410ab0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.004069c0
mov edi, eax
and edi, 0x80000001
jns 0x420a64
dec edi
or edi, 0xfffffffe
inc edi
lea ecx, [ebp - 0xac]
call fcn.00405640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
xor esi, esi
call fcn.004069c0
test eax, eax
je 0x420aca
mov eax, esi
and eax, 1
cmp eax, edi
jne 0x420aba
lea ecx, [ebp - 0x94]
call fcn.00406710
cmp dword [eax + 0x14], 0x10
jb 0x420aa0
mov eax, dword [eax]
mov al, byte [eax + esi]
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xe0], al
push dword [ebp - 0xe0]
call fcn.00406b30
lea ecx, [ebp - 0x94]
inc esi
call fcn.004069c0
cmp esi, eax
jb 0x420a84
lea ecx, [ebp - 0x94]
call fcn.00406710
push eax
call fcn.00407bd0
add esp, 4
lea ecx, [ebp - 0xac]
mov esi, eax
call fcn.00406710
push eax
call fcn.00407bd0
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.00406710
mov esi, eax
mov dword [ebp - 0xe8], eax
cmp dword [eax + 0x14], 0x10
jb 0x420b35
mov esi, dword [eax]
mov dword [ebp - 0xe8], esi
mov edi, dword [eax + 0x10]
lea ecx, [ebp + 0xc]
call fcn.00406710
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 0x420b90
cmp dword [ecx + 0x14], 0x10
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
jb 0x420b64
mov eax, dword [ecx]
push edi
push dword [ebp - 0xe8]
lea esi, [eax + edx]
push esi
call fcn.004019b0
lea eax, [ebp - 0xc9]
mov byte [ebp - 0xc9], 0
push eax
lea eax, [esi + edi]
push eax
call fcn.004019c0
add esp, 0x14
jmp 0x420ba8
push edi
push esi
mov byte [ebp - 0xe0], 0
lea ecx, [ebp + 0xc]
push dword [ebp - 0xe0]
push edi
call fcn.00407d20
lea ecx, [ebp - 0x7c]
call fcn.00405640
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.004069c0
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040f030
push dword [ebp - 0xdc]
call fcn.00407bd0
add esp, 4
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x420bdd
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0xf8]
add esi, ecx
lea ecx, [ebp + 0xc]
push eax
call fcn.004073f0
cmp esi, dword [eax]
je 0x420eac
lea ecx, [ebp - 0x7c]
call fcn.00406710
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 0x420c73
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x420c44
mov eax, dword [edi]
lea edi, [eax + ecx]
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.004019c0
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.004019c0
add esp, 0x10
jmp 0x420e8c
lea ecx, [ebp - 0x7c]
call fcn.004018a0
mov ecx, dword [ebp - 0xd8]
sub eax, ecx
cmp eax, 1
jb 0x421025
lea eax, [ecx + 1]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xdc], eax
call fcn.004018a0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xd4], eax
call fcn.00406710
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 0x420d15
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 0x420d0f
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.00406b20
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0xd4], ecx
lea edx, [ecx + 1]
cmp edx, 0x1000
jb 0x420d51
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.0045522d
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x421020
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0xd4]
jmp 0x420d68
test edx, edx
je 0x420d66
push edx
call fcn.0045522d
mov ecx, dword [ebp - 0xd4]
add esp, 4
jmp 0x420d68
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 0x420e27
mov eax, dword [edi]
mov edi, dword [ebp - 0xd8]
push edi
push eax
push ecx
mov dword [ebp - 0xdc], eax
call fcn.004019a0
add edi, dword [ebp - 0xe4]
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.004019c0
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.004019c0
mov ecx, dword [ebp - 0xe0]
add esp, 0x1c
mov eax, dword [ebp - 0xdc]
inc ecx
cmp ecx, 0x1000
jb 0x420e0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421020
mov eax, edx
push ecx
push eax
call fcn.0045525d
mov edi, dword [ebp - 0xd0]
add esp, 8
mov eax, dword [ebp - 0xe8]
mov dword [edi], eax
jmp 0x420e92
push dword [ebp - 0xd8]
push edi
push ecx
call fcn.004019a0
mov edi, dword [ebp - 0xe4]
lea eax, [ebp - 0xc8]
add edi, dword [ebp - 0xd8]
push eax
push edi
call fcn.004019c0
lea eax, [ebp - 0xc8]
mov byte [ebp - 0xc8], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.004019c0
push dword [ebp - 0xd0]
call fcn.00407bd0
push eax
push 4
call fcn.00401890
mov edi, eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00407bd0
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.004073f0
mov ecx, esi
cmp ecx, dword [eax]
jne 0x420c10
lea ecx, [ebp - 0x7c]
call fcn.004069c0
cmp eax, 5
jbe 0x420f0e
lea ecx, [ebp - 0x7c]
call fcn.00406710
mov esi, eax
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x420ecd
mov eax, dword [esi]
mov al, byte [eax + 5]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0xc8], al
call fcn.004069c0
mov edx, esi
cmp edi, 0x10
jb 0x420ee7
mov edx, dword [esi]
mov ecx, esi
jb 0x420eed
mov ecx, dword [esi]
mov al, byte [edx + eax - 5]
mov byte [ecx + 5], al
lea ecx, [ebp - 0x7c]
call fcn.004069c0
cmp dword [esi + 0x14], 0x10
jb 0x420f04
mov esi, dword [esi]
mov cl, byte [ebp - 0xc8]
mov byte [esi + eax - 5], cl
lea ecx, [ebp - 0x7c]
call fcn.00405270
test al, al
jne 0x420f6d
lea ecx, [ebp - 0x7c]
call fcn.00406710
mov esi, eax
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x420f2e
mov eax, dword [esi]
mov al, byte [eax]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0xc8], al
call fcn.004069c0
mov edx, esi
cmp edi, 0x10
jb 0x420f47
mov edx, dword [esi]
mov ecx, esi
jb 0x420f4d
mov ecx, dword [esi]
mov al, byte [edx + eax - 1]
mov byte [ecx], al
lea ecx, [ebp - 0x7c]
call fcn.004069c0
cmp dword [esi + 0x14], 0x10
jb 0x420f63
mov esi, dword [esi]
mov cl, byte [ebp - 0xc8]
mov byte [esi + eax - 1], cl
mov edx, 0x4982c0
lea ecx, [ebp - 0x7c]
call fcn.00419470
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x7c]
push eax
call fcn.004055c0
mov dword [ebp - 0xf0], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.004050b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.004050b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.004050b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.004052c0
jmp 0x420ff1
push dword [ebp - 0xd0]
call fcn.00455228
mov ecx, dword [ebp - 0xec]
add esp, 4
call fcn.00405640
mov dword [ebp - 0xf0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004050b0
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.00455217
mov esp, ebp
pop ebp
ret 0x24
call fcn.0045b822
call fcn.00408080
int3