Function at 0x47aaf0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cba8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x55b598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
call fcn.00476750
lea ecx, [esi + 0x44]
mov dword [ebp - 4], 0
mov dword [esi], vtable.Background_Night.0
mov dword [esi + 0x34], 2
call fcn.00405270
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 1
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
call fcn.00402810
push 0
sub esp, 0x18
mov byte [esi + 0x60], 0
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.game_night_back.rttex
call fcn.00401a60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.0045acd0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0045ae90
push eax
mov byte [ebp - 4], 3
call fcn.00406e90
mov ecx, eax
call fcn.00442b70
lea ecx, [ebp - 0x28]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 1
call fcn.00401c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.game_moon.rttex
call fcn.00401a60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.0045acd0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0045ae90
push eax
mov byte [ebp - 4], 5
call fcn.00406e90
mov ecx, eax
call fcn.00442b70
lea ecx, [ebp - 0x28]
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 1
call fcn.00401c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.game_stars.rttex
call fcn.00401a60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
call fcn.0045acd0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0045ae90
push eax
mov byte [ebp - 4], 7
call fcn.00406e90
mov ecx, eax
call fcn.00442b70
lea ecx, [ebp - 0x28]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 1
call fcn.00401c10
mov ecx, dword [esi + 0x30]
push 4
push 4
call fcn.0044dad0
mov ecx, dword [esi + 0x30]
push 1
call fcn.0044b140
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.game_hills3.rttex
call fcn.00401a60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
call fcn.0045acd0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0045ae90
push eax
mov byte [ebp - 4], 9
call fcn.00406e90
mov ecx, eax
call fcn.00442b70
lea ecx, [ebp - 0x28]
mov dword [esi + 0x38], eax
mov byte [ebp - 4], 1
call fcn.00401c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.game_hills2.rttex
call fcn.00401a60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
call fcn.0045acd0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0045ae90
push eax
mov byte [ebp - 4], 0xb
call fcn.00406e90
mov ecx, eax
call fcn.00442b70
lea ecx, [ebp - 0x28]
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 1
call fcn.00401c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.game_hills1.rttex
call fcn.00401a60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
call fcn.0045acd0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0045ae90
push eax
mov byte [ebp - 4], 0xd
call fcn.00406e90
mov ecx, eax
call fcn.00442b70
lea ecx, [ebp - 0x28]
mov dword [esi + 0x40], eax
call fcn.00401c10
sub esp, 0x10
lea ecx, [ebp - 0x20]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004132f0
mov ecx, dword [ebp + 8]
movups xmm0, xmmword [eax]
mov dword [esi + 0x34], ecx
mov eax, esi
movups xmmword [esi + 8], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ee2fb
mov esp, ebp
pop ebp
ret 4