Function at 0x4cc2ba
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, 0x5fb188
call fcn.0059d590
sub esp, 0x6c
mov eax, dword [ebp + 8]
push ebx
push esi
cmp eax, 0x25
push edi
mov esi, ecx
jg 0x4ccf39
je 0x4ccea3
push 3
pop ebx
sub eax, ebx
je 0x4cccf4
sub eax, 9
je 0x4cca2e
dec eax
je 0x4cc8e1
sub eax, ebx
je 0x4cc632
dec eax
je 0x4cc470
sub eax, ebx
je 0x4cc3f3
dec eax
jne 0x4ccf6b
xor ebx, ebx
cmp dword [esi + 0xaca7c], ebx
je 0x4cd94a
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x8a46c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [ebp - 0x78]
push dword [ebp - 0x18]
push eax
call edi
test eax, eax
je 0x4cc392
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x74]
sub eax, dword [ebp - 0x78]
lea edi, [esi + 0x8a44c]
push ecx
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ecx
push eax
mov ecx, edi
call fcn.004b1896
push ebx
push ebx
push 2
push 3
push ebx
push dword [esi + 0xaca94]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
jmp 0x4ccf20
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x8ce10]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0xaca80]
mov eax, dword [esi + 0xaca84]
push eax
lea eax, [ebp - 0x78]
push eax
call edi
test eax, eax
je 0x4ccf27
push dword [ebp - 0x14]
lea eax, [ebp - 0x78]
push dword [ebp - 0x18]
push eax
call edi
test eax, eax
jne 0x4ccf27
lea ecx, [esi + 0x8cdf0]
call fcn.004b2b55
mov dword [esi + 0xacab4], ebx
mov dword [esi + 0xacaa8], ebx
mov dword [esi + 0xacab0], ebx
jmp 0x4ccf27
xor ebx, ebx
cmp dword [esi + 0xaca7c], ebx
je 0x4cd94a
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x8a46c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x14]
lea eax, [ebp - 0x78]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4ccf27
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x74]
sub eax, dword [ebp - 0x78]
lea edi, [esi + 0x8a44c]
push ecx
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ecx
push eax
mov ecx, edi
call fcn.004b1896
push ebx
push ebx
push 1
push 3
push ebx
push dword [esi + 0xaca94]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
jmp 0x4ccf20
cmp dword [esi + 0xacaa0], 0xd
jne 0x4cc625
call fcn.0051bd44
mov ecx, eax
call fcn.00532c27
mov edi, eax
call fcn.0051bd44
mov ecx, eax
call fcn.00532c2e
cmp eax, edi
jge 0x4cd677
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x18]
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], 6
je 0x4cc564
call fcn.00549b24
cmp eax, dword [esi + 0xaca98]
jne 0x4cc564
call fcn.0051bd44
mov ecx, eax
call fcn.00532da1
cmp eax, 0x14
jne 0x4cc529
mov ecx, dword [ebp - 0x18]
call fcn.005315e8
test al, al
je 0x4cc529
push ebx
push ebx
push 0x32
lea ecx, [esi + 0x8ceb0]
call fcn.0041bcf4
push 0x4e
push 0xf
call fcn.0050ef78
push ebx
push 0x3eb
call fcn.0050ef78
add esp, 0x10
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
jmp 0x4cd7dc
call fcn.0051bd44
mov ecx, eax
call fcn.00532da1
cmp eax, 0x14
jne 0x4cc54f
mov ecx, dword [ebp - 0x18]
push 8
call fcn.00531589
test eax, eax
je 0x4cc54f
push 8
push ebx
push 0x37
jmp 0x4cc4fb
mov ecx, dword [ebp - 0x18]
call fcn.00549b24
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.00532e1e
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push ebx
lea ecx, [esi + 0x1c3f4]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x67410]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
jmp 0x4cc51d
push 1
lea ecx, [esi + 0x35118]
jmp 0x4cd945
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x18]
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
xor ebx, ebx
cmp ecx, ebx
jne 0x4cc660
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
jmp 0x4cd7dc
call fcn.00549b24
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052ee95
test al, al
jne 0x4cc6f1
call fcn.0051bd44
mov ecx, eax
call fcn.00548f6f
test al, al
jne 0x4cc6f1
call fcn.0051bd44
mov ecx, eax
call fcn.00548fe6
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0054d265
test eax, eax
jne 0x4cc6ac
push 5
push 0x4b0
jmp 0x4cc6d0
call fcn.0051bd44
mov ecx, eax
call fcn.00548fe6
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0054ce29
test eax, eax
jbe 0x4cc6f1
push 6
push 0x4af
call fcn.0050ef78
push 0x4e
push 0xf
call fcn.0050ef78
push ebx
push 0x3eb
call fcn.0050ef78
add esp, 0x18
jmp 0x4cc654
mov ecx, dword [ebp - 0x18]
call fcn.00531913
test al, al
je 0x4cc74a
call fcn.0051bd44
mov ecx, eax
call fcn.00548f6f
test al, al
jne 0x4cc74a
push 0x4e
push 0xf
call fcn.0050ef78
push ebx
push 0x3eb
call fcn.0050ef78
add esp, 0x10
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push 0x2ba7
mov ecx, eax
call dword [edx + 0x3c]
push eax
push 0x3b
lea ecx, [esi + 0x91468]
call fcn.00476d84
jmp 0x4cc654
mov ecx, dword [ebp - 0x18]
call fcn.005315e8
test al, al
je 0x4cc7a6
call fcn.0051bd44
mov ecx, eax
call fcn.00548f6f
test al, al
jne 0x4cc7a6
call fcn.0051bd44
mov ecx, eax
call fcn.00548fe6
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0054d265
test eax, eax
je 0x4cc7a0
call fcn.0051bd44
mov ecx, eax
call fcn.00548fe6
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0054ce29
test eax, eax
jbe 0x4cc7a6
push ebx
push ebx
push 0x2d
jmp 0x4cc7b9
mov ecx, dword [ebp - 0x18]
push 1
call fcn.00531589
test eax, eax
je 0x4cc7e0
push 1
push ebx
push 0x37
lea ecx, [esi + 0x8ceb0]
call fcn.0041bcf4
push 0x4e
push 0xf
call fcn.0050ef78
push ebx
push 0x3eb
call fcn.0050ef78
add esp, 0x10
jmp 0x4cc654
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
cmp dword [esi + 0xacaa0], 0xd
jne 0x4cc894
push ecx
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4cc81d
push 1
add eax, 4
pop ecx
lock xadd dword [eax], ecx
mov byte [ebp - 4], 3
call fcn.0051bd44
mov ecx, eax
call fcn.005491e5
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x67410]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x1c3f4]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
jmp 0x4cc654
xor ebx, ebx
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
mov eax, dword [esi + 0xacaa0]
cmp eax, 0xc
jne 0x4cc936
mov ecx, 0x691fc0
call fcn.00538850
push dword [esi + 0xaca94]
test eax, eax
je 0x4cc91d
push 0x44e
call fcn.0050ef78
pop ecx
pop ecx
jmp 0x4cc929
call fcn.0051bd44
mov ecx, eax
call fcn.0052dd72
lea ecx, [esi + 0x32470]
call fcn.004b24b2
jmp 0x4cc986
cmp eax, 0xd
jne 0x4cc986
lea edi, [esi + 0x1c3f4]
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.004b23c1
mov dl, byte [esi + 0xacaa5]
push 1
push edx
push ebx
push dword [esi + 0xaca90]
mov ecx, eax
push dword [esi + 0xaca9c]
mov eax, dword [ecx]
push dword [esi + 0xaca94]
mov ecx, dword [ecx + 4]
push eax
push ecx
mov ecx, edi
call fcn.004b1e59
push dword [esi + 0xaca98]
mov ecx, edi
push eax
call fcn.004b25e0
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
jmp 0x4cd0bd
xor ebx, ebx
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
mov eax, dword [esi + 0xacaa0]
cmp eax, 0xd
jne 0x4ccc94
push 0x64
push ebx
push ebx
push ebx
push ebx
push str.Sound_Sell.wav
call dword [sym.imp.NDSound.dll__DXPlaySound_24]
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x20]
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4ccc1b
mov edi, dword [eax + 0xc]
cmp edi, 0xaae60
jb 0x4ccaa6
cmp edi, 0xaaec4
ja 0x4ccaa6
push 0xa
mov eax, edi
xor edx, edx
pop ecx
div ecx
cmp edx, 1
ja 0x4ccc00
mov eax, edi
xor edx, edx
mov ecx, 0x186a0
div ecx
cmp eax, 0xa
jae 0x4ccac8
push 0xa
mov eax, edi
xor edx, edx
pop ecx
div ecx
cmp edx, 7
jae 0x4ccc00
mov ecx, dword [ebp - 0x20]
call fcn.004d5074
test eax, eax
jne 0x4ccc00
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0xc]
cmp eax, 0x109a02
je 0x4ccc00
cmp eax, 0x109a01
je 0x4ccc00
cmp eax, 0x109a00
je 0x4ccc00
cmp eax, 0xb0265
je 0x4ccc00
cmp eax, 0xb0266
je 0x4ccc00
cmp eax, 0xb0267
je 0x4ccc00
cmp eax, 0x10c8e3
je 0x4ccc00
cmp eax, 0x10c8e6
je 0x4ccc00
cmp eax, 0x10c8e9
je 0x4ccc00
cmp byte [ecx + 0x4b], bl
ja 0x4ccc00
cmp dword [ecx + 0xa8], ebx
ja 0x4ccc00
call fcn.005304a9
cmp eax, 0xe
mov eax, dword [ebp - 0x20]
je 0x4ccb6f
cmp dword [eax + 0xac], ebx
ja 0x4ccc00
cmp dword [eax + 0xb0], ebx
ja 0x4ccc00
test byte [eax + 0x56], 1
jne 0x4ccc00
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov ecx, dword [eax]
add eax, 4
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00403a5b
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x4ccbc6
call fcn.004039fd
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x4ccbef
call fcn.00549b24
cmp eax, dword [esi + 0xaca98]
jne 0x4ccbef
mov ecx, dword [ebp - 0x18]
call fcn.00549b24
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052de1f
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x4ccc1b
call fcn.004039fd
jmp 0x4ccc1b
mov eax, dword [esi + 0xaca9c]
push ebx
push ebx
push 0xf
lea ecx, [esi + 0x8ceb0]
mov dword [esi + 0xacad0], eax
call fcn.0041bcf4
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x67410]
call fcn.004b23b7
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x4cccd0
call fcn.004039fd
jmp 0x4cccd0
cmp eax, 0xc
jne 0x4cccd0
lea edi, [esi + 0x32470]
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.004b23c1
push 1
push ebx
push ebx
mov ecx, eax
push dword [esi + 0xaca90]
mov eax, dword [ecx]
push dword [esi + 0xaca9c]
mov ecx, dword [ecx + 4]
push dword [esi + 0xaca94]
push eax
push ecx
mov ecx, edi
call fcn.004b1e59
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x1c3f4]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
jmp 0x4cd945
mov eax, dword [esi + 0xacaa0]
cmp eax, 0xd
jne 0x4cce0d
xor ebx, ebx
lea edi, [esi + 0x8a44c]
lea eax, [ebp - 0x48]
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push eax
mov ecx, edi
call fcn.004b23c1
push 1
push ebx
push ebx
mov ecx, eax
push dword [esi + 0xaca90]
mov eax, dword [ecx]
push dword [esi + 0xaca9c]
mov ecx, dword [ecx + 4]
push dword [esi + 0xaca94]
push eax
push ecx
mov ecx, edi
call fcn.004b1e59
lea edi, [esi + 0x1c3f4]
mov ecx, edi
call fcn.004b24b2
push ebx
mov ecx, edi
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x67410]
call fcn.004b23b7
mov ecx, esi
call fcn.004d9219
jmp 0x4cd94a
cmp eax, ebx
jne 0x4cd94a
xor ebx, ebx
lea edi, [esi + 0x8a44c]
lea eax, [ebp - 0x50]
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push eax
mov ecx, edi
call fcn.004b23c1
push 1
push ebx
push ebx
mov ecx, eax
push dword [esi + 0xaca90]
mov eax, dword [ecx]
push dword [esi + 0xaca9c]
mov ecx, dword [ecx + 4]
push dword [esi + 0xaca94]
push eax
push ecx
mov ecx, edi
call fcn.004b1e59
push ebx
lea ecx, [esi + 0x1c3f4]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x2f018]
jmp 0x4ccdfc
xor ebx, ebx
cmp dword [esi + 0xaca7c], ebx
je 0x4cd94a
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x8a46c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x14]
lea eax, [ebp - 0x78]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4ccf27
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x74]
sub eax, dword [ebp - 0x78]
lea edi, [esi + 0x8a44c]
push ecx
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x14], ecx
push eax
mov ecx, edi
call fcn.004b1814
push ebx
push ebx
mov ecx, eax
push 3
push 3
push ebx
mov eax, dword [ecx]
push dword [esi + 0xaca94]
mov dword [ebp - 0x18], eax
mov ecx, dword [ecx + 4]
push eax
mov dword [ebp - 0x14], ecx
push ecx
mov ecx, edi
call fcn.004b1e59
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
jmp 0x4cd94a
sub eax, 0x29
je 0x4cd82c
dec eax
je 0x4cd64c
dec eax
je 0x4cd434
sub eax, 0xd
je 0x4cd29e
sub eax, 6
je 0x4cd0dc
sub eax, 0x10
je 0x4ccff3
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00595fd5
pop ecx
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0xacaa0], 0xd
pop ecx
jne 0x4ccfdb
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x28]
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xa
cmp ecx, ebx
je 0x4ccfb2
call fcn.00549b24
mov edi, eax
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push ebx
lea ecx, [esi + 0x1c3f4]
call fcn.004b23b7
mov ecx, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x4ccfdb
call fcn.004039fd
push dword [ebp + 8]
push dword [ebp - 0x10]
push edi
call fcn.0051bd44
mov ecx, eax
call fcn.0052da9e
jmp 0x4cd94a
xor ebx, ebx
lea ecx, [esi + 0x1c3f4]
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push ebx
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x638ec]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14db8]
call fcn.0049e8d5
push ebx
push ebx
lea ecx, [esi + 0x859c4]
call fcn.004759b6
jmp 0x4cd93e
cmp dword [esi + 0xacaa0], 0xd
jne 0x4cd291
call fcn.0051bd44
mov ecx, eax
call fcn.00532c27
mov edi, eax
call fcn.0051bd44
mov ecx, eax
call fcn.00532c2e
cmp eax, edi
jge 0x4cd677
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x18]
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], 7
je 0x4cd1d0
call fcn.00549b24
cmp eax, dword [esi + 0xaca98]
jne 0x4cd1d0
call fcn.0051bd44
mov ecx, eax
call fcn.00532da1
cmp eax, 0x14
jne 0x4cd195
mov ecx, dword [ebp - 0x18]
call fcn.005315e8
test al, al
je 0x4cd195
push ebx
push ebx
push 0x32
lea ecx, [esi + 0x8ceb0]
call fcn.0041bcf4
push 0x4e
push 0xf
call fcn.0050ef78
push ebx
push 0x3eb
call fcn.0050ef78
add esp, 0x10
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
jmp 0x4cd7dc
call fcn.0051bd44
mov ecx, eax
call fcn.00532da1
cmp eax, 0x14
jne 0x4cd1bb
mov ecx, dword [ebp - 0x18]
push 8
call fcn.00531589
test eax, eax
je 0x4cd1bb
push 8
push ebx
push 0x37
jmp 0x4cd167
mov ecx, dword [ebp - 0x18]
call fcn.00549b24
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.00532e1e
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push ebx
lea ecx, [esi + 0x1c3f4]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x67410]
call fcn.004b23b7
jmp 0x4cd189
push 1
lea ecx, [esi + 0x83a00]
jmp 0x4cd945
cmp dword [esi + 0xacaa0], 0xd
jne 0x4cd94a
xor ebx, ebx
cmp dword [esi + 0x8cf10], ebx
je 0x4cd2d4
lea edi, [esi + 0x8ceb0]
mov ecx, edi
call fcn.0041d1fa
cmp eax, 0x2a
jb 0x4cd2d4
cmp eax, 0x2c
ja 0x4cd2d4
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
lea edi, [esi + 0x1c3f4]
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push ebx
mov ecx, edi
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x638ec]
call fcn.004b23b7
mov ecx, edi
call fcn.004b24b2
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x20]
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 5
cmp ecx, ebx
je 0x4cd428
call fcn.00531617
test al, al
jne 0x4cd3d6
push 1
jmp 0x4cd3e4
mov ecx, dword [ebp - 0x20]
call fcn.00531913
test al, al
je 0x4cd3f1
push 2
lea ecx, [esi + 0x6739c]
call fcn.00414229
jmp 0x4cd428
lea edi, [esi + 0x67410]
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call fcn.004b23c1
push 1
push ebx
push ebx
mov ecx, eax
push dword [esi + 0xaca90]
mov eax, dword [ecx]
push dword [esi + 0xaca9c]
mov ecx, dword [ecx + 4]
push dword [esi + 0xaca94]
push eax
push ecx
mov ecx, edi
call fcn.004b1e59
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
jmp 0x4cd7dc
cmp dword [esi + 0xacaa0], 0xd
jne 0x4cd63f
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x18]
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], 9
jne 0x4cd48a
push 0x4e
push 0xf
call fcn.0050ef78
push ebx
push 0x3eb
call fcn.0050ef78
add esp, 0x10
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
jmp 0x4cd7dc
call fcn.00549b24
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052ee95
test al, al
jne 0x4cd4c5
push 3
push 0x4af
call fcn.0050ef78
push 0x4e
push 0xf
call fcn.0050ef78
push ebx
push 0x3eb
call fcn.0050ef78
add esp, 0x18
jmp 0x4cd47e
mov ecx, dword [ebp - 0x18]
call fcn.00531913
test al, al
je 0x4cd51c
push 0x4e
push 0xf
call fcn.0050ef78
push ebx
push 0x3eb
call fcn.0050ef78
add esp, 0x10
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov esi, eax
call fcn.0040311a
push ebx
push ebx
mov edi, eax
mov eax, dword [esi]
push 0xff0000
push 0x7d5
push 0x2ba8
mov ecx, esi
call dword [eax + 0x3c]
push eax
mov ecx, edi
call fcn.004d9a57
jmp 0x4cd47e
mov ecx, dword [ebp - 0x18]
call fcn.005315e8
test al, al
je 0x4cd53c
push ebx
push ebx
push 0x33
lea ecx, [esi + 0x8ceb0]
call fcn.0041bcf4
jmp 0x4cd467
mov ecx, dword [ebp - 0x18]
call fcn.00549b24
cmp eax, dword [esi + 0xaca98]
jne 0x4cd560
mov ecx, dword [ebp - 0x18]
call fcn.00549b24
push eax
lea ecx, [esi + 0x635b0]
call fcn.0043d4dd
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push ebx
lea ecx, [esi + 0x1c3f4]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x638ec]
call fcn.004b23b7
push ebx
push 0x3eb
push 0x464
mov ecx, esi
call fcn.004ceba6
jmp 0x4cd47e
push 1
lea ecx, [esi + 0x638ec]
jmp 0x4cd945
cmp dword [esi + 0xacaa0], 0xd
jne 0x4cd81f
call fcn.0051bd44
mov ecx, eax
call fcn.00532c27
mov edi, eax
call fcn.0051bd44
mov ecx, eax
call fcn.00532c2e
cmp eax, edi
jl 0x4cd6ad
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov esi, eax
call fcn.0040311a
xor ebx, ebx
mov edi, eax
mov eax, dword [esi]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x277b
mov ecx, esi
call dword [eax + 0x3c]
push eax
mov ecx, edi
call fcn.004d9a57
jmp 0x4cd94a
push dword [esi + 0xaca9c]
lea eax, [ebp - 0x20]
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.0052d545
mov ecx, dword [ebp - 0x20]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], 8
je 0x4cd719
call fcn.00549b24
cmp eax, dword [esi + 0xaca98]
jne 0x4cd719
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0xc]
cmp eax, 0x10c8e3
je 0x4cd7ee
cmp eax, 0x10c8e6
je 0x4cd7ee
cmp eax, 0x10c8e9
je 0x4cd7ee
call fcn.00549b24
push eax
call fcn.0051bd44
mov ecx, eax
call fcn.00532e1e
mov dword [esi + 0xaca7c], ebx
or dword [0x67d8b0], 0xffffffff
push ebx
lea ecx, [esi + 0x1c3f4]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x67410]
call fcn.004b23b7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x4cd94a
call fcn.004039fd
jmp 0x4cd94a
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov esi, eax
call fcn.0040311a
push ebx
push ebx
mov edi, eax
mov eax, dword [esi]
push 0xff0000
push 0x7d5
push 0x28c9
mov ecx, esi
call dword [eax + 0x3c]
push eax
mov ecx, edi
call fcn.004d9a57
jmp 0x4cd7d5
push 1
lea ecx, [esi + 0x2f018]
jmp 0x4cd945
cmp dword [esi + 0xacaa0], 0xd
jne 0x4cd94a
lea edi, [esi + 0x1c3f4]
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.004b23c1
mov dl, byte [esi + 0xacaa5]
xor ebx, ebx
push 1
push ebx
push edx
push ebx
push dword [esi + 0xaca9c]
mov ecx, eax
mov eax, dword [ecx]
push dword [esi + 0xaca94]
mov ecx, dword [ecx + 4]
push eax
push ecx
mov ecx, edi
call fcn.004b1e59
push dword [esi + 0xaca98]
mov ecx, edi
push eax
call fcn.004b25e0
push ebx
mov ecx, edi
mov dword [esi + 0xaca7c], ebx
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x8a44c]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x32470]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x21408]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x35118]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x83a00]
call fcn.004b23b7
push ebx
push ebx
lea ecx, [esi + 0x14d50]
call fcn.00482eb3
push ebx
push ebx
lea ecx, [esi + 0x41d2c]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x421b4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x485e4]
call fcn.00442a9a
push ebx
push ebx
lea ecx, [esi + 0x5d488]
call fcn.0042e56e
push ebx
push ebx
lea ecx, [esi + 0x5ef30]
call fcn.00463422
push ebx
push ebx
lea ecx, [esi + 0x4ab38]
call fcn.00466fb5
push ebx
lea ecx, [esi + 0x2f018]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x638ec]
call fcn.004b23b7
push ebx
lea ecx, [esi + 0x67410]
call fcn.004b23b7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4