Function at 0x1400039f0
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 [0x14003d010]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
call fcn.140001540
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x80]
call fcn.140001c90
nop
mov rdx, qword [rsp + 0x4d0]
lea rcx, [rsp + 0x88]
call fcn.140004260
lea rcx, [rsp + 0xa0]
call fcn.140001c90
nop
mov edx, 0x400
mov rcx, qword [rsp + 0x4d8]
call fcn.1400015f0
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 0x140003aa6
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 0x140003abc
call fcn.140001bc0
mov dword [rsp + 0x30], eax
jmp 0x140003c2a
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 0x140003af2
call fcn.140001bc0
mov dword [rsp + 0x30], eax
jmp 0x140003c2a
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 0x140003b1d
call fcn.140001bc0
mov dword [rsp + 0x30], eax
jmp 0x140003c2a
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 + 0x70], rax
mov eax, dword [rsp + 0x34]
inc eax
cmp eax, dword [rsp + 0x34]
jae 0x140003b54
mov dword [rsp + 0x30], 0x8007000e
jmp 0x140003c2a
mov eax, dword [rsp + 0x34]
inc eax
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.14000b750
nop
jmp 0x140003b6e
lea rcx, [rsp + 0xa0]
call fcn.140001cb0
test rax, rax
jne 0x140003b8d
mov dword [rsp + 0x30], 0x8007000e
jmp 0x140003c2a
lea rcx, [rsp + 0xa0]
call fcn.140001cb0
mov qword [rsp + 0x68], rax
call fcn.140001540
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x70]
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140003be0
call fcn.140001bc0
mov dword [rsp + 0x30], eax
jmp 0x140003c2a
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xa0]
call fcn.140001cb0
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rax + rdx*2], cx
lea rcx, [rsp + 0xa0]
call fcn.140001cb0
mov r8d, dword [rsp + 0x4f0]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140005290
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x38], 0
je 0x140003c3d
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.14000b6f0
nop
lea rcx, [rsp + 0x80]
call fcn.14000bd10
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140010eb0
add rsp, 0x4c8
ret