Function at 0x5148bb
Capabilities:
Check for peb ntglobalflag flag
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
sub esp, 0x70
lea ebp, [esp - 4]
mov eax, dword [0x70c004]
xor eax, ebp
mov dword [ebp + 0x70], eax
push 0x38
mov eax, 0x67e0fe
call fcn.0064b171
mov esi, ecx
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 0x7c]
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.NekoGameSDK4th::GameLibrary::CTalkSelectionManager.0
mov dword [esi + 4], eax
call fcn.004064e0
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 1
call fcn.0045c8fd
lea edi, [esi + 0x164]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004c2d5e
mov dword [edi], vtable.NekoGameSDK4th::Base::Math::CLinearCounter.0
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 3
call fcn.00413670
push fcn.00404c40
push fcn.004064e0
push 0x14
push 0x1c
lea eax, [esi + 0x1ac]
push eax
mov byte [ebp - 4], 4
call fcn.00649b22
push fcn.004c3654
push fcn.004c35e7
push 0x14
push 0x84
lea eax, [esi + 0x3dc]
push eax
mov byte [ebp - 4], 5
call fcn.00649b22
lea ecx, [esi + 0xe7c]
mov byte [ebp - 4], 6
call fcn.0046df4e
lea ecx, [esi + 0xebc]
mov byte [ebp - 4], 7
call fcn.0045fe82
push 0x14
pop ecx
xor eax, eax
mov dword [esi + 0x160], ebx
mov dword [esi + 0x1a8], ebx
lea edi, [esi + 0xe2c]
rep stosd dword es:[edi], eax
push 0x69f7c4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.004052b0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 9
call fcn.0046f7b8
mov ecx, eax
call fcn.004704b6
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectPlatePosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0xc
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectPlatePosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0xd
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton1PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0xe
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton2PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0xf
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 4], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton3PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x10
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton4PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x11
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton5PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x12
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton6PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x13
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton7PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x14
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton8PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x15
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton9PosX
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x16
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton1PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x17
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x2c], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton2PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x18
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x24], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton3PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x19
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton4PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton5PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x34], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton6PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton7PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x20], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton8PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
push str.SelectButton9PosY
lea ecx, [ebp + 0x38]
call fcn.004052b0
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0046f7b8
mov ecx, eax
call fcn.00470539
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp], eax
mov byte [ebp - 4], 0xb
call fcn.00405070
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x28], eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [esi + 8]
call fcn.00404d30
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 4]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp]
push ebx
push edi
lea ecx, [ebp + 0x54]
mov dword [esi + 0x70], eax
call fcn.00405070
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.00649a98
add ebp, 0x74
leave
ret 4