Function at 0x140086590
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 0x14008662b
lea rdi, [0x14031a1d0]
call fcn.14007e970
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 0x140086666
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
mov r8d, ebx
call qword [0x14036e550]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14016c920
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 0x14008663e
lea rdi, [0x14031a1a0]
jmp 0x1400865ca
cmp ebx, 0x922
jne 0x140086652
lea rdi, [0x14031a1c0]
jmp 0x1400865ca
cmp ebx, 0x7da
jne 0x1400865de
lea rdi, [0x14031a1b0]
jmp 0x1400865ca
call fcn.1401ed680
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 0x140086910
test rax, rax
js 0x140086910
mov rax, r15
shr rax, 0x20
jne 0x140086910
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 0x140086724
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 0x140086724
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400867cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x60]
mov dword [rcx], eax
call fcn.1400fd2b0
lea rcx, [rsp + 0x5c]
call fcn.1400fd2b0
lea rcx, [rsp + 0x50]
call fcn.1400fd2b0
lea rcx, [rsp + 0x4c]
call fcn.1400fd2b0
lea rcx, [rsp + 0x28]
call fcn.1400fd2b0
lea rcx, [rsp + 0x40]
call fcn.1400fd2b0
lea rcx, [rsp + 0x38]
call fcn.1400fd2b0
lea rcx, [rsp + 0x34]
call fcn.1400fd2b0
xorps xmm6, xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
cmp byte [rdi + 0x2f], 0
js 0x140086798
add rdi, 0x18
jmp 0x14008679c
mov rdi, qword [rdi + 0x18]
lea rbx, [rsp + 0x70]
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.14011d9c0
mov rcx, rbx
call fcn.1400fd2b0
call fcn.1401e0610
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
jmp 0x140086601
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.140086950
and r15d, 0xf
je 0x140086841
lea rbx, [rsp + 0x70]
lea r14, [rsp + 0x60]
jmp 0x140086832
movzx r8d, word [rax]
mov rcx, rbx
mov rdx, r14
call fcn.1401edc80
dec r15d
je 0x140086841
mov rcx, rbx
call fcn.1401edc00
test rax, rax
je 0x14008682d
jmp 0x14008681e
lea rcx, [rsp + 0x70]
call fcn.1401edc00
test rax, rax
je 0x1400868bf
mov rbx, rax
movzx r8d, word [rax]
test r8, r8
jne 0x140086919
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 0x140086894
call fcn.140025c70
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
and rdi, rcx
cmp rdi, qword [0x140380a88]
jne 0x140086601
call fcn.140025c70
jmp 0x140086601
mov rcx, qword [rsp + 0x80]
movabs rbx, 0xfffffffc00000000
mov rax, rcx
and rax, rbx
cmp rax, qword [0x140380a88]
jne 0x1400868e5
call fcn.140025c70
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
and rbx, rcx
cmp rbx, qword [0x140380a88]
jne 0x140086724
call fcn.140025c70
jmp 0x140086724
int3
lea r14, [rsp + 0x60]
movaps xmmword [r14], xmm6
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.1401edc80
cmp qword [r14 + 8], 0
je 0x1400868bf
movzx r8d, word [rbx]
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140037690
jmp 0x14008686e