Function at 0x180014c70
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 - 0x218]
sub rsp, 0x318
mov rax, qword [0x180092078]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r13, r9
mov r14, r8
mov r12, rdx
mov rsi, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rbp - 0x58], 0x104
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x10]
call sym.ExcelDna.Host.x64.xll_get_hostfxr_path
test eax, eax
jne 0x180015511
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
jne 0x180014cfa
mov r8d, 0x84
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.h___nullptr
call fcn.180032e78
lea rdx, str.hostfxr_initialize_for_runtime_config
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x180014d2b
mov r8d, 0x8a
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.f___nullptr
call fcn.180032e78
mov qword [0x1800a6d68], rdi
lea rdx, str.hostfxr_get_runtime_delegate
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x180014d63
mov r8d, 0x8a
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.f___nullptr
call fcn.180032e78
mov qword [0x1800a6d70], rdi
lea rdx, str.hostfxr_close
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x180014d9b
mov r8d, 0x8a
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.f___nullptr
call fcn.180032e78
mov qword [0x1800a6d78], rbx
cmp qword [0x1800a6d68], 0
je 0x180015511
cmp qword [0x1800a6d70], 0
je 0x180015511
test rbx, rbx
je 0x180015511
call fcn.180014880
mov r15, rax
test rax, rax
jne 0x180014deb
lea r8d, [rax + 0x40]
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.load_assembly_and_get_function_pointer___nullptr___Failure:_get_dotnet_load_assembly___
call fcn.180032e78
xor edi, edi
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea r8d, [rdi + 0x18]
lea rdx, str.ExcelDna.ManagedHost.dll
lea rcx, [rsp + 0x38]
call fcn.18000bc80
nop
lea r8, [rsp + 0x38]
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.180010cf0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180014e65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014e60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001559e
call fcn.180027be4
movdqa xmm0, xmmword [0x1800535b0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], di
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x38]
call fcn.18000bc80
mov esi, 2
mov dword [rsp + 0x30], esi
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
or esi, 1
mov dword [rsp + 0x30], esi
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x30]
call fcn.18002596c
mov r8d, eax
mov ebx, 4
lea r9d, [rbx + 6]
lea r10, [0x180092040]
test eax, eax
jne 0x180014f3a
mov edx, dword [rbp - 0x20]
mov ecx, edx
shr ecx, 0xa
test cl, 1
je 0x180014f2f
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
jne 0x180014f23
mov edx, ebx
jmp 0x180014f72
cmp eax, 0xa0000003
jne 0x180014f2f
mov edx, r9d
jmp 0x180014f72
shr edx, 4
and edx, 1
add edx, 2
jmp 0x180014f55
sub eax, 2
je 0x180014f50
sub eax, 1
je 0x180014f50
sub eax, 0x32
je 0x180014f50
cmp eax, 0x46
mov edx, edi
jne 0x180014f55
mov edx, 1
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0x68], r10
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
test edx, edx
je 0x180015192
cmp edx, 1
sete dil
lea rcx, [rsp + 0x38]
call fcn.180001820
test dil, dil
je 0x180015330
xor eax, eax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea r8d, [rax + 0x18]
lea rdx, str.ExcelDna.ManagedHost.dll
lea rcx, [rsp + 0x38]
call fcn.18000bc80
nop
lea r8, [rsp + 0x38]
lea rdx, [0x1800a6d90]
lea rcx, [rsp + 0x60]
call fcn.180010cf0
mov rdi, rax
lea rax, [rbp - 0x78]
cmp rax, rdi
je 0x180015044
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180015014
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001500f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015586
call fcn.180027be4
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], ax
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180015086
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015081
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001558c
call fcn.180027be4
movdqa xmm0, xmmword [0x1800535b0]
movdqu xmmword [rsp + 0x70], xmm0
xor edi, edi
mov word [rsp + 0x60], di
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1800150dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800150d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015592
call fcn.180027be4
movdqa xmm0, xmmword [0x1800535b0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], di
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x38]
call fcn.18000bc80
or esi, 8
mov dword [rsp + 0x30], esi
and esi, 0xfffffff7
mov dword [rsp + 0x30], esi
or esi, 4
mov dword [rsp + 0x30], esi
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x30]
call fcn.18002596c
mov edx, eax
test eax, eax
jne 0x1800151b1
mov r8d, dword [rbp - 0x20]
mov ecx, r8d
shr ecx, 0xa
test cl, 1
je 0x1800151a3
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
je 0x1800151ef
cmp eax, 0xa0000003
jne 0x1800151a3
lea ebx, [rdx + 0xa]
jmp 0x1800151ef
mov dil, 1
test r8d, r8d
jne 0x180015558
jmp 0x180014f79
mov ebx, r8d
shr ebx, 4
and ebx, 1
add ebx, 2
jmp 0x1800151cc
sub eax, 2
je 0x1800151c7
sub eax, 1
je 0x1800151c7
sub eax, 0x32
je 0x1800151c7
cmp eax, 0x46
mov ebx, edi
jne 0x1800151cc
mov ebx, 1
mov dword [rsp + 0x60], edx
lea rax, [0x180092040]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
test ebx, ebx
je 0x18001538e
cmp ebx, 1
sete bl
lea rcx, [rsp + 0x38]
call fcn.180001820
test bl, bl
je 0x180015332
lea r8, str.ASSEMBLY
lea rdx, str.EXCELDNA.MANAGEDHOST
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x18001523d
lea r8d, [rax + 0x4c]
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.hResManagedHost___NULL___Failure:_FindResource_EXCELDNA.MANAGEDHOST_
call fcn.180032e78
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x180015268
lea r8d, [rax + 0x4f]
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.hManagedHost___NULL___Failure:_LoadResource_EXCELDNA.MANAGEDHOST_
call fcn.180032e78
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
jne 0x180015290
lea r8d, [rax + 0x52]
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.buf___NULL___Failure:_LockResource_EXCELDNA.MANAGEDHOST_
call fcn.180032e78
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rdi, eax
xor eax, eax
mov qword [rbp - 0x58], rax
lea ecx, [rax + 0x11]
mov r8d, edi
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov rbx, rax
mov qword [rbp - 0x58], rax
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rbx + 0x10]
call fcn.180029a20
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
nop
lea rcx, [rbp - 0x58]
call fcn.180011c00
lea rdx, [rsp + 0x60]
mov rbx, qword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov r8d, dword [rbx + 0x18]
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.180011790
test eax, eax
jns 0x180015327
mov r8d, 0x5b
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.SUCCEEDED_hr____Failure:_saving_EXCELDNA.MANAGEDHOST_
call fcn.180032e78
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
xor edi, edi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov rdi, qword [rbp - 0x68]
lea rsi, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rsi, qword [rbp - 0x78]
movabs rbx, 0x7ffffffffffffffe
cmp rdi, rbx
ja 0x180015598
mov rcx, 0xffffffffffffffff
mov qword [rbp - 0x38], 7
cmp rdi, 8
jae 0x18001539d
mov qword [rbp - 0x40], rdi
lea r8d, [rcx + 0x11]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.180029a20
jmp 0x1800153ed
mov bl, 1
test edx, edx
jne 0x18001556f
jmp 0x1800151f5
mov rax, rdi
or rax, 7
cmp rax, rbx
ja 0x1800153b9
mov rbx, rax
cmp rax, 0xa
mov eax, 0xa
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, rcx
lea rcx, [rbp - 0x50]
call fcn.180001b00
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.180029a20
nop
xor edi, edi
mov qword [rbp - 0x80], rdi
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rdi - 1]
lea r8, str.Initialize
lea rdx, str.ExcelDna.ManagedHost.AddInInitialize__ExcelDna.ManagedHost
call r15
test eax, eax
jne 0x18001542e
cmp qword [rbp - 0x80], rdi
jne 0x180015447
mov r8d, 0x70
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.rc__0__init___nullptr___Failure:_load_assembly_and_get_function_pointer___
call fcn.180032e78
lea rcx, [rsp + 0x34]
call fcn.18000f570
movzx r9d, byte [rsp + 0x34]
test eax, eax
cmovs r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, r12
call qword [rbp - 0x80]
mov ebx, edi
test ax, ax
sete bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1800154b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800154ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001559e
call fcn.180027be4
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1800154fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800154f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015552
call fcn.180027be4
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], di
mov eax, ebx
jmp 0x18001552f
mov r8d, 0x38
lea rdx, str.C:WorkExcel_DNAExcelDnaSourceExcelDna.Hosthost.cpp
lea rcx, str.false___Failure:_load_hostfxr___
call fcn.180032e78
mov eax, 1
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.180028080
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18002e3bc
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.1800133d0
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.1800133d0
nop
call fcn.18002e3bc
nop
call fcn.18002e3bc
nop
call fcn.18002e3bc
int3
call fcn.180001488
int3
call fcn.18002e3bc
int3