Function at 0x1400dcf30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov rax, qword [0x14028c238]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, r9
mov qword [rbp - 0x69], r8
mov edi, edx
xor r13d, r13d
mov r14d, r13d
lea rdx, [rcx + 0x50]
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r13
mov word [rbp - 0x39], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x39]
call fcn.1400c3ac0
nop
lea r8, [rbp - 0x39]
lea rdx, str._CLRv_
lea rcx, [rbp - 0x19]
call fcn.1400cb580
nop
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400dcfc3
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400c3a10
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r13
mov word [rbp - 0x39], r13w
mov qword [rbp - 0x79], r13
lea r8, [rbp - 0x79]
lea rdx, [0x1400dcf00]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov rbx, qword [rbp - 0x79]
movzx edx, di
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400dd27f
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x1400dd252
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test rsi, rsi
je 0x1400dd202
test eax, eax
je 0x1400dd202
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r13
mov r8d, eax
add r8, rsi
mov rdx, rsi
lea rcx, [rbp - 0x59]
call fcn.1400e23b0
nop
mov rbx, qword [rbp - 0x51]
mov rsi, qword [rbp - 0x59]
sub rbx, rsi
mov dword [rbp - 0x71], ebx
mov dword [rbp - 0x6d], r13d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea r8, [rbp - 0x71]
lea edx, [rcx - 0x10]
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov r13, rax
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
mov r8, rbx
mov rdx, rsi
mov rcx, qword [r13 + 0x10]
call fcn.1401aff40
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov r8, r13
lea rdx, [rbp - 0x79]
mov rcx, qword [rbp - 0x69]
call fcn.1400db620
mov rcx, qword [rax]
mov qword [r12], rcx
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x1400dd0ed
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140005fb0]
mov rcx, rbx
call rdi
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
cmp qword [r12], 0
je 0x1400dd153
test rsi, rsi
je 0x1400dd247
mov rax, qword [rbp - 0x49]
sub rax, rsi
cmp rax, 0x1000
jb 0x1400dd1f8
test sil, 0x1f
je 0x1400dd125
call fcn.1401b4bec
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1400dd134
call fcn.1401b4bec
int3
sub rsi, rax
cmp rsi, 8
jae 0x1400dd143
call fcn.1401b4bec
int3
cmp rsi, 0x27
jbe 0x1400dd1f5
call fcn.1401b4bec
nop
mov qword [rbp - 0x21], 7
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov word [rbp - 0x39], bx
xor r8d, r8d
lea rdx, [0x1402325f4]
lea rcx, [rbp - 0x39]
call fcn.1400c3720
nop
lea r14d, [rbx - 0x1b]
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400dd197
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400c3a10
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rbx
mov word [rbp - 0x39], bx
test rsi, rsi
je 0x1400dd247
mov rax, qword [rbp - 0x49]
sub rax, rsi
cmp rax, 0x1000
jb 0x1400dd1f8
test sil, 0x1f
je 0x1400dd1cb
call fcn.1401b4bec
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1400dd1da
call fcn.1401b4bec
int3
sub rsi, rax
cmp rsi, 8
jae 0x1400dd1e9
call fcn.1401b4bec
int3
cmp rsi, 0x27
jbe 0x1400dd1f5
call fcn.1401b4bec
int3
mov rsi, rax
mov rcx, rsi
call fcn.140005f10
jmp 0x1400dd247
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x1402325f4]
lea rcx, [rbp - 0x59]
call fcn.1400c3720
nop
mov r14d, 0xffffffe5
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x1400dd247
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.1400c3a10
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x1400dd2c5
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x1402325f4]
lea rcx, [rbp - 0x59]
call fcn.1400c3720
nop
mov r14d, 0xffffffe5
jmp 0x1400dd2aa
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x1402325f4]
lea rcx, [rbp - 0x59]
call fcn.1400c3720
nop
mov r14d, 0xffffffe5
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x1400dd2c5
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.1400c3a10
nop
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x1400dd2df
inc r8
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.1400c3a10
mov eax, r14d
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14016e480
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret