Function at 0x140080ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp edx, 0x126c
jne 0x14008114d
lea rdi, [0x140227360]
call fcn.140070080
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x10]
movsxd rax, dword [rax + 8]
mov ebx, dword [rdi + rax*4]
mov dword [rsp + 0x5c], ebx
mov rcx, qword [0x1402618e8]
test rcx, rcx
je 0x140080f3f
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
mov r8d, ebx
call qword [0x14023e858]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400fd9d0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140176300
mov rdi, rax
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x50], rax
movsxd r15, ebx
mov rcx, r15
sar rcx, 0x3f
add r15, rax
adc rcx, 0
mov eax, ecx
and eax, 1
neg rax
xor rcx, rax
jne 0x14008118f
test rax, rax
js 0x14008118f
mov rax, r15
shr rax, 0x20
jne 0x14008118f
mov dword [rsp + 0x4c], r15d
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], 0
mov eax, r15d
shr eax, 4
inc eax
movzx edx, ax
lea rcx, [0x140000000]
mov r8d, 6
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14008104e
mov r14, rax
lea rcx, [0x140000000]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14008104e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14008104e
mov rbx, rax
lea rcx, [0x140000000]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
mov eax, eax
and r15d, 0xf
jne 0x14008110d
mov rcx, rbx
xor edx, edx
sub rax, 2
setae r9b
jb 0x14008104e
test rcx, rcx
je 0x14008104e
movzx r8d, word [rcx]
test r8, r8
je 0x1400810f6
lea r10d, [r8 + r8]
cmp r10, rax
jbe 0x140081139
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x24]
mov dword [rcx], eax
call fcn.1400be430
lea rcx, [rsp + 0x5c]
call fcn.1400be430
lea rcx, [rsp + 0x50]
call fcn.1400be430
lea rcx, [rsp + 0x4c]
call fcn.1400be430
lea rcx, [rsp + 0x28]
call fcn.1400be430
lea rcx, [rsp + 0x40]
call fcn.1400be430
lea rcx, [rsp + 0x38]
call fcn.1400be430
lea rcx, [rsp + 0x34]
call fcn.1400be430
xorps xmm6, xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
cmp byte [rdi + 0x2f], 0
js 0x1400810bf
add rdi, 0x18
jmp 0x1400810c3
mov rdi, qword [rdi + 0x18]
lea rbx, [rsp + 0x60]
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.1400d5270
mov rcx, rbx
call fcn.1400be430
call fcn.14016d550
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
jmp 0x140080f15
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1400810e9
mov rax, rdx
mov rbx, rcx
dec r15d
je 0x140081023
mov rdx, rax
xor ecx, ecx
sub rax, 2
setae cl
lea rcx, [rbx + rcx*2]
cmovae rdx, rax
jb 0x1400810fe
test rbx, rbx
je 0x1400810fe
movzx r8d, word [rbx]
add r8d, r8d
sub rax, r8
jb 0x1400810fe
add rcx, r8
jmp 0x140081101
mov dl, r9b
lea rdx, [rcx + rdx*2]
mov rcx, rsi
call fcn.140034790
jmp 0x140080f15
mov ebx, edx
cmp edx, 0x692
jne 0x140081163
lea rdi, [0x14022733c]
jmp 0x140080ede
cmp ebx, 0x87e
jne 0x140081177
lea rdi, [0x140227354]
jmp 0x140080ede
cmp ebx, 0x788
jne 0x140080ef2
lea rdi, [0x140227348]
jmp 0x140080ede
int3