Function at 0x1400014bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
sub rsp, 0x4d8
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x380]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
call method.sf::ContextSettings.ContextSettings_unsigned_int__unsigned_int__unsigned_int__unsigned_int__unsigned_int__unsigned_int__bool_
lea rax, [rbp + 0x3c0]
mov rcx, rax
call method.std::locale.locale__
lea rdx, [rbp + 0x3c0]
lea rax, [rbp + 0x3a0]
mov r8, rdx
lea rdx, str.HERBERT
mov rcx, rax
call method.sf::String.String_char_const__std::locale_const_
lea rax, [rbp + 0x3cc]
mov r9d, 0x20
mov r8d, 0x3e8
mov edx, 0x708
mov rcx, rax
call method.sf::VideoMode.VideoMode_unsigned_int__unsigned_int__unsigned_int_
mov rax, qword [rbp + 0x3cc]
mov qword [rbp - 0x40], rax
mov eax, dword [rbp + 0x3d4]
mov dword [rbp - 0x38], eax
lea r8, [rbp + 0x3a0]
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x160]
lea rcx, [rbp + 0x380]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov rcx, rax
call method.sf::RenderWindow.RenderWindow_sf::VideoMode__sf::String_const__unsigned_int__sf::ContextSettings_const_
lea rax, [rbp + 0x3a0]
mov rcx, rax
call fcn.140097f60
lea rax, [rbp + 0x3c0]
mov rcx, rax
call fcn.14012d650
lea rax, [rbp + 0x3d8]
mov r8d, 0x64
mov edx, 0x64
mov rcx, rax
call method.sf::Vector2_int_.Vector2_int__int_
lea rdx, [rbp + 0x3d8]
lea rax, [rbp + 0x160]
mov rcx, rax
call method.sf::WindowBase.setPosition_sf::Vector2_int__const_
lea rax, [rbp + 0x160]
mov edx, 0x3c
mov rcx, rax
call method.sf::Window.setFramerateLimit_unsigned_int_
lea rax, [rbp + 0x160]
mov rcx, rax
call method.sf::WindowBase.getSystemHandle___const
mov qword [rbp + 0x448], rax
mov rax, qword [rbp + 0x448]
mov edx, 0xffffffec
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetWindowLongA]
call rax
or eax, 0x800a0
mov edx, eax
mov rax, qword [rbp + 0x448]
mov r8d, edx
mov edx, 0xffffffec
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SetWindowLongA]
call rax
mov rax, qword [rbp + 0x448]
mov r9d, 1
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
call rax
mov rax, qword [rbp + 0x448]
mov dword [rsp + 0x30], 0x13
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, 0xffffffffffffffff
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SetWindowPos]
call rax
lea rax, [rbp + 0x130]
mov rcx, rax
call fcn.140009230
lea r8, [0x14015b008]
lea rax, str.pet_image
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceA]
call rax
mov qword [rbp + 0x440], rax
mov rax, qword [rbp + 0x440]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov qword [rbp + 0x438], rax
mov rax, qword [rbp + 0x438]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov qword [rbp + 0x430], rax
mov rax, qword [rbp + 0x440]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov eax, eax
mov qword [rbp + 0x428], rax
lea rax, [rbp + 0x3e0]
mov rcx, rax
call method.sf::Rect_int_.Rect__
lea r8, [rbp + 0x3e0]
mov rcx, qword [rbp + 0x428]
mov rdx, qword [rbp + 0x430]
lea rax, [rbp + 0x130]
mov r9, r8
mov r8, rcx
mov rcx, rax
call method.sf::Texture.loadFromMemory_void_const__unsigned_long_long__sf::Rect_int__const_
xor eax, 1
test al, al
je 0x14000178a
mov ebx, 0
jmp 0x140001a7f
lea rax, [rbp + 0x10]
mov rcx, rax
call method.sf::Sprite.Sprite__
lea rdx, [rbp + 0x130]
lea rax, [rbp + 0x10]
mov r8d, 0
mov rcx, rax
call method.sf::Sprite.setTexture_sf::Texture_const__bool_
lea rax, [rbp + 0x10]
add rax, 8
pxor xmm2, xmm2
pxor xmm1, xmm1
mov rcx, rax
call method.sf::Transformable.setPosition_float__float_
mov ecx, 0
call sub.msvcrt.dll__time64
mov ecx, eax
call sym.srand
movss xmm0, dword [0x14015b01c]
movss dword [rbp + 0x424], xmm0
lea rax, [rbp + 0x10]
add rax, 8
mov rcx, rax
call method.sf::Transformable.getPosition___const
mov rax, qword [rax]
mov qword [rbp + 8], rax
mov rax, rbp
mov rcx, rax
call method.sf::Clock.Clock__
movss xmm0, dword [0x14015b020]
movss dword [rbp + 0x420], xmm0
jmp 0x140001a57
mov eax, dword [rbp - 0x20]
test eax, eax
jne 0x140001835
lea rax, [rbp + 0x160]
mov rcx, rax
call method.sf::Window.close__
lea rdx, [rbp - 0x20]
lea rax, [rbp + 0x160]
mov rcx, rax
call method.sf::WindowBase.pollEvent_sf::Event_
test al, al
jne 0x14000181f
mov rax, rbp
mov rcx, rax
call method.sf::Clock.getElapsedTime___const
mov qword [rbp + 0x3f8], rax
lea rax, [rbp + 0x3f8]
mov rcx, rax
call method.sf::Time.asSeconds___const
movd eax, xmm0
movd xmm3, eax
comiss xmm3, dword [rbp + 0x420]
setae al
test al, al
je 0x140001938
call sym.rand
movsxd rdx, eax
imul rdx, rdx, 0x57619f1
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x41c], edx
mov edx, dword [rbp + 0x41c]
imul edx, edx, 0x5dc
sub eax, edx
mov dword [rbp + 0x41c], eax
call sym.rand
movsxd rdx, eax
imul rdx, rdx, 0x5d9f7391
shr rdx, 0x20
sar edx, 8
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x418], edx
mov edx, dword [rbp + 0x418]
imul edx, edx, 0x2bc
sub eax, edx
mov dword [rbp + 0x418], eax
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x418]
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x41c]
lea rax, [rbp + 0x404]
movaps xmm2, xmm1
movaps xmm1, xmm0
mov rcx, rax
call method.sf::Vector2_float_.Vector2_float__float_
mov rax, qword [rbp + 0x404]
mov qword [rbp + 8], rax
mov rax, rbp
mov rcx, rax
call fcn.1400711e0
lea rax, [rbp + 0x10]
add rax, 8
mov rcx, rax
call method.sf::Transformable.getPosition___const
mov rax, qword [rax]
mov qword [rbp - 0x28], rax
mov rdx, qword [rbp + 8]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.distance_sf::Vector2_float___sf::Vector2_float__
movd eax, xmm0
movd xmm4, eax
comiss xmm4, dword [rbp + 0x424]
seta al
test al, al
je 0x140001a10
lea rdx, [rbp - 0x28]
lea rax, [rbp + 8]
mov rcx, rax
call method.sf::Vector2_float__sf.operator__float__sf::Vector2_float__const__sf::Vector2_float__const_
mov qword [rbp - 0x30], rax
movss xmm1, dword [rbp - 0x30]
movss xmm0, dword [rbp - 0x30]
mulss xmm1, xmm0
movss xmm2, dword [rbp - 0x2c]
movss xmm0, dword [rbp - 0x2c]
mulss xmm0, xmm2
addss xmm1, xmm0
movd eax, xmm1
movd xmm0, eax
call method.std.sqrt_float_
movd eax, xmm0
mov dword [rbp + 0x414], eax
movss xmm0, dword [rbp + 0x414]
lea rax, [rbp - 0x30]
movaps xmm1, xmm0
mov rcx, rax
call method.sf::Vector2_float__sf.operator__float__sf::Vector2_float___float_
movss xmm0, dword [rbp + 0x424]
lea rax, [rbp - 0x30]
movaps xmm1, xmm0
mov rcx, rax
call method.sf::Vector2_float__sf.operator_float__sf::Vector2_float__const__float_
mov qword [rbp + 0x40c], rax
lea rax, [rbp + 0x40c]
lea rdx, [rbp + 0x10]
lea rcx, [rdx + 8]
mov rdx, rax
call method.sf::Transformable.move_sf::Vector2_float__const_
lea rax, [rbp + 0x160]
lea rcx, [rax + 0x30]
mov rax, qword [0x14016d890]
mov rdx, rax
call method.sf::RenderTarget.clear_sf::Color_const_
lea rax, [rbp + 0x10]
lea rdx, [rbp + 0x160]
lea rcx, [rdx + 0x30]
mov r8, qword [0x14016d870]
mov rdx, rax
call method.sf::RenderTarget.draw_sf::Drawable_const__sf::RenderStates_const_
lea rax, [rbp + 0x160]
mov rcx, rax
call method.sf::Window.display__
lea rax, [rbp + 0x160]
mov rcx, rax
call method.sf::WindowBase.isOpen___const
test al, al
jne 0x140001835
mov ebx, 1
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.140097f00
lea rax, [rbp + 0x130]
mov rcx, rax
call method.sf::Texture.Texture__
lea rax, [rbp + 0x160]
mov rcx, rax
call fcn.140004580
mov eax, ebx
jmp 0x140001b14
add rsp, 0x4d8
pop rbx
pop rbp
ret