Function at 0x59c420
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [ebp + 8]
mov dword [0x7656e8], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x76387c], ecx
cmp dword [0x765d60], 0
jne 0x59c45e
push str.To_apply_the_effect.
push 0
push 0xb
call fcn.005e03c0
add esp, 0xc
mov eax, 1
jmp 0x59d5db
cmp dword [ebp + 8], 0
jne 0x59c488
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x765d60]
jl 0x59c476
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov dword [0x765570], eax
movsx ecx, word [0x7645a0]
test ecx, ecx
je 0x59c4c9
mov edx, dword [0x69723c]
push edx
call fcn.005e00d0
add esp, 4
push eax
call fcn.00514cf0
add esp, 4
mov dword [ebp - 0x2c], eax
mov word [0x75b050], 0
mov word [0x696e64], 1
mov dword [0x7567e4], 0
cmp dword [0x74f5b8], 0
je 0x59c5a0
push 0x64
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [0x69723c]
push ecx
mov edx, dword [0x761714]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [0x761a38], 0
jne 0x59c535
lea eax, [ebp - 0x138]
push eax
push str.Operation_:__s_n
mov ecx, dword [0x74f5b8]
push ecx
call fcn.00666c30
add esp, 0xc
jmp 0x59c563
mov edx, dword [0x76208c]
add edx, 1
push edx
mov eax, dword [0x75ae98]
add eax, 1
push eax
lea ecx, [ebp - 0x138]
push ecx
push str.Operation_:__s_Frame:__ld_Level:__ld_n
mov edx, dword [0x74f5b8]
push edx
call fcn.00666c30
add esp, 0x14
push 0x96
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x28
mov edx, dword [0x7617bc]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x138]
push ecx
push str.On_:__s_n
mov edx, dword [0x74f5b8]
push edx
call fcn.00666c30
add esp, 0xc
cmp dword [0x696ec4], 0
jne 0x59c5b5
mov dword [0x765410], 0
jmp 0x59c5f6
cmp dword [0x696ec4], 1
jne 0x59c5ca
mov dword [0x765410], 1
jmp 0x59c5f6
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
movsx edx, word [ecx + eax + 0x24]
cmp edx, 1
jne 0x59c5ec
mov dword [0x765410], 1
jmp 0x59c5f6
mov dword [0x765410], 0
cmp dword [0x765410], 0
je 0x59c633
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax + 4]
movsx eax, word [edx + 0x528]
test eax, eax
jne 0x59c633
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x28
mov edx, dword [0x7617bc]
mov eax, dword [edx + ecx + 4]
mov word [eax + 0x528], 1
mov dword [0x75b034], 1
call fcn.005184c0
mov dword [ebp - 0x20], eax
cmp dword [0x69723c], 0xc77
jne 0x59c664
mov ecx, dword [0x75b030]
mov dword [ebp - 0x34], ecx
mov dword [0x75b030], 0
cmp dword [0x75b030], 0
je 0x59c6a4
mov edx, dword [0x69648c]
push edx
call fcn.005dcbc0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0050a970
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x59c6a2
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x68add0
call fcn.005186a0
add esp, 8
jmp 0x59c6ab
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x28], 0
jmp 0x59c6bd
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x1c]
jge 0x59cf12
cmp dword [0x75b030], 0
je 0x59c703
cmp dword [ebp - 0x20], 0
jne 0x59c6f3
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00518590
add esp, 4
test eax, eax
je 0x59c6f3
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
jmp 0x59cf12
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0050ab70
add esp, 8
cmp dword [0x761a38], 0
jne 0x59c758
movsx edx, word [0x75ae92]
test edx, edx
jne 0x59c758
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00501760
add esp, 8
test eax, eax
je 0x59c758
push 0
push 0
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x28
mov eax, dword [0x7617bc]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [0x75b034], 0
mov eax, 1
jmp 0x59d5db
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x28
mov eax, dword [0x7617bc]
mov ecx, dword [eax + edx + 4]
mov dword [0x763904], ecx
movsx edx, word [0x75ae92]
test edx, edx
je 0x59c813
cmp dword [0x75b040], 0
jne 0x59c813
mov eax, dword [0x763904]
mov eax, dword [eax]
cdq
sub eax, edx
sar eax, 1
mov dword [0x69720c], eax
mov ecx, dword [0x763904]
mov eax, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
mov dword [0x697210], eax
mov dword [0x76209c], 0
mov dword [0x7638cc], 0
mov edx, dword [0x763904]
mov eax, dword [edx]
sub eax, 1
mov dword [0x697214], eax
mov ecx, dword [0x763904]
mov edx, dword [ecx + 4]
sub edx, 1
mov dword [0x697218], edx
mov eax, dword [0x697214]
sub eax, dword [0x76209c]
add eax, 1
cdq
sub eax, edx
sar eax, 1
mov dword [0x69721c], eax
mov eax, dword [0x697218]
sub eax, dword [0x7638cc]
add eax, 1
cdq
sub eax, edx
sar eax, 1
mov dword [0x697220], eax
cmp dword [0x74e354], 0
jne 0x59c8a6
mov eax, dword [0x763904]
mov ecx, dword [eax]
sub ecx, 1
push ecx
push 0
mov edx, dword [0x76209c]
push edx
call fcn.005dcb70
add esp, 0xc
mov dword [0x765910], eax
mov eax, dword [0x763904]
mov ecx, dword [eax + 4]
sub ecx, 1
push ecx
push 0
mov edx, dword [0x7638cc]
push edx
call fcn.005dcb70
add esp, 0xc
mov dword [0x765d7c], eax
mov eax, dword [0x763904]
mov ecx, dword [eax]
sub ecx, 1
push ecx
push 0
mov edx, dword [0x697214]
push edx
call fcn.005dcb70
add esp, 0xc
mov dword [0x765914], eax
mov eax, dword [0x763904]
mov ecx, dword [eax + 4]
sub ecx, 1
push ecx
push 0
mov edx, dword [0x697218]
push edx
call fcn.005dcb70
add esp, 0xc
mov dword [0x765d74], eax
mov dword [0x74e354], 0
mov eax, dword [0x765910]
cmp eax, dword [0x765914]
jle 0x59c8da
mov ecx, dword [0x765910]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x765914]
mov dword [0x765910], edx
mov eax, dword [ebp - 0x18]
mov dword [0x765914], eax
mov ecx, dword [0x765d7c]
cmp ecx, dword [0x765d74]
jle 0x59c904
mov edx, dword [0x765d7c]
mov dword [ebp - 0x18], edx
mov eax, dword [0x765d74]
mov dword [0x765d7c], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x765d74], ecx
cmp dword [0x7618e4], 0
je 0x59c989
cmp dword [0x697060], 2
je 0x59c91d
call fcn.004ceb70
jmp 0x59c92d
mov dx, word [0x751660]
push edx
call fcn.004cfe00
add esp, 4
movsx eax, word [0x7645a0]
test eax, eax
je 0x59c954
mov ecx, dword [0x69723c]
push ecx
call fcn.005e00d0
add esp, 4
push eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00514de0
add esp, 8
mov dword [0x7618e4], 0
mov dword [0x75b034], 0
push 0
push 0
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
jmp 0x59d5db
mov dword [0x7618e4], 0
cmp dword [0x7567f4], 2
jne 0x59c9c4
mov eax, dword [ebp + 0xc]
mov dword [0x751484], eax
mov dword [0x7567f4], 0
call fcn.0059a540
mov dword [0x75b034], 0
xor eax, eax
jmp 0x59d5db
mov dword [0x765590], 0
mov dword [0x75b104], 0
mov dword [0x765d68], 0
movsx ecx, word [0x75b00c]
test ecx, ecx
je 0x59c9fe
mov dword [0x75b034], 0
xor eax, eax
jmp 0x59d5db
mov dword [ebp - 0x30], 0
jmp 0x59ca10
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x751d28]
jge 0x59cc66
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
mov eax, dword [0x69723c]
cmp eax, dword [edx + ecx]
jne 0x59cc61
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
cmp dword [edx + ecx + 0x20], 0
je 0x59ca5c
mov dword [0x75afd4], 0
cmp dword [0x69723c], 0xc71
jne 0x59cac8
cmp dword [0x761954], 0
jne 0x59cac8
push 0
push 3
call fcn.0059d990
add esp, 8
test eax, eax
je 0x59caaf
push 0
push 0
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [0x75b034], 0
mov eax, 2
jmp 0x59d5db
mov dword [0x7656ec], 0x59dc90
mov dword [0x751994], 0x59e000
jmp 0x59cb68
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x9d0
mov ecx, dword [0x75afc8]
cmp dword [ecx + eax + 0xc], 0
je 0x59cb0e
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x763904]
push eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
call dword [edx + ecx + 0xc]
add esp, 8
test eax, eax
je 0x59cb0e
mov dword [ebp - 0x160], 1
jmp 0x59cb18
mov dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x59cb68
push 0
push 0
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x28
mov edx, dword [0x7617bc]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [0x75b034], 0
cmp dword [ebp - 0x38], 0x5361
jne 0x59cb5e
mov eax, 3
jmp 0x59d5db
mov eax, 2
jmp 0x59d5db
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
mov eax, dword [edx + ecx + 0x10]
mov dword [0x75b104], eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
mov eax, dword [edx + ecx + 0x14]
mov dword [0x7656ec], eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
mov eax, dword [edx + ecx + 0x18]
mov dword [0x7656d4], eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
mov eax, dword [edx + ecx + 0x1c]
mov dword [0x763930], eax
mov ecx, dword [0x7656d4]
mov dword [0x751ed8], ecx
mov edx, dword [0x7656d4]
mov dword [0x751994], edx
mov eax, dword [0x7656d4]
mov dword [0x75b0ec], eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
mov eax, dword [edx + ecx + 0x20]
mov dword [0x765d34], eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
mov eax, dword [edx + ecx + 0x24]
mov dword [0x765590], eax
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x9d0
mov edx, dword [0x75afc8]
movsx eax, word [edx + ecx + 0x9ca]
mov dword [0x7662c4], eax
cmp dword [0x69723c], 0xc71
jne 0x59cc5f
cmp dword [0x761954], 0
jne 0x59cc5f
mov dword [0x7656ec], 0x59dc90
mov dword [0x751994], 0x59e000
jmp 0x59cc66
jmp 0x59ca07
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x28
mov edx, dword [0x7617bc]
mov eax, dword [edx + ecx + 4]
mov dword [0x763904], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x765710], ecx
mov edx, dword [0x763904]
mov dword [0x761a2c], edx
mov word [0x7567ac], 0
mov eax, dword [0x69723c]
push eax
call fcn.00543450
add esp, 4
test eax, eax
je 0x59cd23
cmp dword [0x7653f0], 0
jne 0x59ccc7
mov ecx, dword [0x763904]
mov dword [0x7653f0], ecx
mov edx, dword [0x7653f0]
cmp dword [edx + 0x510], 0
jne 0x59cce4
mov eax, dword [0x7653f0]
push eax
call fcn.00423fa0
add esp, 4
mov ecx, dword [0x7653f0]
mov edx, dword [ecx]
mov dword [0x752040], edx
mov eax, dword [0x7653f0]
mov ecx, dword [eax + 4]
mov dword [0x75204c], ecx
mov edx, dword [0x7653f0]
mov eax, dword [edx + 0x514]
mov dword [0x756750], eax
mov ecx, dword [0x7653f0]
mov edx, dword [ecx + 0x510]
mov dword [0x74e6ac], edx
mov eax, dword [0x69723c]
push eax
call fcn.005434b0
add esp, 4
test eax, eax
je 0x59cda6
cmp dword [0x74e774], 0
jne 0x59cd4a
mov ecx, dword [0x763904]
mov dword [0x74e774], ecx
mov edx, dword [0x74e774]
cmp dword [edx + 0x510], 0
jne 0x59cd67
mov eax, dword [0x74e774]
push eax
call fcn.00423fa0
add esp, 4
mov ecx, dword [0x74e774]
mov edx, dword [ecx]
mov dword [0x751358], edx
mov eax, dword [0x74e774]
mov ecx, dword [eax + 4]
mov dword [0x751368], ecx
mov edx, dword [0x74e774]
mov eax, dword [edx + 0x514]
mov dword [0x7619f0], eax
mov ecx, dword [0x74e774]
mov edx, dword [ecx + 0x510]
mov dword [0x74e6b0], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0059c350
add esp, 4
test eax, eax
je 0x59cdea
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0059c350
add esp, 4
cmp eax, 1
jne 0x59ce80
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x9d0
mov eax, dword [0x75afc8]
movsx ecx, word [eax + edx + 0x9ca]
cmp ecx, 1
jne 0x59ce80
cmp dword [0x7656ec], 0
je 0x59ce07
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x7656ec]
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [0x765590], 0
je 0x59ce80
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x28
mov edx, dword [0x7617bc]
mov eax, dword [edx + ecx + 4]
mov dword [0x763904], eax
mov ecx, dword [0x763904]
cmp dword [ecx + 0x510], 0
jne 0x59ce5d
mov edx, dword [0x763904]
push edx
call fcn.00423fa0
add esp, 4
test eax, eax
je 0x59ce5d
push 1
push 0x3c
call fcn.005e0100
add esp, 8
mov eax, 1
jmp 0x59d5db
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x763904]
push ecx
call dword [0x765590]
add esp, 8
mov edx, dword [0x763904]
push edx
call fcn.00424060
add esp, 4
mov eax, dword [0x69723c]
push eax
call fcn.00543450
add esp, 4
test eax, eax
je 0x59cec6
cmp dword [0x7653f0], 0
je 0x59cec6
mov ecx, dword [0x7653f0]
cmp ecx, dword [0x763904]
je 0x59cec6
mov edx, dword [0x7653f0]
cmp dword [edx + 0x510], 0
je 0x59cec6
mov eax, dword [0x7653f0]
push eax
call fcn.00424060
add esp, 4
mov ecx, dword [0x69723c]
push ecx
call fcn.005434b0
add esp, 4
test eax, eax
je 0x59cf0d
cmp dword [0x74e774], 0
je 0x59cf0d
mov edx, dword [0x74e774]
cmp edx, dword [0x763904]
je 0x59cf0d
mov eax, dword [0x74e774]
cmp dword [eax + 0x510], 0
je 0x59cf0d
mov ecx, dword [0x74e774]
push ecx
call fcn.00424060
add esp, 4
jmp 0x59c6b4
cmp dword [0x75b030], 0
je 0x59cf32
mov edx, dword [ebp + 0xc]
push edx
call fcn.0050b3e0
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x59cf32
call fcn.00518750
cmp dword [0x69723c], 0xc77
jne 0x59cf46
mov eax, dword [ebp - 0x34]
mov dword [0x75b030], eax
movsx ecx, word [0x7645a0]
test ecx, ecx
je 0x59cf6d
mov edx, dword [0x69723c]
push edx
call fcn.005e00d0
add esp, 4
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00514de0
add esp, 8
cmp dword [0x7656ec], 0x59fa70
je 0x59cf84
movsx ecx, word [0x7567ac]
test ecx, ecx
je 0x59cf97
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x59d4c6
cmp dword [ebp - 0x24], 0
jne 0x59d4b8
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax + 4]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax + 4]
mov ax, word [edx + 0x67c]
add ax, 1
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x28
mov edx, dword [0x7617bc]
mov ecx, dword [edx + ecx + 4]
mov word [ecx + 0x67c], ax
mov dword [ebp - 0x150], 0
jmp 0x59d004
mov edx, dword [ebp - 0x150]
add edx, 1
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x150]
cmp eax, dword [0x765d60]
jge 0x59d3b2
mov ecx, dword [ebp - 0x150]
imul ecx, ecx, 0x28
mov edx, dword [0x7617bc]
mov eax, dword [edx + ecx + 4]
cmp eax, dword [ebp - 0x140]
jne 0x59d3ad
movsx ecx, word [0x75678c]
test ecx, ecx
je 0x59d04d
cmp dword [0x761a38], 0
jne 0x59d3ad
mov edx, dword [ebp - 0x150]
imul edx, edx, 0x28
mov eax, dword [0x7617bc]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x148], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [0x765910]
sub edx, 1
push edx
call fcn.005e2950
add esp, 8
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [0x765d7c]
sub ecx, 1
push ecx
call fcn.005e2a80
add esp, 8
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [0x765914]
add eax, 1
push eax
call fcn.005e2950
add esp, 8
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [0x765d74]
add edx, 1
push edx
call fcn.005e2a80
add esp, 8
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x144], 0
jge 0x59d102
cmp dword [ebp - 0x14c], 0
jl 0x59d140
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 8]
jle 0x59d118
mov ecx, dword [ebp - 0x14c]
cmp ecx, dword [ebp - 8]
jg 0x59d140
cmp dword [ebp - 0x13c], 0
jge 0x59d12a
cmp dword [ebp - 0x154], 0
jl 0x59d140
mov edx, dword [ebp - 0x13c]
cmp edx, dword [ebp - 4]
jle 0x59d145
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 4]
jle 0x59d145
jmp 0x59d3ad
movsx ecx, word [0x75b050]
test ecx, ecx
je 0x59d27d
movsx edx, word [0x69726c]
test edx, edx
jne 0x59d19d
mov eax, dword [ebp - 0x150]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x59d19d
mov eax, dword [ebp - 0x150]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x59d27d
mov eax, dword [ebp - 0x150]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
push edx
call fcn.0055ecc0
add esp, 4
mov eax, dword [ebp - 0x150]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x59d246
mov eax, dword [ebp - 0x150]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x59d246
cmp dword [0x69723c], 0xc65
jne 0x59d207
cmp dword [0x696f9c], 0
jne 0x59d246
cmp dword [0x69723c], 0xc66
jne 0x59d21c
cmp dword [0x696fa0], 0
jne 0x59d246
cmp dword [0x69723c], 0xcab
jne 0x59d231
cmp dword [0x74e320], 0
jne 0x59d246
cmp dword [0x69723c], 0xcaa
jne 0x59d278
cmp dword [0x74e31c], 0
je 0x59d278
mov eax, dword [ebp - 0x150]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov word [ecx + eax + 8], 1
push 0
push 0
mov edx, dword [ebp - 0x150]
imul edx, edx, 0x28
mov eax, dword [0x7617bc]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x59d3ad
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x144]
push eax
call fcn.005dcb70
add esp, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x13c]
push edx
call fcn.005dcb70
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.005dcb70
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 0x154]
push eax
call fcn.005dcb70
add esp, 0xc
mov dword [ebp - 0x154], eax
cmp dword [0x761a38], 0
je 0x59d2fb
cmp dword [0x76208c], 0
je 0x59d30e
mov ecx, dword [0x69723c]
push ecx
call fcn.00543510
add esp, 4
test eax, eax
je 0x59d334
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call fcn.005e6fe0
add esp, 0x14
mov eax, dword [ebp - 0x150]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [0x761930]
cmp edx, dword [ecx + eax]
jne 0x59d3ad
movsx eax, word [0x75ae92]
test eax, eax
jne 0x59d390
mov dword [0x761930], 0
jmp 0x59d3ad
movsx ecx, word [0x697260]
push ecx
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [0x761930]
push eax
call fcn.004ec1b0
add esp, 0xc
jmp 0x59cff5
cmp dword [0x761a38], 0
jne 0x59d4b6
movsx ecx, word [0x761900]
cmp ecx, 1
jne 0x59d44a
cmp dword [0x761940], 0
je 0x59d44a
cmp dword [0x761a38], 0
je 0x59d3eb
mov edx, dword [0x694734]
mov dword [ebp - 0x158], edx
jmp 0x59d3f9
mov eax, dword [0x694734]
sub eax, 1
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [0x697e54], ecx
mov edx, dword [0x697e54]
mov dword [0x761a1c], edx
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [0x7567dc]
push ecx
mov edx, dword [0x761a2c]
push edx
call fcn.00529350
add esp, 0xc
mov dword [0x697e58], 1
push 0
push 0
mov eax, dword [0x761940]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x59d4b6
movsx ecx, word [0x761900]
test ecx, ecx
jne 0x59d4b6
cmp dword [0x761940], 0
je 0x59d4b6
call fcn.00526510
mov edx, dword [0x694738]
sub edx, 1
mov dword [0x697e54], edx
mov eax, dword [0x697e54]
mov dword [0x761a1c], eax
mov ecx, dword [0x694738]
sub ecx, 1
push ecx
mov edx, dword [0x7567dc]
push edx
mov eax, dword [0x761a2c]
push eax
call fcn.00529350
add esp, 0xc
mov dword [0x697e58], 1
push 0
push 0
mov ecx, dword [0x761940]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x59d4c6
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [0x75b034], 0
cmp dword [0x69723c], 0xc77
jne 0x59d550
mov eax, dword [0x69723c]
mov dword [ebp - 0x15c], eax
mov ecx, dword [0x696690]
mov dword [0x69723c], ecx
mov dx, word [0x766190]
mov word [0x75ae92], dx
mov eax, dword [0x69723c]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call fcn.005d05d0
add esp, 8
mov edx, dword [0x69723c]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call fcn.005d06d0
add esp, 8
call fcn.0051f080
cmp dword [0x765720], 0
je 0x59d550
mov ecx, dword [0x69723c]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
call fcn.0056c770
add esp, 8
mov eax, dword [ebp - 0x14]
movsx ecx, word [eax + 0x52c]
test ecx, ecx
je 0x59d5d8
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x54c]
mov dword [eax + 0x548], 1
mov dword [ebp - 0x30], 0
jmp 0x59d583
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [0x765d60]
jge 0x59d5d8
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + eax + 4]
cmp eax, dword [edx + 0x54c]
jne 0x59d5d6
mov ecx, dword [ebp - 0x30]
imul ecx, ecx, 0x28
mov edx, dword [0x7617bc]
mov word [edx + ecx + 8], 1
push 0
push 0
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x28
mov ecx, dword [0x7617bc]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x59d57a
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret