Function at 0x4e8020
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x5ef6d4]
sub esp, 0x84
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x4e8cbd
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push edi
mov dword [0x5ef6d4], 1
mov dword [esp + 0x5c], 5
or ebx, 0xffffffff
mov eax, dword [0x5f92ec]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov edx, dword [0x5f92ec]
je 0x4e8102
lea ecx, [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x70], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [esp + 0x6c], 2
jne 0x4e8cb4
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
sub eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
sub ecx, dword [esp + 0x84]
mov dword [esp + 0x18], ecx
mov ecx, 0x20
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
call fcn.00562f40
mov edx, dword [esp + 0x18]
neg eax
lea eax, [edx + eax*2]
mov ecx, 0x21
mov dword [esp + 0x18], eax
call fcn.00562f40
mov edi, dword [esp + 0x1c]
shl eax, 1
mov ecx, 4
sub edi, eax
call fcn.00562f40
mov ecx, 0xf
sub edi, eax
call fcn.00562f40
sub edi, eax
mov dword [esp + 0x1c], edi
jmp 0x4e8112
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
test eax, eax
jle 0x4e8cb4
sub edi, dword [esp + 0x14]
test edi, edi
jle 0x4e8cb4
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], eax
xor ebx, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ebx
xor edi, edi
call fcn.005442e0
call fcn.0053acc0
xor ecx, ecx
call fcn.0055be00
mov dword [esp + 0x64], eax
cmp dword [0x5f7ff4], ebp
je 0x4e8241
cmp dword [0x5bfdfc], ebp
mov ebp, dword [0x5bfe00]
je 0x4e8247
test ebp, ebp
jne 0x4e81f4
call fcn.005441a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
sub ecx, eax
mov eax, dword [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x38]
push ecx
call esi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call esi
mov ebp, dword [0x5bfe00]
mov dword [esp + 0x20], ebp
jmp 0x4e8247
cmp ebp, 1
jne 0x4e8221
call fcn.005441a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, ecx
push eax
mov eax, dword [esp + 0x14]
push edx
push ecx
push eax
lea ecx, [esp + 0x38]
push ecx
call esi
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x4e81d5
cmp ebp, 2
jne 0x4e8231
mov ebx, 1
mov dword [esp + 0x60], ebx
jmp 0x4e8247
cmp ebp, 3
jne 0x4e8247
mov ebx, 1
mov dword [esp + 0x60], ebx
jmp 0x4e8247
mov ebp, dword [0x5bfe00]
mov eax, dword [0x5f6bf8]
test eax, eax
je 0x4e8331
mov eax, dword [0x5bfdbc]
test eax, eax
mov eax, dword [0x5f6bf4]
je 0x4e8329
test eax, eax
mov edx, dword [0x5bfdb8]
mov ecx, edx
jl 0x4e8277
cmp eax, 0xa
jl 0x4e8280
xor eax, eax
mov dword [0x5f6bf4], eax
jmp 0x4e828f
test eax, eax
je 0x4e828f
lea ecx, [eax + 1]
imul ecx, edx
lea edx, [eax + eax]
sub ecx, edx
mov edx, dword [0x5bfdd8]
test edx, edx
jne 0x4e82d5
test ebx, ebx
jne 0x4e833c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
call esi
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push eax
jmp 0x4e8310
cmp edx, 1
jne 0x4e833c
test ebx, ebx
jne 0x4e833c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push edx
lea eax, [esp + 0x48]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call esi
mov edx, dword [0x5bfdd8]
mov ebp, dword [0x5bfe00]
mov dword [esp + 0x24], edx
mov edi, 1
jmp 0x4e8337
mov edx, dword [0x5bfdd8]
jmp 0x4e833c
mov edx, dword [0x5bfdd8]
mov eax, dword [0x5f6bf4]
mov ecx, dword [0x5f7ff4]
test ecx, ecx
je 0x4e83dd
mov ecx, dword [0x5bfdfc]
test ecx, ecx
je 0x4e83dd
cmp ebp, 2
jne 0x4e838a
call fcn.005441a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
add eax, ecx
push eax
push edx
push ecx
lea eax, [esp + 0x38]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
jmp 0x4e83ba
cmp ebp, 3
jne 0x4e83dd
call fcn.005441a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
sub ecx, eax
push ecx
lea eax, [esp + 0x38]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call esi
mov ebp, dword [0x5bfe00]
mov eax, dword [0x5f6bf4]
mov edx, dword [0x5bfdd8]
mov dword [esp + 0x20], ebp
mov ecx, dword [0x5f8b80]
test ecx, ecx
mov ebx, dword [0x5bfe4c]
je 0x4e84a2
mov ecx, dword [0x5f8b8c]
test ecx, ecx
je 0x4e84a2
cmp ebx, 2
jne 0x4e8446
test edi, edi
jne 0x4e84a2
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x5bfe48]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
add ecx, eax
push ecx
push edx
push eax
lea eax, [esp + 0x58]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
jmp 0x4e8485
cmp ebx, 3
jne 0x4e84a2
test edi, edi
jne 0x4e84a2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
sub eax, dword [0x5bfe48]
push eax
lea edx, [esp + 0x58]
push edx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call esi
mov ebx, dword [0x5bfe4c]
mov ebp, dword [0x5bfe00]
mov eax, dword [0x5f6bf4]
mov edx, dword [0x5bfdd8]
mov dword [esp + 0x58], ebx
mov ecx, dword [0x5f6bf8]
test ecx, ecx
je 0x4e8609
mov ecx, dword [0x5bfdbc]
test ecx, ecx
je 0x4e8609
test eax, eax
mov ecx, dword [0x5bfdb8]
jl 0x4e84cd
cmp eax, 0xa
jl 0x4e84d9
mov dword [0x5f6bf4], 0
jmp 0x4e84eb
test eax, eax
je 0x4e84eb
lea ecx, [eax + 1]
imul ecx, dword [0x5bfdb8]
add eax, eax
sub ecx, eax
test edx, edx
jne 0x4e8532
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4e8609
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
call esi
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push eax
jmp 0x4e85f1
cmp edx, 1
jne 0x4e8577
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4e8609
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push edx
lea eax, [esp + 0x48]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
jmp 0x4e85f1
cmp edx, 2
jne 0x4e85b6
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x5bfdcc]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
add ecx, eax
push ecx
push edx
push eax
lea eax, [esp + 0x48]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
jmp 0x4e85f1
cmp edx, 3
jne 0x4e8609
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
sub eax, dword [0x5bfdcc]
push eax
lea edx, [esp + 0x48]
push edx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call esi
mov edx, dword [0x5bfdd8]
mov ebp, dword [0x5bfe00]
mov ebx, dword [0x5bfe4c]
mov dword [esp + 0x24], edx
mov eax, dword [0x5f8b80]
test eax, eax
je 0x4e86c3
mov eax, dword [0x5f8b8c]
test eax, eax
je 0x4e86c3
cmp ebx, 2
jne 0x4e866a
test edi, edi
je 0x4e86c3
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x5bfe48]
push edx
mov edx, dword [esp + 0x18]
add ecx, eax
push ecx
push edx
push eax
lea eax, [esp + 0x58]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
jmp 0x4e86ab
cmp ebx, 3
jne 0x4e86c3
test edi, edi
je 0x4e86c3
mov eax, dword [esp + 0x1c]
mov edx, dword [0x5bfe48]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call esi
mov ebx, dword [0x5bfe4c]
mov ebp, dword [0x5bfe00]
mov edx, dword [0x5bfdd8]
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x20]
or eax, 0xffffffff
cmp ecx, eax
je 0x4e87a8
cmp dword [esp + 0x24], eax
je 0x4e87a8
cmp ebp, 1
jne 0x4e870a
test edx, edx
jne 0x4e87a8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jl 0x4e87a8
sub eax, ecx
add ecx, eax
mov dword [esp + 0x3c], ecx
add dword [esp + 0x44], eax
jmp 0x4e87a8
test ebp, ebp
jne 0x4e8735
cmp edx, 1
jne 0x4e87a8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jl 0x4e87a8
sub eax, ecx
add ecx, eax
mov dword [esp + 0x2c], ecx
add dword [esp + 0x34], eax
jmp 0x4e87a8
cmp ebp, 2
jne 0x4e8786
cmp edx, 3
jne 0x4e87a8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jl 0x4e87a8
mov edi, dword [esp + 0x40]
sub eax, ecx
add ecx, eax
add edi, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], edi
or edi, 0xffffffff
cmp ecx, edi
je 0x4e8882
cmp ebx, edx
jne 0x4e87a8
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
add edi, eax
add ecx, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], ecx
jmp 0x4e87a8
cmp ebp, 3
jne 0x4e87a8
cmp edx, 2
jne 0x4e87a8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl 0x4e87a8
sub eax, ecx
add ecx, eax
mov dword [esp + 0x28], ecx
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
or edi, 0xffffffff
cmp eax, edi
je 0x4e8882
cmp dword [esp + 0x24], edi
je 0x4e8832
cmp ebx, 2
jne 0x4e87e7
cmp edx, 3
jne 0x4e8832
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jl 0x4e8832
mov edx, dword [esp + 0x40]
sub eax, ecx
add ecx, eax
add edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
jmp 0x4e880f
cmp ebx, 3
jne 0x4e8832
cmp edx, 2
jne 0x4e8832
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jl 0x4e8832
mov edx, dword [esp + 0x50]
sub eax, ecx
add ecx, eax
add edx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], edx
cmp dword [esp + 0x20], edi
je 0x4e88df
cmp ebp, 3
jne 0x4e8832
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
add edx, eax
add ecx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x20], edi
je 0x4e88df
cmp ebx, 2
jne 0x4e8860
cmp ebp, 3
jne 0x4e8882
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl 0x4e8882
sub eax, ecx
add ecx, eax
mov dword [esp + 0x28], ecx
add dword [esp + 0x30], eax
jmp 0x4e8882
cmp ebx, 3
jne 0x4e8882
cmp ebp, 2
jne 0x4e8882
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jl 0x4e8882
sub eax, ecx
add ecx, eax
mov dword [esp + 0x48], ecx
add dword [esp + 0x50], eax
cmp dword [esp + 0x20], edi
je 0x4e88df
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0x98
sub eax, ecx
push eax
mov eax, dword [esp + 0x30]
sub edx, eax
push edx
mov edx, dword [0x5f7ff4]
push ecx
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x4e88d9
call fcn.005442e0
cmp eax, 1
jne 0x4e88d9
mov eax, dword [esp + 0x5c]
dec eax
or ebx, 0xffffffff
mov dword [esp + 0x5c], eax
xor ebp, ebp
jmp 0x4e8054
mov ebx, dword [0x5bfe4c]
cmp dword [esp + 0x24], edi
je 0x4e893b
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
push 0x98
sub eax, edx
push eax
mov eax, dword [esp + 0x48]
sub eax, ecx
push eax
mov eax, dword [0x5f6bf8]
push edx
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x4e8935
call fcn.0053acc0
cmp eax, 1
jne 0x4e8935
mov eax, dword [esp + 0x5c]
dec eax
or ebx, 0xffffffff
mov dword [esp + 0x5c], eax
xor ebp, ebp
jmp 0x4e8054
mov ebx, dword [0x5bfe4c]
cmp dword [esp + 0x20], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4e89a9
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
sub eax, edx
mov edx, dword [esp + 0x30]
push eax
sub edx, dword [esp + 0x2c]
mov ecx, 0x5f8000
call fcn.00423cc0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x98
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
mov eax, dword [0x5f7ff4]
push ecx
push 0
push eax
call ebp
mov ecx, dword [0x5f7ff4]
push ecx
call esi
mov ebx, dword [0x5bfe4c]
jmp 0x4e89cc
mov eax, dword [0x5f7ff4]
test eax, eax
je 0x4e89c6
push 0
push eax
call edi
mov edx, dword [0x5f7ff4]
push edx
call esi
mov ebx, dword [0x5bfe4c]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x58], 0xffffffff
mov edx, dword [esp + 0x50]
je 0x4e8a8f
cmp ebx, 2
jne 0x4e8a00
mov ebx, dword [esp + 0x64]
test ebx, ebx
mov eax, 1
mov ecx, 4
je 0x4e8a1c
cmp dword [esp + 0x20], 2
je 0x4e8a1c
mov eax, 3
jmp 0x4e8a1c
cmp dword [esp + 0x64], 0
mov eax, 4
mov ecx, 1
je 0x4e8a1c
cmp dword [esp + 0x20], ebx
je 0x4e8a1c
mov ecx, 3
mov ebx, dword [esp + 0x54]
sub ebx, dword [esp + 0x4c]
push 0x70
sub edx, ecx
mov ecx, dword [esp + 0x4c]
sub edx, eax
sub ebx, 9
push ebx
sub edx, ecx
push edx
push 9
push eax
mov eax, dword [0x5f8b84]
push 0
push eax
call ebp
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
sub ecx, ebx
push ecx
sub edx, dword [esp + 0x4c]
mov ecx, 0x5f8b98
call fcn.00423cc0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
push 0x98
sub edx, eax
push edx
mov edx, dword [esp + 0x58]
sub edx, ecx
push edx
push eax
mov eax, dword [0x5f8b80]
push ecx
push 0
push eax
call ebp
mov ecx, dword [0x5f8b80]
push ecx
jmp 0x4e8aa4
mov eax, dword [0x5f8b80]
test eax, eax
je 0x4e8aa6
push 0
push eax
call edi
mov edx, dword [0x5f8b80]
push edx
call esi
cmp dword [esp + 0x24], 0xffffffff
je 0x4e8afa
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
sub eax, edx
mov edx, dword [esp + 0x40]
push eax
sub edx, dword [esp + 0x3c]
mov ecx, 0x5f6c08
call fcn.00423cc0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0x98
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [0x5f6bf8]
push ecx
push 0
push eax
call ebp
mov ecx, dword [0x5f6bf8]
push ecx
jmp 0x4e8b0f
mov eax, dword [0x5f6bf8]
test eax, eax
je 0x4e8b11
push 0
push eax
call edi
mov edx, dword [0x5f6bf8]
push edx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0x10
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [0x5f92f0]
push ecx
push 1
push eax
call ebp
mov eax, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
or edi, 0xffffffff
cmp eax, edi
je 0x4e8b70
mov ecx, dword [0x5f7ff4]
push 0x53
push 0
push 0
push 0
push 0
push 0
push ecx
call ebp
mov edx, dword [0x5f7ff4]
push 1
push 0
push edx
call ebx
mov eax, dword [0x5f7ff4]
push eax
call esi
cmp dword [esp + 0x58], edi
je 0x4e8bb6
mov ecx, dword [0x5f8b80]
push 0x53
push 0
push 0
push 0
push 0
push 0
push ecx
call ebp
mov edx, dword [0x5f8b80]
push 1
push 0
push edx
call ebx
mov eax, dword [0x5f8b80]
push eax
call esi
mov ecx, dword [0x5f8b84]
push 1
push 0
push ecx
call ebx
mov edx, dword [0x5f8b84]
push edx
call esi
cmp dword [esp + 0x24], edi
je 0x4e8be6
mov eax, dword [0x5f6bf8]
push 0x53
push 0
push 0
push 0
push 0
push 0
push eax
call ebp
mov ecx, dword [0x5f6bf8]
push 1
push 0
push ecx
call ebx
mov edx, dword [0x5f6bf8]
push edx
call esi
mov eax, dword [0x5f92f0]
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebp, eax
test ebp, ebp
je 0x4e8c38
push ebp
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4e8c38
mov ecx, ebp
call fcn.00561000
mov edi, eax
test edi, edi
je 0x4e8c38
mov eax, dword [edi + 0x960]
test eax, eax
je 0x4e8c38
mov eax, dword [edi + 0x758]
test eax, eax
je 0x4e8c2f
mov ecx, edi
call fcn.004780d0
jmp 0x4e8c38
xor edx, edx
mov ecx, ebp
call fcn.0041c1d0
mov eax, dword [0x5c59fc]
test eax, eax
je 0x4e8c68
mov ecx, dword [eax + 0x960]
test ecx, ecx
je 0x4e8c68
mov ecx, dword [eax]
mov edx, 1
call fcn.0041c1d0
test edi, edi
jne 0x4e8c68
mov ecx, dword [0x5c59fc]
mov ecx, dword [ecx]
call fcn.0041c060
mov edx, dword [0x5f92f0]
push edx
call esi
mov eax, dword [0x5f92ec]
push 1
push 0
push eax
call ebx
mov ecx, dword [0x5f92ec]
push ecx
call esi
mov edx, dword [0x5f92f0]
push edx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov edx, 1
mov ecx, eax
call fcn.004db6b0
pop edi
pop esi
pop ebx
mov dword [0x5ef6d4], 0
pop ebp
add esp, 0x84
ret
pop edi
pop esi
mov dword [0x5ef6d4], ebp
pop ebx
pop ebp
add esp, 0x84
ret