Function at 0x100d1010
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10102225
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10142008]
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 edi, ecx
mov ebx, dword [ebp + 8]
mov ecx, 0x1014614a
mov dword [ebp - 0x3c], ebx
call fcn.100e3445
movsx eax, byte [ebx + 8]
cmp eax, 7
ja case.default.0x100d105a
jmp dword [eax*4 + 0x100d16dc]
lea eax, [edi + 0x64]
mov ecx, edi
push eax
call fcn.100d1c80
jmp case.default.0x100d105a
push dword [ebx + 4]
lea ecx, [ebp - 0x38]
push dword [ebx]
call fcn.100cde70
add esp, 8
mov dword [ebp - 4], 6
mov ecx, edi
push eax
call fcn.100d1c80
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d10cd
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d10c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d10c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x100d105a
push dword [ebx + 4]
lea ecx, [ebp - 0x38]
push dword [ebx]
call fcn.100cdf40
add esp, 8
mov dword [ebp - 4], 0x11
mov ecx, edi
push eax
call fcn.100d1c80
mov dword [ebp - 4], 0x12
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d114e
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1144
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1144
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x100d105a
mov bl, byte [edi + 0x94]
push dword [edi + 0x98]
mov ecx, dword [ebp - 0x3c]
shr bl, 2
and bl, 1
call fcn.100d5b30
mov dl, bl
lea ecx, [ebp - 0x38]
movaps xmm1, xmm0
call fcn.100cdfd0
add esp, 4
mov dword [ebp - 4], 0x16
mov ecx, edi
push eax
call fcn.100d1c80
mov dword [ebp - 4], 0x17
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d11e9
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d11df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d11df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x100d105a
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100d5040
lea ecx, [ebp - 0x38]
test al, al
je 0x100d12aa
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
sub eax, edx
push eax
call fcn.100ce8f0
add esp, 4
mov dword [ebp - 4], 0x1b
mov ecx, edi
push eax
call fcn.100d1c80
mov dword [ebp - 4], 0x1c
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d1285
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d127b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d127b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x100d105a
push 0x1010d0d8
call fcn.1001c240
mov dword [ebp - 4], 0x20
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.100d1c80
mov dword [ebp - 4], 0x21
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d1303
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d12f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d12f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x100d105a
mov ecx, ebx
call fcn.100d5c30
mov dl, al
lea ecx, [ebp - 0x38]
call fcn.100ce230
mov dword [ebp - 4], 0x25
mov ecx, edi
push eax
call fcn.100d1c80
mov dword [ebp - 4], 0x26
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d1385
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d137b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d137b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x100d105a
push ebx
mov ecx, edi
call fcn.100d1700
jmp case.default.0x100d105a
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.1005bb00
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.100d67b0
mov dword [ebp - 4], 0x2a
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x100d144c
push 0x101162a8
call fcn.1001c240
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.100d1c80
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d1431
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1427
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x2a
jmp 0x100d1640
push 0x101162a4
call fcn.1001c240
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.100d1d20
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d149f
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1495
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1495
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0x2a
mov ecx, edi
call fcn.100d1d90
mov esi, dword [ebp - 0x1c]
push esi
mov ecx, ebx
call fcn.100d6670
mov ebx, eax
mov ecx, edi
push ebx
call fcn.100d1de0
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x100d14df
mov edx, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x38]
call fcn.100ce8f0
add esp, 4
mov byte [ebp - 4], 0x35
mov ecx, edi
push eax
call fcn.100d1d20
mov byte [ebp - 4], 0x36
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d1531
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1527
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d10bd
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0x2a
lea edx, [edi + 0x4c]
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x100d1559
mov edx, dword [edx]
mov ecx, dword [edi + 4]
push eax
call fcn.100d3740
add esp, 4
mov ecx, edi
push ebx
call fcn.100d1010
add esi, 0x18
cmp esi, dword [ebp - 0x18]
je 0x100d1592
mov ecx, dword [edi + 4]
mov edx, 0x101162bc
call fcn.10096c00
push ebx
mov ecx, edi
call fcn.100d1f50
mov ebx, dword [ebp - 0x3c]
jmp 0x100d14c3
push ebx
mov ecx, edi
call fcn.100d1f50
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x40]
push ecx
push eax
lea ecx, [edi + 0x14]
call fcn.100d2af0
mov byte [ebp - 4], 0x3a
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x38]
push 1
push 0x1011629c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.1001c4f0
mov byte [ebp - 4], 0x3e
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.100d1d20
mov byte [ebp - 4], 0x3f
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d162a
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1620
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1620
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0x2a
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je case.default.0x100d105a
mov edx, dword [ebp - 0x18]
push ecx
call fcn.1007f170
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x100d169d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d169d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100e0d65
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
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.100e0d24
mov esp, ebp
pop ebp
ret 4