Function at 0x140009840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x38], 0
mov r8d, 6
lea rdx, [0x1400446b8]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140009889
xor al, al
jmp 0x140009b6c
mov qword [rsp + 0x40], 0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400098b9
xor al, al
jmp 0x140009b6c
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400098e1
xor al, al
jmp 0x140009b6c
mov dword [rsp + 0x28], 0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x14000990e
xor al, al
jmp 0x140009b6c
mov eax, dword [rsp + 0x28]
mov ecx, eax
call fcn.14001b204
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x28]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.14001c2b0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
inc rax
mov rcx, rax
call fcn.14001b204
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x20]
inc rax
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.14001c950
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, 4
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call fcn.14001c2b0
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
call fcn.140009e20
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1400099d9
xor al, al
jmp 0x140009b6c
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x30]
movzx eax, byte [rdx + rax + 4]
mov byte [rcx + 8], al
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x140009b61
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
inc rax
mov rcx, rax
call fcn.14001b204
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
inc rax
mov r8, rax
xor edx, edx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
call fcn.14001c950
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx + rcx + 5]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
call fcn.14001c2b0
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 5]
mov dword [rdx + 0x18], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x18]
mov ecx, eax
call fcn.14001b204
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x18]
mov r8d, eax
xor edx, edx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0x10]
call fcn.14001c950
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x18]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0xb0]
movzx edx, byte [rdx + 8]
mov r8, qword [rsp + 0x30]
lea rdx, [r8 + rdx + 5]
lea rcx, [rdx + rcx + 4]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0x10]
call fcn.14001c2b0
nop
jmp 0x140009b6a
mov al, 1
add rsp, 0xa8
ret