Function at 0x180110800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1803bc678]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x180110868
lea rdx, str.ApplicationModule_isnt_set.
lea r8, str.ResourceManager
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rax, [0x18030b3c8]
mov qword [rdi], rax
xor esi, esi
mov dword [rdi + 8], esi
jmp 0x180110ab4
movzx edx, r8w
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x180110a50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rsp + 0xa2]
nop word [rax + rax]
sub r10, 2
mov eax, 0xcccccccd
mul r9d
mov r8d, edx
shr r8d, 3
movzx ecx, r8w
shl cx, 2
lea edx, [rcx + r8]
add dx, dx
sub r9w, dx
add r9w, 0x30
mov word [r10], r9w
mov r9d, r8d
test r8d, r8d
jne 0x1801108a0
movdqa xmm0, xmmword [0x180342910]
movdqu xmmword [rsp + 0x40], xmm0
xor esi, esi
mov word [rsp + 0x30], si
lea rax, [rsp + 0xa2]
cmp r10, rax
je 0x180110915
lea r8, [rsp + 0xa2]
sub r8, r10
sar r8, 1
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.18000aad0
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
lea r14, str.Cannot_find_resource:
cmp rax, 0x16
jb 0x1801109c2
lea rax, [r8 + 0x16]
mov qword [rsp + 0x40], rax
lea rbp, [rsp + 0x30]
cmp rcx, 8
cmovae rbp, qword [rsp + 0x30]
add r8, r8
lea rax, [0x18033d604]
cmp rax, rbp
jbe 0x18011097b
lea rax, [r8 + rbp]
cmp r14, rax
ja 0x18011097b
cmp rbp, r14
ja 0x180110970
mov rbx, rsi
jmp 0x180110980
mov rbx, rbp
sub rbx, r14
sar rbx, 1
jmp 0x180110980
mov ebx, reloc.WLDAP32.dll_Ordinal_22
add r8, 2
lea rcx, [rbp + 0x2c]
mov rdx, rbp
call qword [sym.imp.VCRUNTIME140.dll_memmove]
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov r8d, Ordinal_46
sub r8, rbx
lea rdx, [r14 + 0x2c]
add rdx, rbx
lea rcx, [rbx + rbp]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x1801109e0
mov ebx, reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.180110f90
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
lea r8, str.ResourceManager
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rsp + 0x50]
call fcn.18000ae80
nop
lea rcx, [rsp + 0x30]
call fcn.18000ae80
lea rax, [0x18030b3c8]
mov qword [rdi], rax
mov dword [rdi + 8], esi
jmp 0x180110ab4
mov rcx, qword [rsi]
mov rdx, rbx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180110a71
lea rdx, str.Cannot_load_resource:__d
jmp 0x180110842
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
jne 0x180110a8e
lea rdx, str.Cannot_lock_resource:__d
jmp 0x180110842
mov rcx, qword [rsi]
mov rdx, rbx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x180110aae
lea rdx, str.Specified_resource_size_is_0._Is_it_what_you_expected_
jmp 0x180110842
mov qword [rdi], rbp
mov dword [rdi + 8], eax
mov rax, rdi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1801e5c70
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret