Function at 0x413ba0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43923d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x448080]
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, edx
mov dword [ebp - 0x38], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, eax
jne 0x413c07
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x441f29
mov dword [esi + 0x14], 0
call fcn.0040a3e0
jmp 0x413e00
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push edx
push 0
push 1
sub eax, ecx
push eax
push ecx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
xorps xmm0, xmm0
test eax, eax
je 0x413be3
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp edi, 0x7fffffff
ja 0x413e1d
cmp edi, 0xf
ja 0x413c6d
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edi
push 0
push eax
mov dword [ebp - 0x14], 0xf
call fcn.0041af90
mov byte [ebp + edi - 0x28], 0
jmp 0x413cf7
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x413ca4
mov eax, SysReAllocString
mov dword [ebp - 0x30], SysReAllocString
add eax, 0x23
push eax
call fcn.00419338
add esp, 4
test eax, eax
je 0x413e27
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x413cd8
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x30], eax
lea ecx, [eax + 1]
test ecx, ecx
je 0x413cdb
cmp ecx, 0x1000
jb 0x413ccd
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x413e22
jmp 0x413c88
push ecx
call fcn.00419338
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x30]
push edi
push 0
push ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
call fcn.0041af90
mov eax, dword [ebp - 0x34]
mov byte [eax + edi], 0
add esp, 0xc
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x14], 0xf
push edi
cmova edx, dword [ebp - 0x28]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push edx
push 1
sub eax, ecx
push eax
push ecx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x413d7f
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push 0x441f29
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040a3e0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x413e00
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413d70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413e27
push ecx
push edx
call fcn.0041936d
add esp, 8
jmp 0x413e00
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x413ddb
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp edx, 0xf
cmova eax, edi
cmp byte [ecx + eax - 1], 0xa
jne 0x413db6
dec ecx
lea eax, [ebp - 0x28]
cmp edx, 0xf
mov dword [ebp - 0x18], ecx
cmova eax, edi
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
test ecx, ecx
je 0x413ddb
cmp edx, 0xf
lea eax, [ebp - 0x28]
cmova eax, edi
cmp byte [ecx + eax - 1], 0xd
jne 0x413ddb
dec ecx
lea eax, [ebp - 0x28]
cmp edx, 0xf
mov dword [ebp - 0x18], ecx
cmova eax, edi
mov byte [eax + ecx], 0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov eax, esi
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.00419325
mov esp, ebp
pop ebp
ret
call fcn.00401440
call fcn.004013a0
call fcn.00421825
int3