Function at 0x4055f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bbee
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x43c770]
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 - 0x1c], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 2
xor edi, edi
mov dword [ebp - 0x58], 1
xorps xmm0, xmm0
mov dword [ebp - 0x20], edi
push edi
push 0x43c360
mov edx, 0x43c310
movq qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x28]
call fcn.004038b0
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
sub eax, ecx
dec eax
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402c50
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x4058a5
jmp 0x4056c3
mov ebx, dword [ebp - 0x50]
mov al, byte [ebx]
dec ecx
inc ebx
mov byte [ebp + edi - 0x18], al
mov dh, byte [ebp - 0x16]
inc edi
mov dl, byte [ebp - 0x17]
mov dword [ebp - 0x50], ebx
mov bl, byte [ebp - 0x18]
mov dword [ebp + 8], ecx
mov byte [ebp - 0x41], dh
mov byte [ebp - 0x49], dl
mov byte [ebp - 0x4a], bl
cmp edi, 3
jne 0x40578a
mov al, bl
mov cl, bl
shr al, 2
and cl, 3
mov byte [ebp - 0x48], al
xor edi, edi
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, dh
mov byte [ebp - 0x47], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, dh
and al, 0x3f
mov byte [ebp - 0x46], cl
cmp dword [ebp - 0x2c], 0x10
mov byte [ebp - 0x45], al
setae bh
nop dword [eax]
movzx eax, byte [ebp + edi - 0x48]
lea ecx, [ebp - 0x40]
mov edx, dword [esi + 0x14]
test bh, bh
cmovne ecx, dword [ebp - 0x40]
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x1c], bl
cmp ecx, edx
jae 0x405767
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x40575d
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x405776
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x54]
push 1
call fcn.00411840
inc edi
cmp edi, 4
jl 0x405730
mov ecx, dword [ebp + 8]
xor edi, edi
mov dl, byte [ebp - 0x49]
mov bl, byte [ebp - 0x4a]
mov dh, byte [ebp - 0x41]
test ecx, ecx
jne 0x4056c0
mov dword [ebp - 0x50], edi
test edi, edi
je 0x4058a5
mov eax, edi
cmp edi, 3
jge 0x4057c1
cmp eax, 3
jae 0x405925
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x4057a7
mov dh, byte [ebp - 0x16]
mov dl, byte [ebp - 0x17]
mov bl, byte [ebp - 0x18]
mov al, bl
and bl, 3
shr al, 2
mov byte [ebp - 0x48], al
mov al, dl
shr al, 4
and dl, 0xf
shl bl, 4
add bl, al
shl dl, 2
mov al, dh
mov byte [ebp - 0x47], bl
shr al, 6
and dh, 0x3f
add dl, al
mov byte [ebp - 0x45], dh
lea eax, [edi + 1]
mov byte [ebp - 0x46], dl
xor ebx, ebx
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x405864
cmp dword [ebp - 0x2c], 0x10
mov edi, eax
setae dl
mov byte [ebp - 0x41], dl
nop word [eax + eax]
movzx eax, byte [ebp + ebx - 0x48]
lea ecx, [ebp - 0x40]
test dl, dl
mov edx, dword [esi + 0x14]
cmovne ecx, dword [ebp - 0x40]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x40584a
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x40583d
mov eax, dword [esi]
mov dl, byte [ebp - 0x18]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x405859
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x54]
push 1
call fcn.00411840
mov dl, byte [ebp - 0x41]
inc ebx
cmp ebx, edi
jl 0x405810
mov edi, dword [ebp - 0x50]
cmp edi, 3
jge 0x4058a5
mov ebx, 3
sub ebx, edi
mov edi, dword [ebp - 0x54]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x405894
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x40588c
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x4058a0
push 0x3d
push edi
push 1
mov ecx, esi
call fcn.00411840
sub ebx, 1
jne 0x405873
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4058d5
mov ecx, dword [ebp - 0x20]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x4058cb
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40592a
push ecx
push ebx
call fcn.00413ec3
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x405907
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4058fd
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40592a
push ecx
push edx
call fcn.00413ec3
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.00413918
mov esp, ebp
pop ebp
ret
call fcn.00413a4d
call fcn.00419536
int3