Function at 0x7ff2ada7d2c
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
mov rax, qword [0x7ff2adb3100]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x140]
and dword [rsp + 0x20], 0
mov qword [rsp + 0x28], r8
mov rbx, rcx
mov ebp, edx
mov dword [rsp + 0x24], edx
xor r13d, r13d
lea rcx, [rsp + 0x50]
xor edx, edx
lea r8d, [r13 + 0x68]
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], rax
call sub.ntdll.dll_memset
lea r8d, [r13 + 2]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x7ff2ada7db7
lea rcx, [0x7ff2ada1990]
mov edx, 0x130d
call sub.ntdll.dll_DbgPrint
jmp 0x7ff2ada7f74
test al, 1
jne 0x7ff2ada7dcc
mov edx, 0x1315
lea rcx, [0x7ff2ada1990]
jmp 0x7ff2ada7f61
xor r9d, r9d
mov r12, rax
lea r8, [0x7ff2ada1978]
lea edx, [r9 + 0xa]
mov rcx, rax
and r12, 0xfffffffffffffffc
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_FindResourceExW]
mov rsi, rax
test rax, rax
je 0x7ff2ada7f55
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x7ff2ada7f55
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x7ff2ada7f55
cmp esi, 8
jb 0x7ff2ada7f66
cmp dword [rdi], 0x100
mov r15d, dword [rdi + 4]
jne 0x7ff2ada7f66
cmp r15d, ebp
ja 0x7ff2ada7f66
mov rdx, rsi
mov ecx, 0x40
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov rbp, rax
test rax, rax
je 0x7ff2ada7f66
mov rax, qword [rdi]
mov r14, qword [rsp + 0x38]
mov ecx, 0x40
mov qword [rbp], rax
mov eax, dword [rdi + 4]
lea rdx, [rax + r12 + 4]
lea rax, [rsi + rdi]
mov qword [rsp + 0x30], rax
lea eax, [rsi - 8]
mov qword [rsp + 0x48], rdx
mov edx, eax
mov dword [r14], eax
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
test rax, rax
je 0x7ff2ada7f4a
mov r8d, dword [r14]
lea rdx, [rdi + 8]
mov rcx, rax
call sub.ntdll.dll_memcpy
lea rcx, [rsp + 0x50]
call fcn.7ff2adaac90
lea rcx, [rsp + 0x50]
mov r8d, r15d
mov rdx, r12
call fcn.7ff2adab460
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
mov r8d, 4
call fcn.7ff2adab460
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
sub edi, eax
mov rdx, rax
mov r8d, edi
call fcn.7ff2adab460
lea rcx, [rsp + 0x50]
mov r8d, esi
mov rdx, rbp
call fcn.7ff2adab460
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
sub r12d, eax
mov rdx, rax
add r12d, dword [rsp + 0x24]
mov r8d, r12d
call fcn.7ff2adab460
lea rcx, [rsp + 0x50]
call fcn.7ff2adab5d0
mov rax, qword [rsp + 0x40]
mov r13d, 1
movdqu xmm5, xmmword [rsp + 0xa8]
movdqu xmmword [rax], xmm5
mov rcx, rbp
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
jmp 0x7ff2ada7f66
mov edx, 0x1320
lea rcx, [0x7ff2ada19d0]
call sub.ntdll.dll_DbgPrint
mov rcx, rbx
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_FreeLibrary]
test r13d, r13d
jne 0x7ff2ada7f85
lea rcx, [0x7ff2ada1a20]
mov edx, 0x135f
call sub.ntdll.dll_DbgPrint
mov eax, r13d
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.7ff2adaaa90
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret