Function at 0x1006b870
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10143dc0
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x1006b8be
push ecx
push ecx
mov ecx, eax
call fcn.1006b330
add esp, 8
jmp 0x1006baaf
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1006b8c3
push 0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0
sub esi, edx
push 1
sar esi, 1
push esi
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x1006b902
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edi, 0x1019abc0
mov al, 1
jmp 0x1006b972
mov edi, dword [ebp - 0x24]
test edi, edi
jne 0x1006b90d
xor ebx, ebx
jmp 0x1006b970
push edi
call fcn.10115c68
add esp, 4
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x24]
mov ebx, eax
push 0
push 0
push ecx
push eax
push 1
push esi
push dword [ebp + 0xc]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x1006b95c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x1019abc0
mov byte [ebp - 0x14], 1
call fcn.1011582b
mov al, byte [ebp - 0x14]
add esp, 4
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
jmp 0x1006b97b
cmp dword [ebp - 0x24], edi
je 0x1006b970
push dword [ebp - 0x30]
xor ebx, ebx
xor edi, edi
call fcn.1011582b
add esp, 4
xor al, al
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x14], al
mov dword [ebp - 4], 0
test al, al
je 0x1006b9f2
push str.report_oobe_flow_entered
mov edx, 4
lea ecx, [ebp - 0xf0]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
cmp byte [esi + 0x48], 0
je 0x1006b9b6
mov edx, str.failed_from_base64_err
mov ecx, esi
call fcn.100205a0
cmp byte [ebp - 0x14], 1
jne 0x1006bacb
cmp byte [esi + 0x48], 0
je 0x1006b9d0
push dword [ebp - 0x20]
mov ecx, esi
call fcn.10026c90
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.1000ad70
mov edx, dword [ebp - 0x28]
push 0
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.1006b330
jmp 0x1006ba8d
test edi, edi
jne 0x1006ba08
mov edx, dword [ebp - 0x28]
push edi
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.1006b330
jmp 0x1006ba8d
cmp byte [edi + ebx - 1], 0
jne 0x1006ba1e
mov edx, dword [ebp - 0x28]
push ebx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.1006b330
jmp 0x1006ba8d
push edi
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.10002c70
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0x10
cmovae eax, dword [ebp - 0x48]
push eax
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.1006b330
mov edx, dword [ebp - 0x34]
add esp, 8
cmp edx, 0x10
jb 0x1006ba90
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006ba86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006baef
push edx
push ecx
call fcn.101157ed
add esp, 8
movsx eax, byte [ebp - 0x14]
inc eax
sub eax, 0
je 0x1006baaf
sub eax, 1
jne 0x1006baaf
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1006baaf
push eax
call fcn.1011582b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.10012090
push 0x10197aa0
mov eax, ecx
push eax
call fcn.101179f2
call fcn.1011a6bf
int3