Function at 0x4fee80
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x678fb8]
sub esp, 0x7c
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x4ffc3a
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push edi
mov dword [0x678fb8], 1
mov dword [esp + 0x1c], 5
mov eax, dword [0x6a0f40]
push eax
or ebp, 0xffffffff
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov edx, dword [0x6a0f40]
je 0x4fef60
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
push edx
mov dword [esp + 0x68], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [esp + 0x64], 2
jne 0x4ffc31
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
sub eax, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
sub ecx, dword [esp + 0x7c]
push 0x20
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
call fcn.00591000
mov edx, dword [esp + 0x2c]
neg eax
lea eax, [edx + eax*2]
push 0x21
mov dword [esp + 0x30], eax
call fcn.00591000
mov edi, dword [esp + 0x34]
shl eax, 1
push 4
sub edi, eax
call fcn.00591000
push 0xf
sub edi, eax
call fcn.00591000
add esp, 0x10
sub edi, eax
mov dword [esp + 0x2c], edi
jmp 0x4fef70
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
test eax, eax
jle 0x4ffc31
sub edi, dword [esp + 0x24]
test edi, edi
jle 0x4ffc31
cmp dword [0x676e80], ebx
je 0x4fefa3
mov eax, 1
mov dword [0x61af40], eax
mov dword [0x61af44], eax
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], eax
xor edi, edi
call fcn.00568600
call fcn.0055e3f0
cmp dword [0x696a88], ebx
mov ebp, dword [0x61ab54]
je 0x4ff094
cmp dword [0x61ab50], ebx
je 0x4ff094
test ebp, ebp
jne 0x4ff058
call fcn.005684c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
sub ecx, eax
mov eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call esi
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call esi
mov ebp, dword [0x61ab54]
mov dword [esp + 0x14], ebp
jmp 0x4ff094
cmp ebp, 1
jne 0x4ff085
call fcn.005684c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add eax, ecx
push eax
mov eax, dword [esp + 0x24]
push edx
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call esi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
jmp 0x4ff039
cmp ebp, 2
je 0x4ff08f
cmp ebp, 3
jne 0x4ff094
mov ebx, 1
mov eax, dword [0x694c7c]
test eax, eax
je 0x4ff17e
mov eax, dword [0x61a9ec]
test eax, eax
mov eax, dword [0x694c74]
je 0x4ff176
test eax, eax
mov edx, dword [0x61a9e8]
mov ecx, edx
jl 0x4ff0c4
cmp eax, 0xa
jl 0x4ff0cd
xor eax, eax
mov dword [0x694c74], eax
jmp 0x4ff0dc
test eax, eax
je 0x4ff0dc
lea ecx, [eax + 1]
imul ecx, edx
lea edx, [eax + eax]
sub ecx, edx
mov edx, dword [0x61aa08]
test edx, edx
jne 0x4ff122
test ebx, ebx
jne 0x4ff189
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
call esi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x4ff15d
cmp edx, 1
jne 0x4ff189
test ebx, ebx
jne 0x4ff189
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push edx
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call esi
mov edx, dword [0x61aa08]
mov ebp, dword [0x61ab54]
mov dword [esp + 0x10], edx
mov edi, 1
jmp 0x4ff184
mov edx, dword [0x61aa08]
jmp 0x4ff189
mov edx, dword [0x61aa08]
mov eax, dword [0x694c74]
mov ecx, dword [0x696a88]
test ecx, ecx
je 0x4ff229
mov ecx, dword [0x61ab50]
test ecx, ecx
je 0x4ff229
cmp ebp, 2
jne 0x4ff1d7
call fcn.005684c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
add eax, ecx
push eax
push edx
push ecx
lea eax, [esp + 0x50]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x4c]
jmp 0x4ff207
cmp ebp, 3
jne 0x4ff229
call fcn.005684c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
sub ecx, eax
push ecx
lea eax, [esp + 0x50]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call esi
mov eax, dword [0x61ab54]
mov edx, dword [0x61aa08]
mov dword [esp + 0x14], eax
mov eax, dword [0x694c74]
mov ecx, dword [0x698920]
test ecx, ecx
mov ebp, dword [0x61af44]
je 0x4ff2de
mov ecx, dword [0x61af40]
test ecx, ecx
je 0x4ff2de
cmp ebp, 2
jne 0x4ff286
test edi, edi
jne 0x4ff2de
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov edx, dword [0x61af38]
push ecx
mov ecx, dword [esp + 0x28]
add edx, eax
push edx
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
jmp 0x4ff2bb
cmp ebp, 3
jne 0x4ff2de
test edi, edi
jne 0x4ff2de
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [0x61af38]
push eax
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call esi
mov ebp, dword [0x61af44]
mov eax, dword [0x694c74]
mov edx, dword [0x61aa08]
mov dword [esp + 0x18], ebp
mov ecx, dword [0x694c7c]
test ecx, ecx
je 0x4ff437
mov ecx, dword [0x61a9ec]
test ecx, ecx
je 0x4ff437
test eax, eax
mov ecx, dword [0x61a9e8]
jl 0x4ff309
cmp eax, 0xa
jl 0x4ff315
mov dword [0x694c74], 0
jmp 0x4ff327
test eax, eax
je 0x4ff327
lea ecx, [eax + 1]
imul ecx, dword [0x61a9e8]
add eax, eax
sub ecx, eax
test edx, edx
jne 0x4ff36a
test ebx, ebx
je 0x4ff437
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
call esi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x4ff425
cmp edx, 1
jne 0x4ff3ab
test ebx, ebx
je 0x4ff437
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push edx
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push edx
jmp 0x4ff425
cmp edx, 2
jne 0x4ff3ea
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x61a9fc]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
add ecx, eax
push ecx
push edx
push eax
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push edx
jmp 0x4ff425
cmp edx, 3
jne 0x4ff437
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
sub eax, dword [0x61a9fc]
push eax
lea edx, [esp + 0x60]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
call esi
mov edx, dword [0x61aa08]
mov ebp, dword [0x61af44]
mov dword [esp + 0x10], edx
mov eax, dword [0x698920]
test eax, eax
je 0x4ff57b
mov eax, dword [0x61af40]
test eax, eax
je 0x4ff57b
test ebp, ebp
jne 0x4ff492
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, dword [0x61af3c]
push eax
push edx
sub eax, ebp
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
call esi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x4ff569
cmp ebp, 1
jne 0x4ff4ed
mov eax, dword [0x676e80]
mov edx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x24]
je 0x4ff4bb
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push edx
jmp 0x4ff4d0
mov ecx, dword [0x61af3c]
add ecx, eax
push ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
call esi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x4ff569
cmp ebp, 2
jne 0x4ff528
test edi, edi
je 0x4ff57b
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov edx, dword [0x61af38]
push ecx
mov ecx, dword [esp + 0x28]
add edx, eax
push edx
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
jmp 0x4ff55d
cmp ebp, 3
jne 0x4ff57b
test edi, edi
je 0x4ff57b
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [0x61af38]
push eax
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call esi
mov ebp, dword [0x61af44]
mov edx, dword [0x61aa08]
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
cmp ecx, eax
je 0x4ff665
cmp dword [esp + 0x10], eax
je 0x4ff665
mov eax, dword [0x61ab54]
test eax, eax
jne 0x4ff5c7
cmp edx, 1
jne 0x4ff665
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jl 0x4ff665
sub eax, ecx
add ecx, eax
mov dword [esp + 0x44], ecx
add dword [esp + 0x4c], eax
jmp 0x4ff665
cmp eax, 1
jne 0x4ff5f2
test edx, edx
jne 0x4ff665
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jl 0x4ff665
sub eax, ecx
add ecx, eax
mov dword [esp + 0x54], ecx
add dword [esp + 0x5c], eax
jmp 0x4ff665
cmp eax, 2
jne 0x4ff643
cmp edx, 3
jne 0x4ff665
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jl 0x4ff665
mov edi, dword [esp + 0x58]
sub eax, ecx
add ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x18]
add edi, eax
or ebx, 0xffffffff
cmp ecx, ebx
mov dword [esp + 0x58], edi
je 0x4ff7d3
cmp ebp, edx
jne 0x4ff665
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
add edi, eax
add ecx, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], ecx
jmp 0x4ff665
cmp eax, 3
jne 0x4ff665
cmp edx, 2
jne 0x4ff665
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jl 0x4ff665
sub eax, ecx
add ecx, eax
mov dword [esp + 0x40], ecx
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
or ebx, 0xffffffff
cmp eax, ebx
je 0x4ff7d3
cmp dword [esp + 0x10], ebx
je 0x4ff73e
test ebp, ebp
jne 0x4ff6a2
cmp edx, 1
jne 0x4ff73e
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x34]
jl 0x4ff73e
mov dword [esp + 0x34], eax
jmp 0x4ff73e
cmp ebp, 1
jne 0x4ff6c3
test edx, edx
jne 0x4ff73e
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x3c], eax
jl 0x4ff73e
mov dword [esp + 0x3c], eax
jmp 0x4ff73e
cmp ebp, 2
jne 0x4ff6ed
cmp edx, 3
jne 0x4ff73e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jl 0x4ff73e
mov edx, dword [esp + 0x58]
sub eax, ecx
add ecx, eax
add edx, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edx
jmp 0x4ff715
cmp ebp, 3
jne 0x4ff73e
cmp edx, 2
jne 0x4ff73e
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jl 0x4ff73e
mov edx, dword [esp + 0x38]
sub eax, ecx
add ecx, eax
add edx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x4ff82a
cmp dword [0x61ab54], 3
jne 0x4ff73e
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
add edx, eax
add ecx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x4ff82a
test ebp, ebp
jne 0x4ff767
cmp dword [0x61ab54], 1
jne 0x4ff7d3
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x34]
jl 0x4ff7d3
mov dword [esp + 0x34], eax
jmp 0x4ff7d3
cmp ebp, 1
jne 0x4ff785
mov eax, dword [0x61ab54]
test eax, eax
jne 0x4ff7d3
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x3c], eax
jl 0x4ff7d3
mov dword [esp + 0x3c], eax
jmp 0x4ff7d3
cmp ebp, 2
jne 0x4ff7ad
cmp dword [0x61ab54], 3
jne 0x4ff7d3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jl 0x4ff7d3
sub eax, ecx
add ecx, eax
mov dword [esp + 0x40], ecx
add dword [esp + 0x48], eax
jmp 0x4ff7d3
cmp ebp, 3
jne 0x4ff7d3
cmp dword [0x61ab54], 2
jne 0x4ff7d3
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jl 0x4ff7d3
sub eax, ecx
add ecx, eax
mov dword [esp + 0x30], ecx
add dword [esp + 0x38], eax
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x4ff82a
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0x98
sub eax, ecx
push eax
mov eax, dword [esp + 0x48]
sub edx, eax
push edx
mov edx, dword [0x696a88]
push ecx
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4ff824
call fcn.00568600
cmp eax, 1
jne 0x4ff824
dec dword [esp + 0x1c]
xor ebx, ebx
jmp 0x4feeae
mov ebp, dword [0x61af44]
cmp dword [esp + 0x10], ebx
je 0x4ff87e
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
push 0x98
sub eax, edx
push eax
mov eax, dword [esp + 0x60]
sub eax, ecx
push eax
mov eax, dword [0x694c7c]
push edx
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4ff878
call fcn.0055e3f0
cmp eax, 1
jne 0x4ff878
dec dword [esp + 0x1c]
xor ebx, ebx
jmp 0x4feeae
mov ebp, dword [0x61af44]
cmp edi, 0xffffffff
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4ff8f0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
sub eax, ecx
push eax
mov eax, dword [esp + 0x4c]
sub eax, edi
push eax
push 0x696a90
call fcn.00429020
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
add esp, 0xc
push 0x98
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x48]
sub edx, ecx
push edx
push eax
mov eax, dword [0x696a88]
push ecx
push 0
push eax
call edi
mov ecx, dword [0x696a88]
push ecx
call esi
mov ebp, dword [0x61af44]
jmp 0x4ff913
mov eax, dword [0x696a88]
test eax, eax
je 0x4ff90d
push 0
push eax
call ebx
mov edx, dword [0x696a88]
push edx
call esi
mov ebp, dword [0x61af44]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x18], 0xffffffff
je 0x4ff9fd
xor ecx, ecx
xor edx, edx
xor edi, edi
test ebp, ebp
mov eax, 9
jne 0x4ff93e
mov ebp, dword [0x694c78]
test ebp, ebp
je 0x4ff976
mov eax, 3
jmp 0x4ff976
cmp ebp, 1
jne 0x4ff954
mov ebp, dword [0x676e80]
test ebp, ebp
jne 0x4ff96a
mov edi, 3
jmp 0x4ff96a
cmp ebp, 2
jne 0x4ff960
mov edx, 4
jmp 0x4ff96a
cmp ebp, 3
jne 0x4ff976
mov ecx, 4
mov ebp, dword [0x694c78]
test ebp, ebp
je 0x4ff976
xor eax, eax
mov ebp, dword [esp + 0x3c]
sub ebp, edi
mov edi, dword [esp + 0x34]
sub ebp, eax
sub ebp, edi
mov edi, dword [esp + 0x38]
push 0x70
push ebp
mov ebp, dword [esp + 0x38]
sub edi, edx
sub edi, ecx
sub edi, ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
mov eax, dword [0x698924]
push ecx
push 0
push eax
call edi
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
sub ecx, ebp
push ecx
sub edx, eax
push edx
push 0x698938
call fcn.00429020
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add esp, 0xc
push 0x98
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
mov eax, dword [0x698920]
push ecx
push 0
push eax
call edi
mov ecx, dword [0x698920]
push ecx
call esi
jmp 0x4ffa15
mov eax, dword [0x698920]
test eax, eax
je 0x4ffa15
push 0
mov edx, eax
push edx
call ebx
mov eax, dword [0x698920]
push eax
call esi
cmp dword [esp + 0x10], 0xffffffff
je 0x4ffa6f
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
sub eax, ecx
push eax
mov eax, dword [esp + 0x5c]
sub eax, ebx
push eax
push 0x694c80
call fcn.00429020
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
add esp, 0xc
push 0x98
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x58]
sub edx, ecx
push edx
push eax
mov eax, dword [0x694c7c]
push ecx
push 0
push eax
call edi
mov ecx, dword [0x694c7c]
push ecx
jmp 0x4ffa85
mov eax, dword [0x694c7c]
test eax, eax
je 0x4ffa87
push 0
mov edx, eax
push edx
call ebx
mov eax, dword [0x694c7c]
push eax
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0x10
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [0x6a0f44]
push ecx
push 1
push eax
call edi
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
or ebp, 0xffffffff
cmp eax, ebp
je 0x4ffae6
mov ecx, dword [0x696a88]
push 0x53
push 0
push 0
push 0
push 0
push 0
push ecx
call edi
mov edx, dword [0x696a88]
push 1
push 0
push edx
call ebx
mov eax, dword [0x696a88]
push eax
call esi
cmp dword [esp + 0x18], ebp
je 0x4ffb2c
mov ecx, dword [0x698920]
push 0x53
push 0
push 0
push 0
push 0
push 0
push ecx
call edi
mov edx, dword [0x698920]
push 1
push 0
push edx
call ebx
mov eax, dword [0x698920]
push eax
call esi
mov ecx, dword [0x698924]
push 1
push 0
push ecx
call ebx
mov edx, dword [0x698924]
push edx
call esi
cmp dword [esp + 0x10], ebp
je 0x4ffb5c
mov eax, dword [0x694c7c]
push 0x53
push 0
push 0
push 0
push 0
push 0
push eax
call edi
mov ecx, dword [0x694c7c]
push 1
push 0
push ecx
call ebx
mov edx, dword [0x694c7c]
push edx
call esi
mov eax, dword [0x6a0f44]
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebp, eax
test ebp, ebp
je 0x4ffbb4
push ebp
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4ffbb4
push ebp
call fcn.0058ea30
mov edi, eax
add esp, 4
test edi, edi
je 0x4ffbb4
mov eax, dword [edi + 0x1728]
test eax, eax
je 0x4ffbb4
mov eax, dword [edi + 0x134c]
test eax, eax
je 0x4ffba9
push edi
call fcn.00482950
add esp, 4
jmp 0x4ffbb4
push 0
push ebp
call fcn.0041e9d0
add esp, 8
mov eax, dword [0x62ae9c]
test eax, eax
je 0x4ffbe9
mov ecx, dword [eax + 0x1728]
test ecx, ecx
je 0x4ffbe9
mov ecx, dword [eax]
push 1
push ecx
call fcn.0041e9d0
add esp, 8
test edi, edi
jne 0x4ffbe9
mov edx, dword [0x62ae9c]
mov eax, dword [edx]
push eax
call fcn.0041e830
add esp, 4
mov ecx, dword [0x6a0f44]
push ecx
call esi
mov edx, dword [0x6a0f40]
push 1
push 0
push edx
call ebx
mov eax, dword [0x6a0f40]
push eax
call esi
mov ecx, dword [0x6a0f44]
push 1
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
push eax
call fcn.004f11b0
add esp, 8
pop edi
pop esi
pop ebp
mov dword [0x678fb8], 0
pop ebx
add esp, 0x7c
ret
pop edi
pop esi
mov dword [0x678fb8], ebx
pop ebp
pop ebx
add esp, 0x7c
ret