Function at 0x100d2e10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10104305
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10144008]
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, 0x1014814b
mov dword [ebp - 0x3c], ebx
call fcn.100e5245
movsx eax, byte [ebx + 8]
cmp eax, 7
ja case.default.0x100d2e5a
jmp dword [eax*4 + 0x100d34dc]
lea eax, [edi + 0x64]
mov ecx, edi
push eax
call fcn.100d3a80
jmp case.default.0x100d2e5a
push dword [ebx + 4]
lea ecx, [ebp - 0x38]
push dword [ebx]
call fcn.100cfc80
add esp, 8
mov dword [ebp - 4], 6
mov ecx, edi
push eax
call fcn.100d3a80
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d2ecd
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2ec3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d2ec3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
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.0x100d2e5a
push dword [ebx + 4]
lea ecx, [ebp - 0x38]
push dword [ebx]
call fcn.100cfd50
add esp, 8
mov dword [ebp - 4], 0x11
mov ecx, edi
push eax
call fcn.100d3a80
mov dword [ebp - 4], 0x12
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d2f4e
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2f44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d2f44
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
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.0x100d2e5a
mov bl, byte [edi + 0x94]
push dword [edi + 0x98]
mov ecx, dword [ebp - 0x3c]
shr bl, 2
and bl, 1
call fcn.100d7930
mov dl, bl
lea ecx, [ebp - 0x38]
movaps xmm1, xmm0
call fcn.100cfde0
add esp, 4
mov dword [ebp - 4], 0x16
mov ecx, edi
push eax
call fcn.100d3a80
mov dword [ebp - 4], 0x17
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d2fe9
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2fdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d2fdf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
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.0x100d2e5a
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100d6e40
lea ecx, [ebp - 0x38]
test al, al
je 0x100d30aa
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
sub eax, edx
push eax
call fcn.100d0700
add esp, 4
mov dword [ebp - 4], 0x1b
mov ecx, edi
push eax
call fcn.100d3a80
mov dword [ebp - 4], 0x1c
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d3085
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d307b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d307b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
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.0x100d2e5a
push 0x1010f0d8
call fcn.1001c240
mov dword [ebp - 4], 0x20
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.100d3a80
mov dword [ebp - 4], 0x21
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d3103
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d30f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d30f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
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.0x100d2e5a
mov ecx, ebx
call fcn.100d7a30
mov dl, al
lea ecx, [ebp - 0x38]
call fcn.100d0040
mov dword [ebp - 4], 0x25
mov ecx, edi
push eax
call fcn.100d3a80
mov dword [ebp - 4], 0x26
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d3185
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d317b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d317b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
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.0x100d2e5a
push ebx
mov ecx, edi
call fcn.100d3500
jmp case.default.0x100d2e5a
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.1005be00
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.100d85b0
mov dword [ebp - 4], 0x2a
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x100d324c
push 0x1011848c
call fcn.1001c240
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.100d3a80
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d3231
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d3227
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d3227
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0x2a
jmp 0x100d3440
push 0x101184a8
call fcn.1001c240
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.100d3b20
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d329f
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d3295
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d3295
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
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.100d3b90
mov esi, dword [ebp - 0x1c]
push esi
mov ecx, ebx
call fcn.100d8470
mov ebx, eax
mov ecx, edi
push ebx
call fcn.100d3be0
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x100d32df
mov edx, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x38]
call fcn.100d0700
add esp, 4
mov byte [ebp - 4], 0x35
mov ecx, edi
push eax
call fcn.100d3b20
mov byte [ebp - 4], 0x36
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d3331
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d3327
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2ebd
push edx
push ecx
call fcn.100e2b65
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 0x100d3359
mov edx, dword [edx]
mov ecx, dword [edi + 4]
push eax
call fcn.100d5540
add esp, 4
mov ecx, edi
push ebx
call fcn.100d2e10
add esi, 0x18
cmp esi, dword [ebp - 0x18]
je 0x100d3392
mov ecx, dword [edi + 4]
mov edx, 0x101184c8
call fcn.10098a10
push ebx
mov ecx, edi
call fcn.100d3d50
mov ebx, dword [ebp - 0x3c]
jmp 0x100d32c3
push ebx
mov ecx, edi
call fcn.100d3d50
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x40]
push ecx
push eax
lea ecx, [edi + 0x14]
call fcn.100d48f0
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 0x101184a0
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.100d3b20
mov byte [ebp - 4], 0x3f
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100d342a
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d3420
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d3420
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e2b65
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.0x100d2e5a
mov edx, dword [ebp - 0x18]
push ecx
call fcn.10081010
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 0x100d349d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d349d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100e2b65
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.100e2b24
mov esp, ebp
pop ebp
ret 4