Function at 0x1800a73c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r8
mov r14d, edx
mov rdi, rcx
test edx, edx
jne 0x1800a73fb
xor al, al
jmp 0x1800a7653
xor r12d, r12d
mov qword [rsp + 0x30], r12
lea rbx, [rcx + 0x48]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1800a7420
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800a7420
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov eax, dword [rdi + 8]
cmp eax, 1
jne 0x1800a74ef
cmp qword [rdi + 0x20], 0
je 0x1800a744c
mov r8, r15
mov edx, r14d
mov rcx, rdi
call fcn.1800a79e0
movzx edi, al
test al, al
jne 0x1800a7637
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x28], rbx
test rbx, rbx
je 0x1800a746a
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800a746a
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov eax, dword [0x180270970]
test al, 1
jne 0x1800a7496
or eax, 1
mov dword [0x180270970], eax
mov qword [0x180270978], r12
call fcn.180089700
lea rcx, [0x1801c3400]
call fcn.18017e404
nop
mov rax, qword [0x180270978]
mov rcx, qword [rax + 0x78]
lea rdi, [0x180000000]
test rcx, rcx
cmovne rdi, rcx
movzx edx, r14w
lea r8, [0x1801e4a80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x1800a75ba
test rbx, rbx
je 0x1800a74e7
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800a74e2
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], r12
xor dil, dil
jmp 0x1800a7637
cmp eax, 2
jne 0x1800a744c
cmp qword [rdi + 0x40], 0
je 0x1800a744c
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x28], rbx
test rbx, rbx
je 0x1800a7521
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800a7521
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
movzx edx, r14w
lea r8, [0x1801e4a80]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x1800a755f
test rbx, rbx
je 0x1800a744c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800a7555
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], r12
jmp 0x1800a744c
mov rdx, rsi
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x1800a753e
mov rdx, rsi
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1800a753e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x1800a75a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x1800a753e
mov r8, rbp
mov rdx, rax
mov rcx, r15
call fcn.180009b20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
nop
jmp 0x1800a761c
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x1800a74cf
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1800a74cf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x1800a7604
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x1800a74cf
mov r8, rbp
mov rdx, rax
mov rcx, r15
call fcn.180009b20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
nop
test rbx, rbx
je 0x1800a7634
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800a762f
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], r12
mov dil, 1
test rbx, rbx
je 0x1800a764f
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800a764a
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x30], r12
movzx eax, dil
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret