Function at 0x488b60
Capabilities:
Lock the desktop

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b43f0
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 4], 0
mov dword [ebx], vtable.TranslateData.0
je 0x488eee
mov esi, dword [ebx + 0x288]
test esi, esi
je 0x488baf
mov ecx, esi
call fcn.00517a20
push 4
push esi
call fcn.00583877
add esp, 8
push closesocket
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
cmp dword [ebx + 0x280], 0
je 0x488c42
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
imul eax, dword [ebx + 0x14]
push 1
cdq
idiv dword [ebx + 0x10]
mov edi, eax
call esi
imul eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x280]
cdq
idiv dword [ebx + 0x10]
cmp edi, esi
jne 0x488bf5
cmp eax, dword [ebx + 0x284]
je 0x488c42
push 0xdc
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.00585a40
add esp, 0xc
mov dword [ebp - 0x94], esi
mov eax, 0xdc
mov dword [ebp - 0xf8], 0x180000
mov word [ebp - 0xfc], ax
mov eax, dword [ebx + 0x284]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x140]
push 0
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
cmp dword [ebx + 0x278], 0
je 0x488c78
call fcn.0048e4e0
mov ecx, dword [ebx + 0x278]
test ecx, ecx
je 0x488c6e
xor eax, eax
mov edx, 0x6d422c
xchg dword [edx], eax
push 1
push ecx
call fcn.00583877
add esp, 8
mov dword [ebx + 0x278], 0
cmp dword [ebx + 0x27c], 0
je 0x488cae
call fcn.0048ecd0
mov ecx, dword [ebx + 0x27c]
test ecx, ecx
je 0x488ca4
xor eax, eax
mov edx, 0x6d4230
xchg dword [edx], eax
push 0x10
push ecx
call fcn.00583877
add esp, 8
mov dword [ebx + 0x27c], 0
xor eax, eax
mov word [ebx + 0x20], ax
call fcn.005320c0
push dword [ebx + 0x248]
lea esi, [ebx + 0x248]
call fcn.005343b0
cmp byte [ebx + 0x238], 0
je 0x488cd9
call dword [sym.imp.USER32.dll_LockWorkStation]
mov ecx, dword [ebx + 0x234]
test ecx, ecx
je 0x488ce9
push ecx
call fcn.004843e0
cmp dword [ebx + 4], 0
mov dword [ebx + 0x234], 0
je 0x488d51
cmp byte [ebx + 0xc], 0
je 0x488d51
cmp byte [0x618c00], 0
je 0x488d4a
push dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0xd]
mov dword [ebp - 0x1c], 0
push eax
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xd], 0x10
call fcn.004708c0
mov ecx, dword [ebx + 4]
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.0043b340
mov byte [0x618c00], 1
mov eax, dword [0x6d421c]
test eax, eax
je 0x488e97
cmp dword [eax + 0x44], 0
je 0x488e97
push dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0xd]
mov dword [ebp - 0x1c], 0
push eax
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xd], 9
call fcn.004708c0
push dword [ebp - 0x14]
lea ecx, [ebx + 0x270]
lea eax, [ecx + 4]
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.004708c0
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.00436910
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.0044cd30
add esp, 4
fild qword [eax]
fmul dword [0x5f4504]
call fcn.00584520
push dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
call fcn.004708c0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call fcn.004708c0
call fcn.005201a0
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00458a80
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x64]
call fcn.00458b20
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00517fd0
mov edx, 0x6acf50
mov ecx, eax
call fcn.00517fd0
lea ecx, [ebp - 0x64]
call fcn.004470b0
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x488e7e
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x488e74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488f4e
push ecx
push edx
call fcn.00583877
add esp, 8
mov eax, dword [0x6d421c]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [eax + 0x44]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.0043b340
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0048d390
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0xd], 0
jne 0x488eb1
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jge 0x488eb7
mov ecx, dword [0x6d2308]
push ecx
mov ecx, 0x6d2308
call fcn.0045e640
push 0x18
push eax
call fcn.00583877
add esp, 8
call fcn.00488b20
lea eax, [ebx + 0x274]
push eax
call fcn.0048ce10
mov ecx, dword [ebx + 0x23c]
test ecx, ecx
je 0x488eee
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebx + 0x2a0]
call fcn.00449550
lea ecx, [ebx + 0x290]
call fcn.00463e80
lea ecx, [ebx + 0x24c]
call fcn.00449550
mov dword [ebx], vtable.MessageProcessor.0
mov esi, dword [ebx + 8]
test esi, esi
je 0x488f3d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x488f3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x488f3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00591c98
int3