Function at 0x14009a3e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13, r9
mov rsi, r8
mov r15, rcx
mov eax, dword [0x1401711b0]
mov dword [0x140174c8c], eax
test eax, eax
jne 0x14009a439
mov rax, qword [rcx + 0xb80]
mov qword [0x14016f0a0], rax
xor eax, eax
mov word [rbp - 0x70], ax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], al
mov r12d, eax
mov r14, qword [rbp + 0x3f8]
test r14, r14
je 0x14009a45e
mov r12, qword [r14]
mov ebx, 1
lea r8d, [rbx + 9]
lea rdx, str.AJCULNPR218
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
lea r8d, [rbx + 9]
lea rdx, str.JEXS314RI6U428O2BZ9P56N6E9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14009a517
lea r8d, [rbx + 5]
lea rdx, [0x14014d8e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14009a4b7
mov ebx, 2
jmp 0x14009a517
mov r8d, 6
lea rdx, str.JBGNM6R3BJ7C11CZTQ7XD8PO6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14009a4db
mov ebx, 4
jmp 0x14009a517
mov r8d, 2
lea rdx, str.H0FNEP9ZX4IFQYYVQL1TJ4R2S
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14009a4ff
mov ebx, 3
jmp 0x14009a517
mov r8d, 0xa
lea rdx, str.6374VTM2NM706BV026ME
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
cmp dword [0x140173ee0], 0
je 0x14009a580
mov r9d, dword [0x14016f858]
mov r8d, 0x30c
mov rdx, qword [0x140173f08]
mov rcx, r12
call fcn.1400defb0
test al, al
jne 0x14009a9a7
lea rcx, [0x14014d9c0]
call fcn.1400dd2e0
mov r8, rax
mov r9, qword [0x140173f08]
mov edx, 0x204
lea rcx, [rbp - 0x70]
call fcn.1400e6100
lea r8, [0x1401295d4]
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.1400a5580
jmp 0x14009a9dc
test ebx, ebx
jne 0x14009a657
xor r12d, r12d
mov qword [rbp + 0x3f8], r12
test rdi, rdi
je 0x14009a641
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x48], eax
test eax, eax
je 0x14009a641
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14009a641
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009a641
mov bl, 1
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001b150
mov rdi, qword [rsp + 0x58]
test rax, rax
je 0x14009a61b
movzx r9d, bl
mov r8, rdi
lea rdx, [rbp + 0x3f8]
lea rcx, [0x140173ec8]
call fcn.1400ab760
test eax, eax
je 0x14009a61d
xor bl, bl
test rdi, rdi
je 0x14009a639
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rdi
call fcn.14010ec60
mov rcx, rdi
call fcn.140108f48
test bl, bl
jne 0x14009a79b
lea rcx, [0x14014da10]
call fcn.1400dd2e0
mov qword [rsp + 0x20], r12
jmp 0x14009a9c9
cmp ebx, 3
jne 0x14009a6d5
xor r12d, r12d
mov qword [rbp + 0x3f8], r12
test rdi, rdi
je 0x14009a6bf
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x48], eax
test eax, eax
je 0x14009a6bf
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14009a6bf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009a6bf
mov r8, rax
lea rdx, [rbp + 0x3f8]
lea rcx, [0x140173ec8]
call fcn.1400d5490
test al, al
jne 0x14009a79b
lea rcx, [0x14014da70]
call fcn.1400dd2e0
mov qword [rsp + 0x20], r12
jmp 0x14009a9c9
cmp ebx, 4
jne 0x14009a7cc
xor r12d, r12d
mov qword [rbp + 0x3f8], r12
test rdi, rdi
je 0x14009a7b6
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x48], eax
test eax, eax
je 0x14009a7b6
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14009a7b6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009a7b6
mov bl, 1
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001b150
mov rdi, qword [rsp + 0x58]
test rax, rax
je 0x14009a779
movzx r9d, bl
mov r8, rdi
lea rdx, [rbp + 0x3f8]
lea rcx, [0x140173ec8]
call fcn.1400ab760
test eax, eax
je 0x14009a77b
xor bl, bl
test rdi, rdi
je 0x14009a797
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rdi
call fcn.14010ec60
mov rcx, rdi
call fcn.140108f48
test bl, bl
je 0x14009a7b6
mov eax, dword [rbp + 0x3f8]
mov dword [rsp + 0x48], eax
mov rax, qword [0x140173ed0]
mov qword [rsp + 0x40], rax
jmp 0x14009a897
lea rcx, [0x14014dad0]
call fcn.1400dd2e0
mov qword [rsp + 0x20], r12
jmp 0x14009a9c9
cmp ebx, 2
jne 0x14009a849
test rdi, rdi
je 0x14009a83d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x48], eax
test eax, eax
je 0x14009a83d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14009a83d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r11, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009a83d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r11
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x14009a83d
add rcx, 3
mov eax, dword [rsp + 0x48]
sub rax, rcx
je 0x14009a83d
add r11, rcx
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x48], eax
jmp 0x14009a894
lea rcx, [0x14014db30]
jmp 0x14009a9bb
test rdi, rdi
je 0x14009a9b4
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x48], eax
test eax, eax
je 0x14009a9b4
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14009a9b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009a9b4
xor r12d, r12d
mov r9d, 0xfde9
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp + 0x3d8]
call fcn.1400defb0
mov rdx, qword [r15 + 0xb80]
mov qword [0x14016f0a0], rdx
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x78], r12
lea rcx, [0x14014dbf0]
call fcn.1400dd2e0
mov rbx, rax
mov ecx, dword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400a7140
test al, al
jne 0x14009a93d
lea rcx, [0x14014dc40]
call fcn.1400dd2e0
mov qword [rsp + 0x20], r12
jmp 0x14009a9c9
mov edx, dword [rsp + 0x48]
add edx, 3
mov rdi, qword [rbp + 0x3f0]
mov rcx, rdi
call fcn.14001ad10
mov r11d, dword [rsp + 0x48]
mov r8d, r11d
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14009a982
test r11d, r11d
je 0x14009a982
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14009a982
cmp qword [rdi], r11
jb 0x14009a982
call fcn.140109100
mov r11d, dword [rsp + 0x48]
mov byte [r13], 1
mov rcx, qword [rdi + 8]
mov qword [r13 + 0x10], rcx
mov qword [r13 + 8], rbx
mov byte [r13 + 1], 1
mov ecx, r11d
mov qword [r13 + 0x18], rcx
test r14, r14
je 0x14009a9a7
mov qword [r14], r12
inc dword [0x1401711b0]
mov eax, 3
jmp 0x14009a9dc
lea rcx, [0x14014db90]
call fcn.1400dd2e0
mov qword [rsp + 0x20], 0
xorpd xmm3, xmm3
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400ec710
xor eax, eax
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret