Function at 0x43a010
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x5b05a9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], esi
mov dword [esp + 0x28], edi
mov byte [edi + 4], 0
xor ebp, ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 1
cmp dword [esp + 0x40], esi
je 0x43a2e2
mov eax, dword [esp + 0x3c]
mov cl, byte [eax]
dec dword [esp + 0x40]
mov byte [esp + ebp + 0x14], cl
mov bl, byte [esp + 0x15]
inc ebp
inc eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], eax
cmp ebp, 3
jne 0x43a116
mov al, byte [esp + 0x14]
mov dl, al
shr dl, 2
and al, 3
mov byte [esp + 0x18], dl
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov byte [esp + 0x19], al
mov al, byte [esp + 0x16]
mov dl, bl
and dl, 0xf
add dl, dl
mov cl, al
add dl, dl
shr cl, 6
add dl, cl
and al, 0x3f
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], al
movzx ebp, byte [esp + esi + 0x18]
cmp ebp, dword [0x62e970]
jbe 0x43a0db
call fcn.0058465c
cmp dword [0x62e974], 0x10
mov eax, dword [0x62e960]
jae 0x43a0ee
mov eax, 0x62e960
mov dl, byte [eax + ebp]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
push eax
mov eax, 1
call fcn.00426a20
inc esi
cmp esi, 4
jl 0x43a0c9
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x1c]
xor esi, esi
cmp dword [esp + 0x40], esi
jne 0x43a069
cmp ebp, esi
je 0x43a2e2
cmp ebp, 3
jge 0x43a149
mov ecx, 3
sub ecx, ebp
push ecx
lea eax, [esp + ebp + 0x18]
push esi
push eax
call fcn.00587fb0
mov bl, byte [esp + 0x21]
add esp, 0xc
mov al, byte [esp + 0x14]
mov dl, al
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
shr dl, 2
mov byte [esp + 0x19], al
mov al, byte [esp + 0x16]
and bl, 0xf
mov byte [esp + 0x18], dl
mov dl, al
add bl, bl
and al, 0x3f
add bl, bl
shr dl, 6
mov byte [esp + 0x1b], al
lea eax, [ebp + 1]
add bl, dl
mov byte [esp + 0x1a], bl
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
test eax, eax
jle 0x43a254
mov eax, dword [esp + 0x14]
movzx esi, byte [esp + eax + 0x18]
cmp esi, dword [0x62e970]
jbe 0x43a1af
call fcn.0058465c
cmp dword [0x62e974], 0x10
mov eax, dword [0x62e960]
jae 0x43a1c2
mov eax, 0x62e960
mov bl, byte [eax + esi]
or ecx, 0xffffffff
sub ecx, dword [edi + 0x14]
cmp ecx, 1
ja 0x43a1d5
call fcn.005a5960
mov esi, dword [edi + 0x14]
inc esi
cmp esi, 0xfffffffe
jbe 0x43a1e3
call fcn.005a5960
mov eax, dword [edi + 0x18]
cmp eax, esi
jae 0x43a20e
mov edx, dword [edi + 0x14]
push edx
push esi
mov ecx, edi
call fcn.00407f80
test esi, esi
jbe 0x43a241
mov ebp, dword [edi + 0x14]
mov edx, 0x10
lea eax, [edi + 4]
cmp dword [edi + 0x18], edx
jb 0x43a22a
mov ecx, dword [eax]
jmp 0x43a22c
test esi, esi
jne 0x43a1f8
mov dword [edi + 0x14], esi
cmp eax, 0x10
jb 0x43a222
mov eax, dword [edi + 4]
mov byte [eax], 0
jmp 0x43a241
lea eax, [edi + 4]
mov byte [eax], 0
jmp 0x43a241
mov ecx, eax
mov byte [ecx + ebp], bl
mov dword [edi + 0x14], esi
cmp dword [edi + 0x18], edx
jb 0x43a239
mov eax, dword [eax]
mov ebp, dword [esp + 0x1c]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jl 0x43a199
cmp ebp, 3
jge 0x43a2e2
mov ebx, 3
sub ebx, ebp
or eax, 0xffffffff
sub eax, dword [edi + 0x14]
cmp eax, 1
ja 0x43a274
call fcn.005a5960
mov esi, dword [edi + 0x14]
inc esi
cmp esi, 0xfffffffe
jbe 0x43a282
call fcn.005a5960
mov eax, dword [edi + 0x18]
cmp eax, esi
jae 0x43a2ad
mov ecx, dword [edi + 0x14]
push ecx
push esi
mov ecx, edi
call fcn.00407f80
test esi, esi
jbe 0x43a2dd
mov edx, dword [edi + 0x14]
mov ebp, 0x10
lea eax, [edi + 4]
cmp dword [edi + 0x18], ebp
jb 0x43a2c9
mov ecx, dword [eax]
jmp 0x43a2cb
test esi, esi
jne 0x43a297
mov dword [edi + 0x14], esi
cmp eax, 0x10
jb 0x43a2c1
mov eax, dword [edi + 4]
mov byte [eax], 0
jmp 0x43a2dd
lea eax, [edi + 4]
mov byte [eax], 0
jmp 0x43a2dd
mov ecx, eax
mov byte [ecx + edx], 0x3d
mov dword [edi + 0x14], esi
cmp dword [edi + 0x18], ebp
jb 0x43a2d9
mov eax, dword [eax]
mov byte [eax + esi], 0
sub ebx, 1
jne 0x43a264
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8