Function at 0x10009420
Capabilities:
Encode data using base64 via winapi
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009022f
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100bc0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x84], esi
mov edi, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x7c], edi
push esi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x90], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x7c], eax
shr eax, 3
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x10009491
mov dword [edi], eax
mov eax, edi
jmp 0x10009751
xor edi, edi
mov dword [ebp - 4], 0
push edi
push edi
push 0x100ae404
lea eax, [ebp - 0x70]
mov dword [ebp - 0x8c], 0
push eax
mov dword [ebp - 0x90], 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x80], edi
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x10009555
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], edi
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x80], edi
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
js 0x1000954a
push edi
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], edi
push esi
push dword [ebp - 0x74]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
js 0x10009541
push 0x10
call fcn.100683e8
add esp, 4
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x80], edi
push 0
push 0x10
push edi
movups xmmword [edi], xmm0
push dword [ebp - 0x74]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
jns 0x10009541
push edi
mov dword [ebp - 0x8c], 0
call fcn.10067e9c
add esp, 4
xor edi, edi
mov dword [ebp - 0x80], edi
push dword [ebp - 0x74]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push 0
push dword [ebp - 0x70]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov dword [ebp - 0x6c], edi
mov byte [ebp - 4], 2
test edi, edi
jne 0x1000956f
mov esi, dword [ebp - 0x88]
mov eax, esi
mov dword [esi], edi
jmp 0x10009751
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [edi]
or eax, 1
or ecx, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x54], eax
xor esi, esi
mov dword [ebp - 0x40], ecx
xor eax, eax
mov dword [ebp - 0x68], ecx
xor ecx, ecx
mov dword [ebp - 0x3c], 0xcf98b111
mov dword [ebp - 0x38], 0x87085b9f
mov dword [ebp - 0x34], 0x12ceb96d
mov dword [ebp - 0x30], 0x257e1d83
mov dword [ebp - 0x28], 0xa27416f5
mov dword [ebp - 0x24], 0xd38396ff
mov dword [ebp - 0x20], 0x7c932b89
mov dword [ebp - 0x1c], 0xbfa49f69
mov dword [ebp - 0x64], 0xef0569fb
mov dword [ebp - 0x60], 0x689b6b9f
mov dword [ebp - 0x5c], 0x79f8a395
mov dword [ebp - 0x58], 0xc3efea97
mov dword [ebp - 0x50], 0xc31713db
mov dword [ebp - 0x4c], 0xddcd1f0f
mov dword [ebp - 0x48], 0x59c3af2d
mov dword [ebp - 0x44], 0x35bd1ec9
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x78], eax
jbe 0x100096b4
mov ecx, dword [ebp - 0x84]
xor edi, edi
mov dword [ebp - 0x7c], 2
nop dword [eax]
add eax, dword [ecx]
lea edi, [edi + 0x14]
add esi, dword [ecx]
imul eax, dword [ebp + edi - 0x54]
mov edx, esi
mov ecx, dword [ebp + edi - 0x7c]
imul ecx, esi
ror edx, 0x10
imul edx, dword [ebp + edi - 0x78]
ror eax, 0x10
imul eax, dword [ebp + edi - 0x50]
add edx, ecx
mov ecx, dword [ebp + edi - 0x70]
imul ecx, edx
mov esi, edx
mov edx, dword [ebp - 0x74]
ror eax, 0x10
imul eax, dword [ebp + edi - 0x4c]
shr esi, 0x10
imul esi, dword [ebp + edi - 0x74]
ror eax, 0x10
imul eax, dword [ebp + edi - 0x48]
add esi, ecx
mov ecx, esi
ror ecx, 0x10
imul ecx, dword [ebp + edi - 0x6c]
ror eax, 0x10
imul eax, dword [ebp + edi - 0x44]
add esi, ecx
mov ecx, dword [ebp - 0x84]
add edx, esi
add ecx, 4
add dword [ebp - 0x70], eax
sub dword [ebp - 0x7c], 1
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x84], ecx
jne 0x10009620
sub dword [ebp - 0x78], 1
mov dword [ebp - 0x84], ecx
jne 0x10009613
mov edi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x70]
xor esi, eax
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], esi
push eax
push 0
push 0x40000001
push 8
lea eax, [ebp - 0x18]
xor edx, ecx
push eax
mov dword [ebp - 0x14], edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x100096e4
xor esi, esi
jmp 0x1000973a
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x7c], ecx
call fcn.100683e8
push dword [ebp - 0x7c]
mov esi, eax
push 0
push esi
mov dword [ebp - 0x70], esi
call fcn.1006b580
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push esi
push 0x40000001
push 8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x1000973a
push dword [ebp - 0x70]
xor esi, esi
call fcn.10067e9c
add esp, 4
mov eax, dword [ebp - 0x88]
push edi
mov dword [eax], esi
call fcn.10067e9c
mov eax, dword [ebp - 0x88]
add esp, 4
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.10067e5d
mov esp, ebp
pop ebp
ret