Function at 0x10000acfc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rdi
mov rax, qword [0x100011100]
xor rax, rbp
mov qword [rbp + 0x10], rax
xor r15d, r15d
mov rax, rdx
mov rsi, r8
mov qword [rbp + 8], rcx
lea r8d, [r15 + 2]
xor edx, edx
mov rcx, rax
mov rdi, r9
mov rbx, r15
mov qword [rbp], r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r14, rax
cmp rax, r15
jne 0x10000ad71
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
jmp 0x10000af59
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
cmp rax, r15
jne 0x10000ada2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
cmp eax, r15d
cmovle edi, eax
jmp 0x10000af3d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r13, rax
cmp rax, r15
je 0x10000ad88
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r12, r13
movabs rsi, 0xffffffffffffff0
mov r15d, eax
cmp byte [r15 + r13], bl
je 0x10000ae6e
lea edi, [rax + 1]
cmp edi, 0x400
ja 0x10000ae1a
mov ecx, edi
mov esi, edi
call fcn.10000a800
test al, al
je 0x10000ae1a
lea rax, [rdi + 0xf]
cmp rax, rsi
ja 0x10000ae07
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.10000f300
sub rsp, rax
lea r12, [rsp + 0x30]
jmp 0x10000ae3f
lea rcx, [rdi + 0x10]
mov esi, edi
cmp rcx, rsi
jae 0x10000ae2a
xor r12d, r12d
jmp 0x10000ae3f
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
je 0x10000ae25
and qword [rax], rbx
lea r12, [rax + 0x10]
mov rbx, rax
test r12, r12
jne 0x10000ae51
mov edi, 0x8007000e
xor r15d, r15d
jmp 0x10000af3d
mov r8, rsi
mov rdx, r13
mov rcx, r12
call sub.msvcrt.dll_memcpy
mov byte [r15 + r12], 0
movabs rsi, 0xffffffffffffff0
xor r15d, r15d
cmp r12, r15
je 0x10000af0e
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r13d, [rax + 1]
movsxd rdi, r13d
add rdi, rdi
cmp rdi, 0x400
ja 0x10000aec2
mov rcx, rdi
call fcn.10000a800
cmp al, r15b
je 0x10000aec2
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x10000aeaf
mov rax, rsi
and rax, 0xfffffffffffffff0
call fcn.10000f300
sub rsp, rax
lea rsi, [rsp + 0x30]
jmp 0x10000aee0
lea rcx, [rdi + 0x10]
cmp rcx, rdi
jb 0x10000af0e
call qword [sym.imp.msvcrt.dll_malloc]
cmp rax, r15
je 0x10000af0e
mov qword [rax], rbx
lea rsi, [rax + 0x10]
mov rbx, rax
cmp rsi, r15
je 0x10000af0e
or r9d, 0xffffffff
mov r8, r12
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov word [rsi], r15w
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb rdi, rdi
and rdi, rsi
jmp 0x10000af11
mov rdi, r15
mov ecx, 0x2000
call qword [sym.imp.msvcrt.dll_malloc]
cmp rax, r15
jne 0x10000af28
mov edi, 0x8007000e
jmp 0x10000af3d
mov r8d, dword [rbp + 0x70]
lea rcx, [rbp]
mov r9, rax
mov rdx, rdi
call fcn.10000ba9c
mov edi, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10000af54
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, r15
jne 0x10000af48
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rbp
call fcn.10000ed30
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x60]
lea rsp, [rbp + 0x20]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret