Function at 0x140042080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov rax, qword [0x1400d2070]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
call fcn.140042590
mov dword [rsp + 0x68], eax
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.140001d80
lea rcx, [rsp + 0x80]
call fcn.140034510
nop
mov edx, 0x10
lea rcx, [rsp + 0x88]
call fcn.140001d80
mov rdx, qword [rsp + 0x4d0]
lea rcx, [rsp + 0x88]
call fcn.14003ea70
mov edx, 0x408
lea rcx, [rsp + 0xa0]
call fcn.140001d80
lea rcx, [rsp + 0xa0]
call fcn.140034510
nop
mov edx, 0x400
mov rcx, qword [rsp + 0x4d8]
call fcn.14003ff10
mov qword [rsp + 0x58], rax
mov r8d, 0x60
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14004216c
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140042182
call fcn.14003ebc0
mov dword [rsp + 0x30], eax
jmp 0x1400422ec
mov r8, qword [rsp + 0x4e8]
mov rdx, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400421b8
call fcn.14003ebc0
mov dword [rsp + 0x30], eax
jmp 0x1400422ec
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400421e3
call fcn.14003ebc0
mov dword [rsp + 0x30], eax
jmp 0x1400422ec
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x34]
inc eax
cmp eax, dword [rsp + 0x34]
jae 0x14004221a
mov dword [rsp + 0x30], 0x8007000e
jmp 0x1400422ec
mov eax, dword [rsp + 0x34]
inc eax
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.14003eb90
nop
jmp 0x140042234
lea rcx, [rsp + 0xa0]
call fcn.140002170
test rax, rax
jne 0x140042253
mov dword [rsp + 0x30], 0x8007000e
jmp 0x1400422ec
lea rcx, [rsp + 0xa0]
call fcn.140002170
mov qword [rsp + 0x70], rax
call fcn.140042590
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x78]
xor edx, edx
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400422ac
call fcn.14003ebc0
mov dword [rsp + 0x30], eax
jmp 0x1400422ec
lea rcx, [rsp + 0xa0]
call fcn.140002170
mov ecx, dword [rsp + 0x40]
xor edx, edx
mov word [rax + rcx*2], dx
lea rcx, [rsp + 0xa0]
call fcn.140002170
mov r8d, dword [rsp + 0x4f0]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140041e50
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x38], 0
je 0x1400422ff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0xa0]
call fcn.14003eac0
nop
lea rcx, [rsp + 0x80]
call fcn.1400425a0
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140069a00
add rsp, 0x4c8
ret