Function at 0x14007f400
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 [0x140363040]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp edx, 0xdf0
jne 0x14007f6ad
lea rdi, [0x140301990]
call fcn.140077f80
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 [0x1403775f8]
test rcx, rcx
je 0x14007f49f
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
mov r8d, ebx
call qword [0x140352210]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140151210
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401d4320
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 0x14007f6ef
test rax, rax
js 0x14007f6ef
mov rax, r15
shr rax, 0x20
jne 0x14007f6ef
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 0x14007f5ae
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 0x14007f5ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14007f5ae
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 0x14007f66d
mov rcx, rbx
xor edx, edx
sub rax, 2
setae r9b
jb 0x14007f5ae
test rcx, rcx
je 0x14007f5ae
movzx r8d, word [rcx]
test r8, r8
je 0x14007f656
lea r10d, [r8 + r8]
cmp r10, rax
jbe 0x14007f699
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x24]
mov dword [rcx], eax
call fcn.1400e57c0
lea rcx, [rsp + 0x5c]
call fcn.1400e57c0
lea rcx, [rsp + 0x50]
call fcn.1400e57c0
lea rcx, [rsp + 0x4c]
call fcn.1400e57c0
lea rcx, [rsp + 0x28]
call fcn.1400e57c0
lea rcx, [rsp + 0x40]
call fcn.1400e57c0
lea rcx, [rsp + 0x38]
call fcn.1400e57c0
lea rcx, [rsp + 0x34]
call fcn.1400e57c0
xorps xmm6, xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
cmp byte [rdi + 0x2f], 0
js 0x14007f61f
add rdi, 0x18
jmp 0x14007f623
mov rdi, qword [rdi + 0x18]
lea rbx, [rsp + 0x60]
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.140100710
mov rcx, rbx
call fcn.1400e57c0
call fcn.1401c68f0
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
jmp 0x14007f475
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14007f649
mov rax, rdx
mov rbx, rcx
dec r15d
je 0x14007f583
mov rdx, rax
xor ecx, ecx
sub rax, 2
setae cl
lea rcx, [rbx + rcx*2]
cmovae rdx, rax
jb 0x14007f65e
test rbx, rbx
je 0x14007f65e
movzx r8d, word [rbx]
add r8d, r8d
sub rax, r8
jb 0x14007f65e
add rcx, r8
jmp 0x14007f661
mov dl, r9b
lea rdx, [rcx + rdx*2]
mov rcx, rsi
call fcn.140035b90
jmp 0x14007f475
mov ebx, edx
cmp edx, 0x692
jne 0x14007f6c3
lea rdi, [0x140301960]
jmp 0x14007f43e
cmp ebx, 0x922
jne 0x14007f6d7
lea rdi, [0x140301980]
jmp 0x14007f43e
cmp ebx, 0x7da
jne 0x14007f452
lea rdi, [0x140301970]
jmp 0x14007f43e
int3