Function at 0x4015e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428003
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x436040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3f4], esi
push 0
push 0x436b74
push 0x436bd8
push 0
push dword [esi + 4]
call fcn.00427e1d
movss xmm0, dword [esi + 0xc]
lea ecx, [ebp - 0x280]
addss xmm0, dword [0x430ed4]
movss xmm2, dword [0x430eb4]
add esp, 0x14
movaps xmm1, xmm2
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x3f4]
cvttss2si edi, xmm0
movss xmm0, dword [esi + 8]
addss xmm0, dword [0x430ed4]
mov dword [ebp - 0x41c], edi
cvttss2si esi, xmm0
mov dword [ebp - 0x420], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x230], xmm1
divss xmm2, xmm0
movss dword [eax + 0x234], xmm2
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::RenderTexture::constructor_void_]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x410]
push eax
push edi
mov edi, dword [sym.imp.sfml_graphics_2.dll_public:_bool___thiscall_sf::RenderTexture::create_unsigned_int__unsigned_int__struct_sf::ContextSettings_const__]
lea ecx, [ebp - 0x280]
push esi
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x400], 1
mov dword [ebp - 0x3fc], 0
mov byte [ebp - 0x3f8], 0
call edi
push dword [sym.imp.sfml_graphics_2.dll_class_sf::Color_const_sf::Color::Transparent]
mov esi, dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::RenderTarget::clear_class_sf::Color_const__]
lea ecx, [ebp - 0x280]
call esi
mov eax, dword [sym.imp.sfml_graphics_2.dll_class_sf::RenderStates_const_sf::RenderStates::Default]
mov ecx, dword [ebp - 0x414]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [eax + 0x50]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.sfml_graphics_2.dll_public:_class_sf::Transform_const____thiscall_sf::Transformable::getInverseTransform_void_const]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x418], 0x41200000
mov dword [ebp - 0x414], 0x41200000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [eax + 0x30]
lea eax, [ebp - 0x418]
push eax
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.sfml_graphics_2.dll_public:_class_sf::Transform____thiscall_sf::Transform::translate_class_sf::Vector2_float__const__]
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x3f4]
push dword [eax + 4]
lea ecx, [ebp - 0x280]
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::RenderTarget::draw_class_sf::Drawable_const___class_sf::RenderStates_const__]
lea ecx, [ebp - 0x280]
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::RenderTexture::display_void_]
mov eax, dword [ebp - 0x3f4]
lea ecx, [ebp - 0x410]
push ecx
push dword [ebp - 0x41c]
mov dword [ebp - 0x410], 0
push dword [ebp - 0x420]
lea ecx, [eax + 0x20]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 1
mov dword [ebp - 0x400], 1
mov dword [ebp - 0x3fc], 0
mov byte [ebp - 0x3f8], 0
call edi
mov edi, dword [ebp - 0x3f4]
push dword [sym.imp.sfml_graphics_2.dll_class_sf::Color_const_sf::Color::Transparent]
add edi, 0x20
mov ecx, edi
call esi
lea ecx, [ebp - 0x280]
call dword [sym.imp.sfml_graphics_2.dll_public:_class_sf::Texture_const____thiscall_sf::RenderTexture::getTexture_void_const]
push eax
lea ecx, [ebp - 0x390]
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::Sprite::constructor_class_sf::Texture_const__]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40c]
mov eax, dword [sym.imp.sfml_graphics_2.dll_class_sf::RenderStates_const_sf::RenderStates::Default]
push 4
push str.mask
mov dword [ebp - 0x3fc], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x3f8], 0
movups xmmword [ebp - 0x3f0], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x3e0], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x3d0], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x3c0], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ebp - 0x3b0], xmm0
movups xmm0, xmmword [eax + 0x50]
movups xmmword [ebp - 0x3a0], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40c], xmm0
call fcn.00401a90
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 2
movaps xmm0, xmmword [0x430f70]
mov ecx, 0x437dcc
push eax
lea eax, [ebp - 0x40c]
push eax
movups xmmword [ebp - 0x430], xmm0
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::Shader::setUniform_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___struct_sf::priv::Vector4_float__const__]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3f8]
cmp ecx, 0xf
jbe 0x401932
mov edx, dword [ebp - 0x40c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401928
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a34
push ecx
push edx
call fcn.0040c2f4
add esp, 8
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3fc], 0
push str.direction
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x3f8], 0
movups xmmword [ebp - 0x40c], xmm0
call fcn.00401a90
mov eax, dword [ebp - 0x3f4]
mov ecx, 0x437dcc
mov byte [ebp - 4], 3
mov dword [ebp - 0x424], 0
movss xmm0, dword [eax + 0x230]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x40c]
movss dword [ebp - 0x428], xmm0
push eax
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::Shader::setUniform_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_sf::Vector2_float__const__]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3f8]
cmp ecx, 0xf
jbe 0x4019d9
mov edx, dword [ebp - 0x40c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4019cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a39
push ecx
push edx
call fcn.0040c2f4
add esp, 8
lea eax, [ebp - 0x3f0]
mov dword [ebp - 0x394], 0x437dcc
push eax
lea eax, [ebp - 0x390]
mov ecx, edi
push eax
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::RenderTarget::draw_class_sf::Drawable_const___class_sf::RenderStates_const__]
mov ecx, edi
call dword [sym.imp.sfml_graphics_2.dll_public:_void___thiscall_sf::RenderTexture::display_void_]
lea ecx, [ebp - 0x390]
call dword [sym.imp.sfml_graphics_2.dll_public_virtual:_void___thiscall_sf::Sprite::destructor_void_]
lea ecx, [ebp - 0x280]
call dword [sym.imp.sfml_graphics_2.dll_public_virtual:_void___thiscall_sf::RenderTexture::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c065
mov esp, ebp
pop ebp
ret
call fcn.004108ef
call fcn.004108ef
int3