Function at 0x417c60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4c26
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], 0
push 0x40
mov dword [ebp - 0x34], 0
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00407620
mov dword [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp + 8]
xor edi, edi
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x44], 1
test eax, eax
je 0x417edb
dec eax
mov dword [ebp + 8], eax
mov al, byte [ebx]
inc ebx
mov byte [ebp + edi - 0x18], al
inc edi
mov ah, byte [ebp - 0x16]
mov ch, byte [ebp - 0x17]
mov cl, byte [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x3f], ah
mov byte [ebp - 0x3d], ch
mov byte [ebp - 0x3e], cl
cmp edi, 3
jne 0x417dbe
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x38], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x37], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x35], ah
shl cl, 2
add cl, al
xor edi, edi
mov byte [ebp - 0x36], cl
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
movzx eax, byte [ebp + edi - 0x38]
cmovae ecx, edx
mov edx, dword [esi + 0x14]
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x1c], bl
cmp ecx, edx
jae 0x417d98
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x417d8e
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x417daa
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], 0
push dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.00418cc0
mov edx, dword [ebp - 0x34]
inc edi
cmp edi, 4
jl 0x417d60
mov ebx, dword [ebp - 0x3c]
xor edi, edi
mov ch, byte [ebp - 0x3d]
mov cl, byte [ebp - 0x3e]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x417d00
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x417edb
mov eax, edi
cmp edi, 3
jge 0x417dfa
cmp eax, 3
jae 0x417f2b
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x417dde
mov bl, byte [ebp - 0x16]
mov ch, byte [ebp - 0x17]
mov cl, byte [ebp - 0x18]
jmp 0x417dfd
mov bl, byte [ebp - 0x3f]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x38], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, bl
mov byte [ebp - 0x37], cl
shr al, 6
and bl, 0x3f
add ch, al
mov byte [ebp - 0x35], bl
lea eax, [edi + 1]
mov byte [ebp - 0x36], ch
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x417e98
mov edi, eax
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
movzx eax, byte [ebp + ebx - 0x38]
cmovae ecx, edx
mov edx, dword [esi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x417e7b
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x417e6e
mov eax, dword [esi]
mov dl, byte [ebp - 0x18]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x417e8d
push dword [ebp - 0x18]
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.00418cc0
mov edx, dword [ebp - 0x34]
inc ebx
cmp ebx, edi
jl 0x417e40
mov edi, dword [ebp - 0x1c]
cmp edi, 3
jge 0x417edb
mov ebx, 3
sub ebx, edi
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x417ec5
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x417ebd
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x417ed6
push 0x3d
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.00418cc0
sub ebx, 1
jne 0x417ea4
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x417f0d
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x417f03
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417f30
push ecx
push edx
call fcn.0044235d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
call fcn.004424b0
call fcn.004452a7
int3