Function at 0x1400dc5b0
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 [0x14028a238]
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.1400cac40
nop
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400dc643
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, [0x1400dc580]
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 0x1400dc8ff
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x1400dc8d2
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 0x1400dc882
test eax, eax
je 0x1400dc882
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.1400e1a30
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.1401ae830
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov r8, r13
lea rdx, [rbp - 0x79]
mov rcx, qword [rbp - 0x69]
call fcn.1400daca0
mov rcx, qword [rax]
mov qword [r12], rcx
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x1400dc76d
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 0x1400dc7d3
test rsi, rsi
je 0x1400dc8c7
mov rax, qword [rbp - 0x49]
sub rax, rsi
cmp rax, 0x1000
jb 0x1400dc878
test sil, 0x1f
je 0x1400dc7a5
call fcn.1401b34dc
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1400dc7b4
call fcn.1401b34dc
int3
sub rsi, rax
cmp rsi, 8
jae 0x1400dc7c3
call fcn.1401b34dc
int3
cmp rsi, 0x27
jbe 0x1400dc875
call fcn.1401b34dc
nop
mov qword [rbp - 0x21], 7
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov word [rbp - 0x39], bx
xor r8d, r8d
lea rdx, [0x1402305b4]
lea rcx, [rbp - 0x39]
call fcn.1400c3720
nop
lea r14d, [rbx - 0x1b]
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400dc817
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 0x1400dc8c7
mov rax, qword [rbp - 0x49]
sub rax, rsi
cmp rax, 0x1000
jb 0x1400dc878
test sil, 0x1f
je 0x1400dc84b
call fcn.1401b34dc
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1400dc85a
call fcn.1401b34dc
int3
sub rsi, rax
cmp rsi, 8
jae 0x1400dc869
call fcn.1401b34dc
int3
cmp rsi, 0x27
jbe 0x1400dc875
call fcn.1401b34dc
int3
mov rsi, rax
mov rcx, rsi
call fcn.140005f10
jmp 0x1400dc8c7
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x1402305b4]
lea rcx, [rbp - 0x59]
call fcn.1400c3720
nop
mov r14d, 0xffffffe5
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x1400dc8c7
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 0x1400dc945
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x1402305b4]
lea rcx, [rbp - 0x59]
call fcn.1400c3720
nop
mov r14d, 0xffffffe5
jmp 0x1400dc92a
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x1402305b4]
lea rcx, [rbp - 0x59]
call fcn.1400c3720
nop
mov r14d, 0xffffffe5
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x1400dc945
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.1400c3a10
nop
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x1400dc95f
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.14016ce60
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret