Function at 0x432aff
Capabilities:
Hide graphical window

Disassembly:
push 0x1a0
mov eax, 0x5a365a
call fcn.0058141a
mov esi, ecx
mov ebx, dword [ebp + 8]
cmp ebx, dword [esi + 0x184]
je 0x433636
fld qword [0x618870]
fld qword [0x5f5f00]
fmul st(1)
call fcn.005815c0
fld qword [0x5f5d98]
mov ecx, eax
fxch st(1)
mov dword [ebp - 0x1ac], ecx
fcomi st(1)
mov dword [ebp - 0x1a4], ecx
fstp st(1)
jbe 0x432b7d
fmul qword [0x5f5dd0]
fild dword [ebp - 0x1a4]
fstp qword [ebp - 0x1a8]
fadd qword [ebp - 0x1a8]
call fcn.005815c0
fld qword [0x618870]
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a4], eax
fld qword [0x5f5dc0]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x432bb6
fild dword [ebp - 0x1a4]
fstp qword [ebp - 0x1a8]
fld qword [ebp - 0x1a8]
fld qword [0x618870]
fmul qword [0x5f5dd8]
fsubp st(1)
call fcn.005815c0
mov dword [ebp - 0x1ac], eax
cmp dword [0x624138], 0
je 0x432bed
push str.TILES_CHANGE
mov dword [0x624158], 1
mov dword [esi + 0xf8], ebx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x64
push 0x64
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x433636
push dword [esi + 0x20]
and dword [0x624158], 0
mov dword [0x624134], 1
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x432c13
mov ecx, dword [esi + 0x20]
call fcn.0042c242
cmp dword [0x618878], 0
mov edi, ebx
push 8
pop eax
jne 0x432c26
test ebx, ebx
cmove edi, eax
cmp dword [esi + edi*4 + 0xa8], 0
jne 0x433500
test edi, edi
jne 0x432d4c
push 0x360
call fcn.0043debf
pop ecx
mov dword [ebp - 0x1a4], eax
and dword [ebp - 4], edi
test eax, eax
je 0x432c5e
push ecx
mov ecx, eax
call fcn.00434eed
jmp 0x432c60
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x433636
lea eax, [ebp - 0xa0]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x20]
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push esi
push 0x8c
call dword [eax + 0x164]
lea eax, [ebp - 0x130]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x124]
sub eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1ac]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x18]
push eax
push ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1a4]
call fcn.00446967
mov ecx, dword [ebp - 0x1a4]
push 1
call fcn.0044608c
mov ecx, dword [ebp - 0x1a4]
push 5
call fcn.00446c78
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x20]
mov dword [esi + ebx*4 + 0xa8], eax
cmp edi, 1
jne 0x432e61
push 0x1328
call fcn.0043debf
pop ecx
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x432d76
mov ecx, eax
call fcn.00417d2c
jmp 0x432d78
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x433500
lea eax, [ebp - 0xb0]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x20]
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
push esi
push 0x68
call dword [eax + 0x164]
lea eax, [ebp - 0x140]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x1ac]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x28]
push eax
push ecx
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1a4]
call fcn.00446967
mov ecx, dword [ebp - 0x1a4]
push 1
call fcn.0044608c
mov ecx, dword [ebp - 0x1a4]
push 5
call fcn.00446c78
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x20]
mov dword [esi + ebx*4 + 0xa8], eax
cmp edi, 7
jne 0x432f7a
push 0x490
call fcn.0043debf
pop ecx
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x432e8f
mov ecx, eax
call fcn.004192d7
jmp 0x432e91
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x433500
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x20]
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push esi
push 0x6e
call dword [eax + 0x164]
lea eax, [ebp - 0x150]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x144]
sub eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x1ac]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x38]
push eax
push ecx
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1a4]
call fcn.00446967
mov ecx, dword [ebp - 0x1a4]
push 1
call fcn.0044608c
mov ecx, dword [ebp - 0x1a4]
push 5
call fcn.00446c78
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x20]
mov dword [esi + ebx*4 + 0xa8], eax
cmp edi, 8
jne 0x433090
push 0x6f8
call fcn.0043debf
pop ecx
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x432fae
mov ecx, eax
call fcn.0041906a
mov dword [ebp - 0x1a4], eax
jmp 0x432fb5
and dword [ebp - 0x1a4], 0
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xd0]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0x20]
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xd0]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx]
push esi
push 0x6d
call dword [eax + 0x164]
lea eax, [ebp - 0x160]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x154]
sub eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x1ac]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x158]
sub eax, dword [ebp - 0x48]
push eax
push ecx
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1a4]
call fcn.00446967
mov ecx, dword [ebp - 0x1a4]
push 1
call fcn.0044608c
mov ecx, dword [ebp - 0x1a4]
push 5
call fcn.00446c78
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x20]
mov dword [esi + edi*4 + 0xa8], eax
cmp edi, 3
jne 0x4331a6
push 0x8a8
call fcn.0043debf
pop ecx
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4330c4
mov ecx, eax
call fcn.00418382
mov dword [ebp - 0x1a4], eax
jmp 0x4330cb
and dword [ebp - 0x1a4], 0
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xe0]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x20]
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx]
push esi
push 0x69
call dword [eax + 0x164]
lea eax, [ebp - 0x170]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x164]
sub eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x1ac]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x168]
sub eax, dword [ebp - 0x58]
push eax
push ecx
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x1a4]
call fcn.00446967
mov ecx, dword [ebp - 0x1a4]
push 1
call fcn.0044608c
mov ecx, dword [ebp - 0x1a4]
push 5
call fcn.00446c78
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x20]
mov dword [esi + ebx*4 + 0xa8], eax
cmp edi, 4
jne 0x4332bc
push 0x998
call fcn.0043debf
pop ecx
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x4331da
mov ecx, eax
call fcn.0041867a
mov dword [ebp - 0x1a4], eax
jmp 0x4331e1
and dword [ebp - 0x1a4], 0
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xf0]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x20]
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0xec]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx]
push esi
push 0x6a
call dword [eax + 0x164]
lea eax, [ebp - 0x180]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x174]
sub eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x1ac]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x68]
push eax
push ecx
push dword [ebp - 0x68]
mov ecx, dword [ebp - 0x1a4]
call fcn.00446967
mov ecx, dword [ebp - 0x1a4]
push 1
call fcn.0044608c
mov ecx, dword [ebp - 0x1a4]
push 5
call fcn.00446c78
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x20]
mov dword [esi + ebx*4 + 0xa8], eax
cmp edi, 2
jne 0x4333d2
push 0xb70
call fcn.0043debf
pop ecx
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x4332f0
mov ecx, eax
call fcn.004189eb
mov dword [ebp - 0x1a4], eax
jmp 0x4332f7
and dword [ebp - 0x1a4], 0
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x80]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x80]
push eax
push dword [esi + 0x20]
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xfc]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
mov eax, dword [ecx]
push esi
push 0x6b
call dword [eax + 0x164]
lea eax, [ebp - 0x190]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x184]
sub eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x1ac]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x78]
push eax
push ecx
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x1a4]
call fcn.00446967
mov ecx, dword [ebp - 0x1a4]
push 1
call fcn.0044608c
mov ecx, dword [ebp - 0x1a4]
push 5
call fcn.00446c78
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x20]
mov dword [esi + ebx*4 + 0xa8], eax
cmp edi, 5
jne 0x433500
push 0x9c0
call fcn.0043debf
pop ecx
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x433406
mov ecx, eax
call fcn.00418d0a
mov dword [ebp - 0x1a4], eax
jmp 0x43340d
and dword [ebp - 0x1a4], 0
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x110]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x90]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x90]
push eax
push dword [esi + 0x20]
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x10c]
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
mov eax, dword [ecx]
push esi
push 0x6c
call dword [eax + 0x164]
lea eax, [ebp - 0x1a0]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x194]
sub eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1ac]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x198]
sub eax, dword [ebp - 0x88]
push eax
push ecx
push dword [ebp - 0x88]
mov ecx, dword [ebp - 0x1a4]
call fcn.00446967
mov ecx, dword [ebp - 0x1a4]
push 1
call fcn.0044608c
mov ecx, dword [ebp - 0x1a4]
push 5
call fcn.00446c78
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x20]
mov dword [esi + ebx*4 + 0xa8], eax
mov eax, dword [esi + 0x188]
cmp eax, 0xffffffff
je 0x43351f
mov eax, dword [esi + eax*4 + 0xa8]
test eax, eax
je 0x43351f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + edi*4 + 0xa8]
test eax, eax
je 0x433538
push 5
push eax
mov dword [0x6241a0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], edi
push dword [esi + ebx*4 + 0xa8]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
call ebx
test eax, eax
je 0x4335e3
call fcn.0042b651
test eax, eax
je 0x4335ad
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, 3
je 0x43358b
push dword [esi + edi*4 + 0xa8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43358b
push 0
push dword [esi + edi*4 + 0xa8]
call ebx
mov eax, dword [esi + 0x184]
cmp eax, 3
je 0x4335a1
push 0
push dword [esi + eax*4 + 0xa8]
jmp 0x4335a9
push 1
push dword [esi + 0xb4]
call ebx
jmp 0x4335e3
mov eax, dword [esi + 0x184]
push 1
push dword [esi + eax*4 + 0xa8]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, 3
je 0x4335e3
push dword [esi + edi*4 + 0xa8]
call ebx
test eax, eax
je 0x4335e3
push 1
push dword [esi + edi*4 + 0xa8]
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x120]
push eax
push dword [0x624114]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x114]
xor ebx, ebx
sub eax, dword [ebp - 0x11c]
push 0x36
push eax
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x120]
push eax
push ebx
push ebx
push ebx
push dword [0x624114]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push ebx
push ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov dword [0x624134], ebx
call fcn.005813c4
ret 4