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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x20]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [esp + 0x28]
mov esi, dword [esp + 0x28]
lea edi, [ebp + 4]
push esi
call sym.luart_static.exe_lua_type
add esp, 0xc
sub eax, 3
je 0x4400f8
sub eax, 1
je 0x43fee5
sub eax, 1
je 0x43fe13
push dword [esp + 0x24]
push esi
call sym.luart_static.exe_lua_objectname
push eax
push str.cannot_create_Buffer_from__s
push esi
call sym.luart_static.exe_luaL_error
add esp, 0x14
jmp 0x44011b
mov ebx, dword [esp + 0x24]
xor ebp, ebp
push ebx
push esi
call sym.luart_static.exe_luaL_len
push eax
push 1
mov dword [edi], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov ecx, dword [esp + 0x38]
push ebx
push esi
mov dword [ecx + 8], eax
call sym.luart_static.exe_lua_pushvalue
push esi
call sym.luart_static.exe_lua_pushnil
push 0xfffffffffffffffe
push esi
call sym.luart_static.exe_lua_next
add esp, 0x24
test eax, eax
je 0x43fed2
push 0xffffffffffffffff
push esi
call sym.luart_static.exe_lua_type
add esp, 8
cmp eax, 3
je 0x43fe79
push 0xffffffffffffffff
push esi
call sym.luart_static.exe_lua_objectname
push eax
push str.invalid_value_in_table_in_Buffer:from__number_expected_found__s_
push esi
call sym.luart_static.exe_luaL_error
add esp, 0x14
push 0
push 0xffffffffffffffff
push esi
call sym.luart_static.exe_lua_tointegerx
push 0xfffffffffffffffe
push esi
mov ebx, eax
mov edi, edx
call sym.luart_static.exe_lua_settop
add esp, 0x14
test edi, edi
jl 0x43feaa
jg 0x43feaa
test ebx, ebx
jb 0x43feaa
test edi, edi
jl 0x43feb8
jg 0x43feaa
cmp ebx, 0xff
jbe 0x43feb8
push str.invalid_value_in_table_in_Buffer:from__byte_overflow_
push esi
call sym.luart_static.exe_luaL_error
add esp, 8
mov eax, dword [esp + 0x28]
push 0xfffffffffffffffe
push esi
mov eax, dword [eax + 8]
mov byte [eax + ebp], bl
inc ebp
call sym.luart_static.exe_lua_next
add esp, 8
test eax, eax
jne 0x43fe52
push 0xfffffffffffffffe
push esi
call sym.luart_static.exe_lua_settop
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
push dword [esp + 0x28]
push esi
call sym.luart_static.exe_luaL_checklstring
add esp, 0xc
mov ebx, eax
cmp dword [esp + 0x24], 0
jle 0x44011b
push esi
call sym.luart_static.exe_lua_gettop
add esp, 4
cmp eax, 2
jle 0x44011b
mov eax, dword [esp + 0x24]
push 0x45a1c8
push str.utf8
inc eax
push eax
push esi
call sym.luart_static.exe_luaL_checkoption
add esp, 0x10
cmp eax, 3
ja case.default.0x43ff34
jmp dword [eax*4 + 0x440170]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 1
push eax
push ebx
call fcn.0043ac80
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [edi], eax
jmp 0x440118
lea eax, [esp + 0x10]
mov dword [ebp + 8], ebx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], 0
push eax
push 0
push 1
push dword [edi]
mov dword [esp + 0x28], 0
push ebx
mov ebx, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
call ebx
test eax, eax
je 0x440166
push dword [esp + 0x28]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
push esi
push 1
push dword [edi]
push dword [ebp + 8]
call ebx
test eax, eax
je 0x43ffd9
mov eax, dword [esp + 0x28]
mov dword [edi], eax
pop edi
mov dword [ebp + 8], esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call eax
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov dword [ebp + 8], ebx
xor ebx, ebx
test byte [edi], 1
mov dword [esp + 0x10], ebx
je 0x440008
push str.invalid_hexadecimal_sequence_odd_number_of_characters_
push esi
call sym.luart_static.exe_luaL_error
add esp, 8
mov eax, dword [edi]
shr eax, 1
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4400d2
mov edx, eax
mov dword [esp + 0x28], eax
nop word [eax + eax]
mov eax, dword [ebp + 8]
mov bl, byte [ebx + eax]
lea eax, [ebx - 0x30]
cmp al, 9
jbe 0x44006d
lea eax, [ebx - 0x41]
cmp al, 5
ja 0x440049
sub bl, 0x37
jmp 0x44006d
lea eax, [ebx - 0x61]
cmp al, 5
ja 0x440055
sub bl, 0x57
jmp 0x44006d
movzx eax, bl
push eax
push str.invalid_character__c_in_hexadecimal_sequence
push esi
call sym.luart_static.exe_luaL_error
mov edx, dword [esp + 0x34]
add esp, 0xc
mov bl, al
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov cl, byte [eax + ecx + 1]
lea eax, [ecx - 0x30]
cmp al, 9
jbe 0x4400ad
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x44008b
lea eax, [ecx - 0x37]
jmp 0x4400ad
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x440097
lea eax, [ecx - 0x57]
jmp 0x4400ad
movzx eax, cl
push eax
push str.invalid_character__c_in_hexadecimal_sequence
push esi
call sym.luart_static.exe_luaL_error
mov edx, dword [esp + 0x34]
add esp, 0xc
shl bl, 4
add bl, al
mov byte [edx], bl
inc edx
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi]
add ebx, 2
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jb 0x440030
mov eax, dword [esp + 0x14]
shr ecx, 1
mov dword [edi], ecx
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
pop ebx
add esp, 0xc
ret
push dword [eax*4 + 0x45a1c8]
push str.unknown_encoding__s
push esi
call sym.luart_static.exe_luaL_error
add esp, 0xc
jmp 0x44011b
push dword [esp + 0x24]
push esi
call sym.luart_static.exe_luaL_checkinteger
add esp, 8
mov dword [edi], eax
mov ecx, edi
test eax, eax
jne 0x44011b
push str.cannot_create_Buffer_with_zero_length
push esi
call sym.luart_static.exe_luaL_error
add esp, 8
mov eax, dword [edi]
test eax, eax
je 0x440142
push eax
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x440142
push str.memory_allocation_error:_not_enough_memory
push esi
call sym.luart_static.exe_luaL_error
add esp, 8
test ebx, ebx
je 0x440166
push dword [edi]
push ebx
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x440166
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
call eax
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret