Function at 0x504da7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6701d2
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x6d35d0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
xor esi, esi
mov edi, ecx
mov dword [esp + 0x78], edi
mov dword [0xf62674], esi
mov dword [0xf62678], esi
mov dword [0xf6267c], esi
mov byte [0xf6266e], 0
cmp edi, esi
je 0x504e11
lea ecx, [edi + 0x10]
jmp 0x504e13
xor ecx, ecx
mov eax, dword [edi + 8]
push ecx
call fcn.0047d0ea
push 0x4778
call fcn.0046ef9c
mov ebx, eax
pop ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x160], esi
cmp ebx, esi
je 0x504e54
mov eax, dword [edi + 8]
push dword [eax + 0x13030]
add eax, 0x7f820
push dword [eax - 0x6c7f4]
push eax
call fcn.005cb5e3
jmp 0x504e56
xor eax, eax
or dword [esp + 0x160], 0xffffffff
push 0x64
mov dword [edi + 0x3c74], eax
lea esi, [edi + 0x2824]
pop ebx
push 0x48
call fcn.0046ef9c
pop ecx
test eax, eax
je 0x504e89
mov ecx, dword [edi + 8]
add ecx, 0x7f820
call fcn.005cc5b3
jmp 0x504e8b
xor eax, eax
mov dword [esi], eax
add esi, 4
dec ebx
jne 0x504e6d
mov ebx, 0x1f4
lea esi, [edi + 0xf8]
mov dword [esp + 0x18], ebx
push 0x48
call fcn.0046ef9c
pop ecx
test eax, eax
je 0x504ebe
mov ecx, dword [edi + 8]
add ecx, 0x7f820
call fcn.005cc5b3
jmp 0x504ec0
xor eax, eax
mov dword [esi], eax
add esi, 4
dec dword [esp + 0x18]
jne 0x504ea2
lea esi, [edi + 0x8c8]
mov dword [esp + 0x18], ebx
push 0x48
call fcn.0046ef9c
pop ecx
test eax, eax
je 0x504ef1
mov ecx, dword [edi + 8]
add ecx, 0x7f820
call fcn.005cc5b3
jmp 0x504ef3
xor eax, eax
mov dword [esi], eax
add esi, 4
dec dword [esp + 0x18]
jne 0x504ed5
lea esi, [edi + 0x1098]
push 0x5c
call fcn.0046ef9c
pop ecx
test eax, eax
je 0x504f20
mov ecx, dword [edi + 8]
add ecx, 0x7f820
call fcn.005ccdee
jmp 0x504f22
xor eax, eax
mov dword [esi], eax
add esi, 4
dec ebx
jne 0x504f04
lea eax, [esp + 0x20]
call fcn.004b05fd
push str.cfgCgViewScene.ini
lea ecx, [esp + 0x11c]
mov dword [esp + 0x164], 1
call fcn.00404ce0
lea eax, [esp + 0x118]
push eax
lea esi, [esp + 0x24]
mov byte [esp + 0x164], 2
call fcn.004b0651
mov bl, al
neg bl
sbb bl, bl
lea ecx, [esp + 0x118]
inc bl
mov byte [esp + 0x160], 1
call fcn.00404660
test bl, bl
je 0x504fbd
or dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004b063d
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0062c8b8
mov esp, ebp
pop ebp
ret
push fcn.00404660
push 0x415f60
push 2
pop ebx
push ebx
push 0x1c
lea eax, [esp + 0xd4]
push eax
call fcn.0062c942
push ebx
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
mov byte [esp + 0x164], 3
call fcn.004b06eb
test al, al
je 0x5067e7
mov ecx, str.page_frame_num
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505079
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x505079
mov ecx, 0x68e494
call fcn.004236b0
test eax, eax
je 0x505079
mov eax, edi
call fcn.004af587
mov esi, dword [esp + 0x78]
mov dword [esi + 0x14], eax
lea eax, [esp + 0xe0]
call fcn.004af587
mov dword [esi + 0x18], eax
jmp 0x505062
mov ecx, 0x68e498
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x50507d
push ebx
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
jne 0x50504d
jmp 0x50507d
mov esi, dword [esp + 0x78]
mov ecx, str.frame
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505696
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4a4
call fcn.004236b0
test eax, eax
je 0x505696
push 0xffffffffffffffff
push 0
mov eax, edi
push eax
lea ecx, [esi + 0x1c]
call fcn.00404790
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4a8
call fcn.004236b0
test eax, eax
je 0x505696
push 0xffffffffffffffff
push 0
mov eax, edi
push eax
lea ecx, [esi + 0x38]
call fcn.00404790
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4ac
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x54], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x58], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4b0
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x64], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x68], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4b4
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x6c], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x70], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4b8
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x74], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x78], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4bc
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x7c], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x80], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4c0
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x84], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x88], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4c4
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x5c], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x60], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4c8
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x8c], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x90], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4cc
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x94], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0x98], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4d0
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0x9c], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xa0], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4d4
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xa4], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xa8], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4d8
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xac], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xb0], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4dc
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xb4], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xb8], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4e0
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xbc], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xc0], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4e4
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xc4], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xc8], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4e8
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xcc], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xd0], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4ec
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xd4], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xd8], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4f0
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xdc], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xe0], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4f4
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xe4], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xe8], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4f8
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xec], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esi + 0xf0], eax
call fcn.004b06eb
test al, al
je 0x505696
mov ecx, 0x68e4fc
call fcn.004236b0
test eax, eax
je 0x505696
mov eax, edi
call fcn.004af587
mov dword [esi + 0xf4], eax
jmp 0x505681
mov ecx, 0x68e500
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x505696
push ebx
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
jne 0x50566c
mov ecx, 0x68e504
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x50590b
xor edi, edi
push edi
lea ecx, [esp + 0x100]
mov dword [esp + 0x118], 0xf
call fcn.00404be0
mov byte [esp + 0x160], 4
push ebx
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
call fcn.004b06eb
test al, al
je 0x505839
mov ecx, 0x68e50c
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x505839
push 0xffffffffffffffff
push 0
mov eax, edi
push eax
lea ecx, [esp + 0x108]
call fcn.00404790
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x505839
mov ecx, 0x68e510
call fcn.004236b0
test eax, eax
je 0x505839
mov eax, edi
call fcn.004af587
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], eax
call fcn.004b06eb
test al, al
je 0x505839
mov ecx, 0x68e514
call fcn.004236b0
test eax, eax
je 0x505839
mov eax, edi
call fcn.004af587
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push ebx
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0xac], eax
call fcn.004b06eb
test al, al
je 0x505839
mov ecx, 0x68e518
call fcn.004236b0
test eax, eax
je 0x505839
mov eax, edi
call fcn.004af587
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xe0]
call fcn.004af587
mov dword [esp + 0x90], eax
jmp 0x505824
mov ecx, 0x68e51c
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x505839
push ebx
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
jne 0x50580f
push 0x5c
call fcn.0046ef9c
pop ecx
test eax, eax
je 0x505857
mov ecx, dword [esi + 8]
add ecx, 0x7f820
call fcn.005ccdee
mov edi, eax
jmp 0x505859
xor edi, edi
push dword [esp + 0xa8]
lea eax, [esp + 0x100]
push dword [esp + 0xa8]
mov dword [esp + 0x44], edi
push 1
push eax
mov eax, edi
call fcn.005cce69
test al, al
je 0x5058ea
mov eax, dword [esp + 0x9c]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0xa0]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x8c]
mov dword [edi + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [edi + 0x58], eax
mov dword [edi + 0x2c], 0xff
mov edi, dword [esi + 0x281c]
lea eax, [esp + 0x3c]
push eax
push dword [edi + 4]
push edi
call fcn.005e98c0
mov ecx, dword [esi + 0x2820]
mov edx, 0x3fffffff
sub edx, ecx
cmp edx, 1
jb 0x50681d
inc ecx
mov dword [esi + 0x2820], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
jmp 0x5058f7
test edi, edi
je 0x5058f7
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [esp + 0xfc]
mov byte [esp + 0x160], 3
call fcn.00404660
mov ecx, 0x68e520
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e534
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e548
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e55c
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e574
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e58c
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e5a0
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e5b4
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e5c8
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e5d8
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e5e8
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e600
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e618
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e630
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e648
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e660
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e678
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e690
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e6a8
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e6c0
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e6d8
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e6ec
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e700
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e714
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e728
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e73c
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e750
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e764
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e778
call fcn.004236b0
test eax, eax
je 0x505b0e
mov ecx, 0x68e78c
call fcn.004236b0
test eax, eax
jne 0x506536
and dword [esp + 0x14], 0
mov ecx, 0x68e7a0
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505b2c
and dword [esp + 0x14], eax
mov ecx, 0x68e7b4
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505b49
mov dword [esp + 0x14], 1
mov ecx, 0x68e7c8
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505b62
mov dword [esp + 0x14], ebx
mov ecx, 0x68e7dc
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505b7f
mov dword [esp + 0x14], 3
mov ecx, 0x68e7f4
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505b9c
mov dword [esp + 0x14], 4
mov ecx, 0x68e80c
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505bb9
mov dword [esp + 0x14], 5
mov ecx, 0x68e820
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505bd6
mov dword [esp + 0x14], 6
mov ecx, 0x68e834
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505bf3
mov dword [esp + 0x14], 7
mov ecx, str.button_return
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505c10
mov dword [esp + 0x14], 8
mov ecx, str.button_category_page01
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505c2d
mov dword [esp + 0x14], 0xa
mov ecx, str.button_category_page02
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505c4a
mov dword [esp + 0x14], 0xb
mov ecx, str.button_category_page03
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505c67
mov dword [esp + 0x14], 0xc
mov ecx, str.button_category_page04
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505c84
mov dword [esp + 0x14], 0xd
mov ecx, str.button_category_page05
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505ca1
mov dword [esp + 0x14], 0xe
mov ecx, str.button_category_page06
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505cbe
mov dword [esp + 0x14], 0xf
mov ecx, str.button_category_page07
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505cdb
mov dword [esp + 0x14], 0x10
mov ecx, str.button_category_page08
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505cf8
mov dword [esp + 0x14], 0x11
mov ecx, str.button_category_page09
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505d15
mov dword [esp + 0x14], 0x12
mov ecx, str.button_category_page10
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505d32
mov dword [esp + 0x14], 0x13
mov ecx, str.button_sub_page01
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505d4f
mov dword [esp + 0x14], 0x14
mov ecx, str.button_sub_page02
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505d6c
mov dword [esp + 0x14], 0x15
mov ecx, str.button_sub_page03
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505d89
mov dword [esp + 0x14], 0x16
mov ecx, str.button_sub_page04
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505da6
mov dword [esp + 0x14], 0x17
mov ecx, str.button_sub_page05
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505dc3
mov dword [esp + 0x14], 0x18
mov ecx, str.button_sub_page06
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505de0
mov dword [esp + 0x14], 0x19
mov ecx, str.button_sub_page07
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505dfd
mov dword [esp + 0x14], 0x1a
mov ecx, str.button_sub_page08
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505e1a
mov dword [esp + 0x14], 0x1b
mov ecx, str.button_sub_page09
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505e37
mov dword [esp + 0x14], 0x1c
mov ecx, str.button_sub_page10
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x505e54
mov dword [esp + 0x14], 0x1d
push 0xf
pop edi
xor ebx, ebx
push ebx
lea ecx, [esp + 0x100]
mov dword [esp + 0x118], edi
call fcn.00404be0
push ebx
lea ecx, [esp + 0x138]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x150], edi
call fcn.00404be0
mov byte [esp + 0x160], 7
push 2
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x40], ebx
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea10
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x50614b
push 0xffffffffffffffff
push ebx
mov eax, edi
push eax
lea ecx, [esp + 0x108]
call fcn.00404790
push 2
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea14
call fcn.004236b0
test eax, eax
je 0x50614b
mov eax, edi
call fcn.004af587
mov dword [esp + 0x40], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push 2
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], eax
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea18
call fcn.004236b0
test eax, eax
je 0x50614b
mov eax, edi
call fcn.004af587
mov ebx, eax
lea eax, [esp + 0xe0]
call fcn.004af587
and dword [esp + 0x1c], 0
mov dword [esp + 0xb0], eax
push 2
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea1c
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x50614b
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xc4]
shl edi, 3
call fcn.004af587
mov dword [esp + edi + 0x48], eax
lea eax, [esp + 0xe0]
call fcn.004af587
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 5
mov dword [esp + edi + 0x4c], eax
jl 0x505f9b
push 2
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea20
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x50614b
push 0xffffffffffffffff
push 0
mov eax, edi
push eax
lea ecx, [esp + 0x140]
call fcn.00404790
push 2
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea24
call fcn.004236b0
test eax, eax
je 0x50614b
mov eax, edi
call fcn.004af587
mov dword [esp + 0x70], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push 2
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], eax
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea28
call fcn.004236b0
test eax, eax
je 0x50614b
mov eax, edi
call fcn.004af587
lea eax, [esp + 0xe0]
call fcn.004af587
push 2
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea2c
call fcn.004236b0
test eax, eax
je 0x50614b
mov eax, edi
call fcn.004af587
lea eax, [esp + 0xe0]
call fcn.004af587
push 2
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x50614b
mov ecx, 0x68ea30
call fcn.004236b0
test eax, eax
je 0x50614b
mov eax, edi
call fcn.004af587
mov dword [esp + 0x3c], eax
jmp 0x506135
mov ecx, 0x68ea34
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x50614b
push 2
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
jne 0x506120
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x506297
cmp eax, 7
jle 0x506231
cmp eax, 8
je 0x5061c8
cmp eax, 9
jle 0x506297
cmp eax, 0x13
jle 0x506231
cmp eax, 0x1d
jg 0x506297
push dword [esp + 0x6c]
lea edi, [esi + eax*4 + 0x2824]
push dword [esp + 0x6c]
lea eax, [esp + 0x104]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0xd8]
push ebx
push 1
push eax
push 0
jmp 0x506278
push dword [esp + 0x6c]
lea eax, [esp + 0x100]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0xd8]
push ebx
mov ebx, dword [esi + 0x2844]
push 1
push eax
push 4
call fcn.005cc613
push dword [esp + 0x44]
mov eax, dword [esi + 0x2844]
push dword [esp + 0x44]
call fcn.005cc977
mov eax, dword [esi + 0x2844]
mov dword [eax + 0x20], 0xff
jmp 0x506297
push dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x6c]
lea edi, [esi + eax*4 + 0x2824]
push dword [esp + 0x6c]
lea eax, [esp + 0x108]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0xd8]
push ebx
push 1
push eax
push 3
mov ebx, dword [edi]
call fcn.005cc613
push dword [esp + 0x44]
mov eax, dword [edi]
push dword [esp + 0x44]
call fcn.005cc977
mov edi, dword [edi]
mov dword [edi + 0x20], 0xff
mov eax, dword [esp + 0x14]
lea eax, [esi + eax*4 + 0x374c]
mov eax, dword [eax]
test eax, eax
je 0x5062b7
mov ecx, dword [esi + 8]
push eax
lea edi, [ecx + 0x7f820]
call fcn.004ce9f4
mov edi, dword [esp + 0x14]
mov eax, edi
imul eax, eax, 0x1c
lea eax, [eax + esi + 0x2b44]
mov dword [esp + 0x38], eax
call fcn.00425180
and dword [esi + edi*4 + 0x374c], 0
lea ebx, [esi + edi*4 + 0x3abc]
or dword [ebx], 0xffffffff
and dword [esp + 0x1c], 0
lea eax, [esi + 0x2b44]
lea edi, [esi + 0x3904]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x134]
call fcn.004268f0
test eax, eax
jne 0x506344
cmp dword [edi], eax
je 0x506344
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [esp + 0xbc]
push edx
call dword [eax + 0x64]
mov ecx, dword [esp + 0x70]
cmp dword [eax], ecx
jne 0x506344
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [esp + 0xb4]
push edx
call dword [eax + 0x64]
mov ecx, dword [esp + 0x74]
cmp dword [eax + 4], ecx
jne 0x506344
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
inc dword [esp + 0x1c]
add dword [esp + 0x18], 0x1c
add edi, 4
cmp dword [esp + 0x1c], 0x6e
jb 0x5062f7
cmp dword [ebx], 0xffffffff
jne 0x506513
mov eax, dword [esi + 8]
push 0
lea ecx, [esp + 0x138]
push ecx
lea edi, [eax + 0x7f820]
call fcn.004ce7c9
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea ebx, [esi + edi*4 + 0x374c]
push 0xffffffffffffffff
mov dword [ebx], eax
push 0
lea eax, [esp + 0x13c]
push eax
mov dword [esp + 0x24], ebx
call fcn.00404790
cmp dword [ebx], 0
je 0x506513
lea edi, [esi + edi*4 + 0x3904]
mov ecx, dword [edi]
test ecx, ecx
je 0x5063bb
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
mov eax, dword [esp + 0x3c]
sub eax, 0
je 0x5064a4
dec eax
je 0x506472
dec eax
je 0x50644f
dec eax
je 0x50642c
dec eax
je 0x506409
dec eax
jne 0x5064df
push 0x16c
call fcn.0046ef9c
pop ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x160], 0xd
test eax, eax
je 0x506496
push eax
call fcn.004a02ec
jmp 0x506498
push 0x16c
call fcn.0046ef9c
pop ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x160], 0xc
test eax, eax
je 0x506496
push eax
call fcn.004a09c9
jmp 0x506498
push 0x16c
call fcn.0046ef9c
pop ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x160], 0xb
test eax, eax
je 0x506496
push eax
call fcn.0049f53b
jmp 0x506498
push 0x16c
call fcn.0046ef9c
pop ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x160], 0xa
test eax, eax
je 0x506496
push eax
call fcn.0049fbbb
jmp 0x506498
push 0x154
call fcn.0046ef9c
pop ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x160], 9
test eax, eax
je 0x506496
mov ecx, eax
call fcn.0049b6be
jmp 0x506498
xor eax, eax
mov byte [esp + 0x160], 7
mov dword [edi], eax
jmp 0x5064df
push 0x13c
call fcn.0046ef9c
mov ebx, eax
pop ecx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x160], 8
test ebx, ebx
je 0x5064cf
push ebx
call fcn.0051e420
mov dword [ebx], vtable.NekoGameSDK4th::GameBase::CNullMotionTexture.0
jmp 0x5064d1
xor ebx, ebx
mov byte [esp + 0x160], 7
mov dword [edi], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x28]
push dword [esp + 0x74]
mov ecx, dword [edi]
push dword [esp + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [edi]
mov eax, dword [ecx]
push 0xff
call dword [eax + 0x48]
mov ecx, dword [edi]
mov eax, dword [ecx]
push 0x14
call dword [eax + 0x50]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x40]
lea ecx, [esp + 0x134]
call fcn.00404660
lea ecx, [esp + 0xfc]
mov byte [esp + 0x160], 3
call fcn.00404660
push 2
pop ebx
mov ecx, str.page_show_object
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
jne 0x5067ca
xor ebx, ebx
push ebx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x134], 0xf
call fcn.00404be0
mov byte [esp + 0x160], 0xe
push 2
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.004b06eb
test al, al
je 0x506713
mov ecx, 0x68ea4c
call fcn.004236b0
test eax, eax
je 0x506713
mov eax, edi
call fcn.004af587
mov ebx, eax
lea eax, [esp + 0xe0]
call fcn.004af587
push 2
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], eax
call fcn.004b06eb
test al, al
je 0x506713
mov ecx, 0x68ea50
call fcn.004236b0
test eax, eax
je 0x506713
push 0xffffffffffffffff
push 0
mov eax, edi
push eax
lea ecx, [esp + 0x124]
call fcn.00404790
push 2
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
je 0x506713
mov ecx, 0x68ea54
call fcn.004236b0
test eax, eax
je 0x506713
mov eax, edi
call fcn.004af587
mov dword [esp + 0x94], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push 2
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x9c], eax
call fcn.004b06eb
test al, al
je 0x506713
mov ecx, 0x68ea58
call fcn.004236b0
test eax, eax
je 0x506713
mov eax, edi
call fcn.004af587
mov dword [esp + 0x7c], eax
lea eax, [esp + 0xe0]
call fcn.004af587
push 2
mov edx, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], eax
call fcn.004b06eb
test al, al
je 0x506713
mov ecx, 0x68ea5c
call fcn.004236b0
test eax, eax
je 0x506713
mov eax, edi
call fcn.004af587
mov dword [esp + 0x84], eax
lea eax, [esp + 0xe0]
call fcn.004af587
mov dword [esp + 0x88], eax
jmp 0x5066fd
mov ecx, 0x68ea60
lea edi, [esp + 0xc4]
call fcn.004236b0
test eax, eax
je 0x506713
push 2
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
jne 0x5066e8
imul ebx, ebx, 0xa
add ebx, dword [esp + 0x3c]
lea edi, [esi + ebx*4 + 0x29b4]
mov ecx, dword [edi]
test ecx, ecx
je 0x50672e
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
push 0x5c
call fcn.0046ef9c
pop ecx
test eax, eax
je 0x50674a
mov esi, dword [esi + 8]
lea ecx, [esi + 0x7f820]
call fcn.005ccdee
jmp 0x50674c
xor eax, eax
push dword [esp + 0x80]
lea ecx, [esp + 0x11c]
push dword [esp + 0x80]
mov dword [edi], eax
push 1
push ecx
call fcn.005cce69
test al, al
je 0x5067a3
mov eax, dword [edi]
mov ecx, dword [esp + 0x94]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x28], ecx
mov eax, dword [edi]
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x58], ecx
mov edi, dword [edi]
and dword [edi + 0x2c], 0
jmp 0x5067b3
mov ecx, dword [edi]
test ecx, ecx
je 0x5067b0
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
and dword [edi], 0
lea ecx, [esp + 0x118]
mov byte [esp + 0x160], 3
call fcn.00404660
push 2
pop ebx
push ebx
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x24]
call fcn.004b06eb
test al, al
jne 0x504ffb
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 0x282c]
call fcn.005cc8f5
push 0
mov esi, edi
call fcn.00507a96
push fcn.00404660
push ebx
push 0x1c
lea eax, [esp + 0xd0]
push eax
mov byte [esp + 0x170], 1
call fcn.0062ca05
jmp 0x504f88
push str.list_T__too_long
lea ecx, [esp + 0x11c]
call fcn.00404ce0
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x164], 5
call fcn.0040ac30
push 0x6b9284
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], vtable.std::length_error.0
call fcn.0062ee4b
int3