Function at 0x180016cd0
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 qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1800891a0]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
call fcn.180018ff0
mov dword [rsp + 0x70], eax
mov edx, 1
lea rcx, [rsp + 0x88]
call fcn.180030090
lea rcx, [rsp + 0x88]
call fcn.18002a210
nop
mov edx, 1
lea rcx, [rsp + 0x90]
call fcn.1800193c0
mov rdx, qword [rsp + 0x4d0]
lea rcx, [rsp + 0x90]
call fcn.180011710
mov edx, 1
lea rcx, [rsp + 0xa0]
call fcn.180030090
lea rcx, [rsp + 0xa0]
call fcn.18002a210
nop
mov edx, 0x400
mov rcx, qword [rsp + 0x4d8]
call fcn.180015cb0
mov qword [rsp + 0x50], rax
mov r8d, 0x60
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180016dc8
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180016dde
call fcn.180013460
mov dword [rsp + 0x30], eax
jmp 0x180016f4c
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 + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180016e14
call fcn.180013460
mov dword [rsp + 0x30], eax
jmp 0x180016f4c
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x180016e3f
call fcn.180013460
mov dword [rsp + 0x30], eax
jmp 0x180016f4c
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x34]
inc eax
cmp eax, dword [rsp + 0x34]
jae 0x180016e76
mov dword [rsp + 0x30], 0x8007000e
jmp 0x180016f4c
mov eax, dword [rsp + 0x34]
inc eax
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.180012950
nop
jmp 0x180016e90
lea rcx, [rsp + 0xa0]
call fcn.180011c00
test rax, rax
jne 0x180016eaf
mov dword [rsp + 0x30], 0x8007000e
jmp 0x180016f4c
lea rcx, [rsp + 0xa0]
call fcn.180011c00
mov qword [rsp + 0x78], rax
call fcn.180018ff0
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x60]
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x180016f02
call fcn.180013460
mov dword [rsp + 0x30], eax
jmp 0x180016f4c
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa0]
call fcn.180011c00
xor ecx, ecx
mov rdx, qword [rsp + 0x68]
mov word [rax + rdx*2], cx
lea rcx, [rsp + 0xa0]
call fcn.180011c00
mov r8d, dword [rsp + 0x4f0]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.180016aa0
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x38], 0
je 0x180016f5f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0xa0]
call fcn.180011980
nop
lea rcx, [rsp + 0x88]
call fcn.1800117a0
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.18004e350
add rsp, 0x4c8
ret