Function at 0x140086830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp edx, 0xdf0
jne 0x1400868cb
lea rdi, [0x14031a230]
call fcn.14007eea0
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 [0x1403925f8]
test rcx, rcx
je 0x140086906
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
mov r8d, ebx
call qword [0x14036e598]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14016cc60
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ebx, edx
cmp edx, 0x692
jne 0x1400868de
lea rdi, [0x14031a200]
jmp 0x14008686a
cmp ebx, 0x922
jne 0x1400868f2
lea rdi, [0x14031a220]
jmp 0x14008686a
cmp ebx, 0x7da
jne 0x14008687e
lea rdi, [0x14031a210]
jmp 0x14008686a
call fcn.1401ed230
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 0x140086bb0
test rax, rax
js 0x140086bb0
mov rax, r15
shr rax, 0x20
jne 0x140086bb0
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 0x1400869c4
mov rbx, rax
lea rcx, [0x140000000]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400869c4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140086a6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x60]
mov dword [rcx], eax
call fcn.1400fc920
lea rcx, [rsp + 0x5c]
call fcn.1400fc920
lea rcx, [rsp + 0x50]
call fcn.1400fc920
lea rcx, [rsp + 0x4c]
call fcn.1400fc920
lea rcx, [rsp + 0x28]
call fcn.1400fc920
lea rcx, [rsp + 0x40]
call fcn.1400fc920
lea rcx, [rsp + 0x38]
call fcn.1400fc920
lea rcx, [rsp + 0x34]
call fcn.1400fc920
xorps xmm6, xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
cmp byte [rdi + 0x2f], 0
js 0x140086a38
add rdi, 0x18
jmp 0x140086a3c
mov rdi, qword [rdi + 0x18]
lea rbx, [rsp + 0x70]
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.14011d910
mov rcx, rbx
call fcn.1400fc920
call fcn.1401dff40
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
jmp 0x1400868a1
mov r14, rax
lea rcx, [0x140000000]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
mov eax, eax
movaps xmm6, xmmword [0x1402faf80]
lea rcx, [rsp + 0x70]
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x60]
mov qword [rdx], r14
mov qword [rdx + 8], rax
call fcn.140086bf0
and r15d, 0xf
je 0x140086ae1
lea rbx, [rsp + 0x70]
lea r14, [rsp + 0x60]
jmp 0x140086ad2
movzx r8d, word [rax]
mov rcx, rbx
mov rdx, r14
call fcn.1401ed830
dec r15d
je 0x140086ae1
mov rcx, rbx
call fcn.1401ed7b0
test rax, rax
je 0x140086acd
jmp 0x140086abe
lea rcx, [rsp + 0x70]
call fcn.1401ed7b0
test rax, rax
je 0x140086b5f
mov rbx, rax
movzx r8d, word [rax]
test r8, r8
jne 0x140086bb9
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x80]
movabs rdi, 0xfffffffc00000000
mov rax, rcx
and rax, rdi
cmp rax, qword [0x140380a88]
jne 0x140086b34
call fcn.140025c70
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
and rdi, rcx
cmp rdi, qword [0x140380a88]
jne 0x1400868a1
call fcn.140025c70
jmp 0x1400868a1
mov rcx, qword [rsp + 0x80]
movabs rbx, 0xfffffffc00000000
mov rax, rcx
and rax, rbx
cmp rax, qword [0x140380a88]
jne 0x140086b85
call fcn.140025c70
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
and rbx, rcx
cmp rbx, qword [0x140380a88]
jne 0x1400869c4
call fcn.140025c70
jmp 0x1400869c4
int3
lea r14, [rsp + 0x60]
movaps xmmword [r14], xmm6
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.1401ed830
cmp qword [r14 + 8], 0
je 0x140086b5f
movzx r8d, word [rbx]
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140037e10
jmp 0x140086b0e