Function at 0x1400d7180
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 [0x14027e238]
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.1400be8c0
nop
lea r8, [rbp - 0x39]
lea rdx, str._CLRv_
lea rcx, [rbp - 0x19]
call fcn.1400c58d0
nop
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400d7213
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400be810
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, [0x1400d7150]
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 0x1400d74cf
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x1400d74a2
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 0x1400d7452
test eax, eax
je 0x1400d7452
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.1400dc600
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.1401a60f0
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov r8, r13
lea rdx, [rbp - 0x79]
mov rcx, qword [rbp - 0x69]
call fcn.1400d5870
mov rcx, qword [rax]
mov qword [r12], rcx
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x1400d733d
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rbx
call rdi
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
cmp qword [r12], 0
je 0x1400d73a3
test rsi, rsi
je 0x1400d7497
mov rax, qword [rbp - 0x49]
sub rax, rsi
cmp rax, 0x1000
jb 0x1400d7448
test sil, 0x1f
je 0x1400d7375
call fcn.1401aa90c
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1400d7384
call fcn.1401aa90c
int3
sub rsi, rax
cmp rsi, 8
jae 0x1400d7393
call fcn.1401aa90c
int3
cmp rsi, 0x27
jbe 0x1400d7445
call fcn.1401aa90c
nop
mov qword [rbp - 0x21], 7
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov word [rbp - 0x39], bx
xor r8d, r8d
lea rdx, [0x140227194]
lea rcx, [rbp - 0x39]
call fcn.1400be520
nop
lea r14d, [rbx - 0x1b]
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x1400d73e7
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400be810
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rbx
mov word [rbp - 0x39], bx
test rsi, rsi
je 0x1400d7497
mov rax, qword [rbp - 0x49]
sub rax, rsi
cmp rax, 0x1000
jb 0x1400d7448
test sil, 0x1f
je 0x1400d741b
call fcn.1401aa90c
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1400d742a
call fcn.1401aa90c
int3
sub rsi, rax
cmp rsi, 8
jae 0x1400d7439
call fcn.1401aa90c
int3
cmp rsi, 0x27
jbe 0x1400d7445
call fcn.1401aa90c
int3
mov rsi, rax
mov rcx, rsi
call fcn.140005910
jmp 0x1400d7497
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x140227194]
lea rcx, [rbp - 0x59]
call fcn.1400be520
nop
mov r14d, 0xffffffe5
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x1400d7497
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.1400be810
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x1400d7515
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x140227194]
lea rcx, [rbp - 0x59]
call fcn.1400be520
nop
mov r14d, 0xffffffe5
jmp 0x1400d74fa
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r13
mov word [rbp - 0x59], r13w
xor r8d, r8d
lea rdx, [0x140227194]
lea rcx, [rbp - 0x59]
call fcn.1400be520
nop
mov r14d, 0xffffffe5
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x1400d7515
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.1400be810
nop
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x1400d752f
inc r8
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.1400be810
mov eax, r14d
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401646e0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret