Function at 0x140008960
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1400bb388]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, r8
mov rdi, rdx
xor r15d, r15d
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], r15b
lea r8d, [r15 + 1]
lea rdx, [0x1400a11bc]
lea rcx, [rbp - 0x59]
call fcn.140012e10
nop
lea rcx, [0x1400a11c0]
call fcn.14006aa0c
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x1400089d0
mov r8, rax
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.140017fe0
mov qword [rbp - 0x19], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140008a20
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.140012f70
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..tmp
lea rcx, [rbp - 0x39]
call fcn.140012f70
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140010660
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140008ad2
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008acc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008cd2
call fcn.1400574e0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140008b0d
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008cd8
call fcn.1400574e0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140008b58
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008cde
call fcn.1400574e0
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140008ba3
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ce4
call fcn.1400574e0
mov edx, 0x65
xor ecx, ecx
lea r8d, [rdx - 0x4e]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
cmp qword [rdi + 0x18], 0x10
jb 0x140008bee
mov r8, qword [rdi]
add r8, qword [rdi + 0x10]
mov rdi, qword [rdi]
jmp 0x140008bf5
mov r8, qword [rdi + 0x10]
add r8, rdi
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.1400151c0
cmp qword [rax + 0x18], 8
jb 0x140008c0b
mov rax, qword [rax]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140008c73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ccc
call fcn.1400574e0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], r15w
mov dword [rbp + 0x27], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x27]
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400574c0
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140069478
nop
call fcn.140069478
nop
call fcn.140069478
nop
call fcn.140069478
nop
call fcn.140069478
int3