Function at 0x402aa0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df59e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push edi
mov ecx, 0x513078
mov dword [ebp - 0x28], 0
call fcn.004ba18d
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 1
test eax, eax
je 0x402f18
push esi
mov edx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [edx]
inc edx
mov byte [ebp + ecx - 0x14], al
inc ecx
mov ah, byte [ebp - 0x12]
mov dword [ebp + 0xc], edx
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x10], ah
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xf], dh
cmp ecx, 3
jne 0x402c98
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, dl
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor eax, eax
mov byte [ebp - 0x16], cl
mov dword [ebp - 0x24], eax
nop dword [eax + eax]
cmp dword [0x51121c], 0x10
mov ecx, 0x511208
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [0x511208]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x1c], edx
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0xd], al
mov dword [ebp - 0x30], ecx
cmp ecx, edx
jae 0x402bcd
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x402bbd
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0xd]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x402c7d
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x402f29
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x2c], eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x402bf7
mov esi, SysReAllocString
jmp 0x402c15
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x402c0d
mov esi, SysReAllocString
jmp 0x402c15
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
mov ecx, edi
push eax
call fcn.00402970
cmp dword [ebp - 0x1c], 0x10
mov ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x14], esi
mov dword [ebp - 0x20], ecx
push eax
lea esi, [ecx + eax]
mov dword [ebp - 0x30], esi
jb 0x402c65
mov esi, dword [edi]
push esi
push ecx
call fcn.004bcc90
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov ecx, edi
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push esi
call fcn.00402f30
jmp 0x402c78
push edi
push ecx
call fcn.004bcc90
mov cl, byte [ebp - 0xd]
add esp, 0xc
mov byte [esi], cl
mov byte [esi + 1], 0
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 4
jl 0x402b80
mov dl, byte [ebp - 0xe]
xor ecx, ecx
mov dh, byte [ebp - 0xf]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x402b11
test ecx, ecx
je 0x402f17
cmp ecx, 3
jge 0x402cd6
mov eax, 3
sub eax, ecx
push eax
lea eax, [ebp - 0x14]
add eax, ecx
push 0
push eax
call fcn.004bd210
mov ah, byte [ebp - 0x12]
add esp, 0xc
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
jmp 0x402cd9
mov ah, byte [ebp - 0x10]
mov al, dh
and dh, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, ah
mov byte [ebp - 0x17], dh
shr al, 6
and ah, 0x3f
add dl, al
mov byte [ebp - 0x15], ah
mov byte [ebp - 0x16], dl
xor eax, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], edx
test edx, edx
jle 0x402e2e
nop word [eax + eax]
cmp dword [0x51121c], 0x10
mov ecx, 0x511208
movzx eax, byte [ebp + eax - 0x18]
cmovae ecx, dword [0x511208]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x24], edx
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp + 0x13], al
mov dword [ebp - 0x2c], ecx
cmp ecx, edx
jae 0x402d6d
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x402d5d
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp + 0x13]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x402e1b
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x402f29
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x30], eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x402d97
mov esi, SysReAllocString
jmp 0x402db5
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x402dad
mov esi, SysReAllocString
jmp 0x402db5
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
mov ecx, edi
push eax
call fcn.00402970
cmp dword [ebp - 0x24], 0x10
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x14], esi
mov dword [ebp - 0x20], eax
push ecx
lea esi, [eax + ecx]
mov dword [ebp - 0x30], esi
jb 0x402e03
mov esi, dword [edi]
push esi
push eax
call fcn.004bcc90
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov cl, byte [ebp + 0x13]
mov byte [eax], cl
mov ecx, edi
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x24]
inc eax
push eax
push esi
call fcn.00402f30
jmp 0x402e16
push edi
push eax
call fcn.004bcc90
mov cl, byte [ebp + 0x13]
add esp, 0xc
mov byte [esi], cl
mov byte [esi + 1], 0
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x34]
jl 0x402d20
mov ecx, dword [ebp - 0x1c]
cmp ecx, 3
jge 0x402f17
mov edx, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x30], ecx
mov dword [ebp + 0x10], edx
cmp ecx, edx
jae 0x402e65
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x402e5a
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x402f0b
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x402f29
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x34], eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x402e8f
mov esi, SysReAllocString
jmp 0x402ead
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x402ea5
mov esi, SysReAllocString
jmp 0x402ead
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
mov ecx, edi
push eax
call fcn.00402970
cmp dword [ebp + 0x10], 0x10
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x14], esi
mov dword [ebp - 0x24], eax
push ecx
lea esi, [eax + ecx]
mov dword [ebp - 0x34], esi
jb 0x402ef7
mov esi, dword [edi]
push esi
push eax
call fcn.004bcc90
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, edi
mov word [eax], 0x3d
mov eax, dword [ebp + 0x10]
inc eax
push eax
push esi
call fcn.00402f30
jmp 0x402f06
push edi
push eax
call fcn.004bcc90
add esp, 0xc
mov word [esi], 0x3d
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, 3
jl 0x402e37
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00402950
int3