Function at 0x14001d124
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 [0x1400a2318]
xor rax, rbp
mov qword [rbp + 0x18], rax
mov rbx, r9
mov rax, rdx
xor edi, edi
mov qword [rbp], rdi
mov qword [rbp + 0x10], rcx
mov qword [rbp + 8], rdi
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x14001d1a6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14001d33e
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14001d33e
xor r9d, r9d
lea r8d, [r9 + 0x65]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001d1eb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14001d32e
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14001d32e
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14001d1c7
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
nop dword [rax + rax]
mov r14, rsi
mov r12d, eax
movabs r13, 0xffffffffffffff0
cmp byte [r12 + rsi], dil
je 0x14001d292
inc eax
mov ebx, eax
cmp eax, 0x400
ja 0x14001d262
mov ecx, ebx
call fcn.14001f388
test al, al
je 0x14001d262
lea rax, [rbx + 0xf]
cmp rax, rbx
ja 0x14001d24f
mov rax, r13
and rax, 0xfffffffffffffff0
call fcn.14005d830
sub rsp, rax
lea r14, [rsp + 0x30]
jmp 0x14001d271
mov rdx, rbx
lea rcx, [rbp]
call fcn.140018370
mov r14, rax
test r14, r14
jne 0x14001d280
mov ebx, 0x8007000e
jmp 0x14001d32e
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call sub.msvcrt.dll_memcpy
mov byte [r12 + r14], dil
or r12, 0xffffffffffffffff
mov rsi, r12
inc rsi
cmp byte [r14 + rsi], dil
jne 0x14001d299
inc esi
movsxd rbx, esi
add rbx, rbx
cmp rbx, 0x400
ja 0x14001d2de
mov rcx, rbx
call fcn.14001f388
test al, al
je 0x14001d2de
lea rax, [rbx + 0xf]
cmp rax, rbx
ja 0x14001d2cb
mov rax, r13
and rax, 0xfffffffffffffff0
call fcn.14005d830
sub rsp, rax
lea rbx, [rsp + 0x30]
jmp 0x14001d2ed
mov rdx, rbx
lea rcx, [rbp]
call fcn.140018370
mov rbx, rax
test rbx, rbx
je 0x14001d31c
mov word [rbx], di
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, r12d
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
nop dword [rax + rax]
neg eax
sbb rdi, rdi
and rdi, rbx
mov r8d, dword [rbp + 0x70]
mov rdx, rdi
lea rcx, [rbp + 8]
call fcn.14001cedc
mov ebx, eax
mov rcx, r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
nop
lea rcx, [rbp]
call fcn.140016cf4
mov eax, ebx
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400149c0
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