Function at 0x1400d38f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rdi, r9
movzx esi, r8w
mov r14d, edx
mov r15, rcx
xor ebp, ebp
mov r13d, ebp
mov dword [rsp + 0x20], ebp
cmp edx, 0xffff
jbe 0x1400d394e
mov r8d, 0x15b
lea rdx, str.F:CheckPointsTPDrv_builderSuperMan1LibLocalizer.cpp
lea rcx, str.dwResource___0xFFFF
call fcn.1400be660
call fcn.140004e20
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400d396d
mov ecx, 0x80004005
call fcn.140007d40
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
lea rdx, [0x140150af4]
test rdx, 0xffffffffffff0000
jne 0x1400d39b4
movzx r12d, dx
xor edx, edx
mov ecx, r12d
call fcn.140007c90
test rax, rax
je 0x1400d39c6
mov r8d, r12d
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140008550
jmp 0x1400d39c1
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.140008830
mov rbx, qword [rsp + 0x28]
test si, si
jne 0x1400d39d3
call fcn.1400d40f0
movzx esi, ax
test rdi, rdi
jne 0x1400d39e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
movzx ecx, r14w
shr cx, 4
inc cx
movzx r8d, cx
movzx r9d, si
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1400d3b3f
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1400d3b3f
movzx eax, r14w
and eax, 0x8000000f
jge 0x1400d3a37
dec eax
or eax, 0xfffffff0
inc eax
test eax, eax
jle 0x1400d3a50
mov edx, eax
nop dword [rax]
movzx eax, word [rdi]
lea rdi, [rdi + rax*2]
add rdi, 2
dec rdx
jne 0x1400d3a40
movzx ebx, word [rdi]
lea ecx, [rbx + 1]
mov eax, 2
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.1401098fc
mov r14, rax
mov r8d, ebx
lea rdx, [rdi + 2]
mov rcx, rax
call fcn.14010bb60
mov word [r14 + rbx*2], bp
cmp dword [rsp + 0xd0], 0
je 0x1400d3af5
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbp
mov word [rsp + 0x38], bp
cmp word [r14], 0
jne 0x1400d3ab1
mov r8, rbp
jmp 0x1400d3abf
mov r8, rsi
inc r8
cmp word [r14 + r8*2], 0
jne 0x1400d3ab4
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140009080
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140105360
mov rdx, rax
mov r13d, 2
mov dword [rsp + 0x20], r13d
cmp qword [rax + 0x18], 8
jb 0x1400d3af8
mov rdx, qword [rax]
jmp 0x1400d3af8
mov rdx, r14
test rdx, rdx
je 0x1400d3b0c
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400d3b00
mov ebp, eax
mov r8d, ebp
lea rcx, [rsp + 0x28]
call fcn.140008830
nop
test r13b, 2
je 0x1400d3b32
cmp qword [rsp + 0x70], 8
jb 0x1400d3b32
mov rcx, qword [rsp + 0x58]
call fcn.14010a7dc
mov rcx, r14
call fcn.14010e850
mov rbx, qword [rsp + 0x28]
lea rcx, [rbx - 0x18]
call fcn.140007d60
add rax, 0x18
mov qword [r15], rax
lock add dword [rbx - 8], 0xffffffff
jg 0x1400d3b64
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r15
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret