Function at 0x436f60
Capabilities:
Lock the desktop

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
push dword [ebp + 8]
mov ecx, 0x5172d8
call fcn.0045fba0
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x437010
cmp dword [ebp + 0x14], edi
je 0x437150
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0x1b
je 0x436fa6
cmp eax, 0x49
jne 0x436fc0
mov eax, dword [0x5171d0]
cmp eax, 0x237c
je 0x436fb9
cmp eax, 0x237d
jne 0x436fc0
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.0041e7c0
push dword [ebp + 0x10]
test eax, eax
mov ecx, 3
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
cmovne eax, ecx
push dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebx + 0x88]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.004355c0
mov ecx, eax
mov eax, dword [ebp - 4]
push eax
push 1
push esi
mov dword [ebp - 8], ecx
call fcn.00433ec0
test eax, eax
jne 0x43701b
push dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.00435670
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x6c], edi
je 0x43706d
test byte [esi + 0xb60], 1
je 0x43706d
push 0
push 0x4e11d8
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043a4c0
push 0x4e11d8
push dword [ebp + 0xc]
lea ecx, [ebx + 0x48]
push dword [ebp + 8]
call fcn.00415cc0
test eax, eax
je 0x43706d
cmp word [eax], di
je 0x43706d
cmp dword [ebp + 0x10], 0xb
je 0x43706d
push 0x22001
push 0
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
cmp dword [esi + 0xadc], edi
je 0x4370e5
push 0
push 0x4df0bc
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043a4c0
push 0x4df0bc
push dword [ebp + 0xc]
lea ecx, [ebx + 0x48]
push dword [ebp + 8]
call fcn.00415c20
test eax, eax
je 0x4370e5
cmp eax, dword [ebx + 0x4c]
jae 0x4370e5
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax + ecx*4 + 8]
test ecx, ecx
je 0x4370e5
cmp word [ecx], di
je 0x4370e5
mov eax, dword [esi + 0xadc]
dec eax
jne 0x4370e5
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x4e1348
push ecx
call fcn.004a8e3b
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x4370e5
push eax
mov ecx, esi
call fcn.00424d90
cmp dword [ebx + 0x6c], edi
je 0x4370f3
test byte [esi + 0xb60], 1
jne 0x4370fb
cmp dword [esi + 0xadc], edi
je 0x43712b
mov eax, dword [ebp + 0x10]
cmp eax, 5
je 0x437112
cmp eax, 0x10
je 0x437112
cmp eax, 0x1c
je 0x437112
cmp eax, 0x39
jne 0x43712e
push 0
push eax
call fcn.00433f40
add esp, 4
mov ecx, ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043a4c0
mov eax, dword [ebp + 0x10]
cmp eax, 0x5a
ja case.0x43713a.4
movzx eax, byte [eax + 0x437b54]
jmp dword [eax*4 + 0x437b4c]
mov ecx, dword [ebp - 8]
push 1
push 0
push esi
call fcn.00433ec0
jmp case.0x43713a.4
push dword [ebp + 0x10]
lea eax, [ebx + 0x88]
push dword [ebp + 0xc]
mov ecx, eax
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.00437cd0
mov dword [ebp - 8], eax
test eax, eax
je 0x437010
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
test cl, 0x10
je 0x4371c5
cmp dword [esi + 0xab4], eax
je 0x4371c5
push dword [0x516658]
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0xc]
mov esi, eax
mov eax, dword [ebp + 0xc]
sar eax, 0xc
push 0
and eax, 0xff
dec eax
push eax
push dword [ebp + 0x14]
push esi
call fcn.00415490
push esi
push dword [0x516658]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp edx, 0x5a
ja case.0x4371d8.4
movzx eax, byte [edx + 0x437c74]
jmp dword [eax*4 + 0x437bb0]
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.0043bfb0
mov edi, eax
jmp 0x437b1f
mov edi, 1
jmp 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.0043be40
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
push dword [ebp + 8]
mov ecx, ebx
call fcn.00434210
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
push dword [ebp + 8]
mov ecx, ebx
call fcn.00434530
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0043ab00
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x4372fa
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne 0x4372fa
push eax
push 5
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043b320
mov edi, eax
test edi, edi
jne 0x4372ff
cmp dword [esi + 0xb48], eax
je 0x4372ff
mov eax, dword [ebp + 8]
shl eax, 0x10
or eax, 5
push eax
push dword [ebp + 0xc]
push 0x9002
push dword [0x516658]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4372ff
mov edi, 1
mov ecx, esi
call fcn.0041e7c0
test eax, eax
jne 0x437b1f
cmp dword [ebp + 0x14], eax
sete al
jmp 0x43778b
cmp dword [ebp + 0x14], edi
je case.0x4371d8.11
mov esi, dword [esi + 0xe94]
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
push esi
call fcn.004296d0
push 0
push 0
mov ecx, esi
call fcn.0047bb40
test al, al
jns case.0x4371d8.11
push dword [ebx + 0xe44]
mov ecx, ebx
call fcn.004296d0
mov edi, 1
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437203
push 1
mov ecx, esi
call fcn.00425b40
mov edi, eax
jmp 0x437b1f
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00425b40
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 0x14]
mov ecx, ebx
push 4
push dword [ebp + 8]
call fcn.0043b640
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 0x14]
mov ecx, ebx
push 8
push dword [ebp + 8]
call fcn.0043b640
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 0x14]
mov ecx, ebx
push 1
push dword [ebp + 8]
call fcn.0043b640
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 0x14]
mov ecx, ebx
push 2
push dword [ebp + 8]
call fcn.0043b640
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
mov eax, dword [ebp + 0x14]
jne 0x437427
test eax, eax
je 0x437431
mov edi, 1
jmp 0x437b22
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043bde0
mov edi, eax
jmp 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.00434a20
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.00434a40
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne 0x4374c3
cmp dword [ebp + 0x14], edi
je 0x4374c3
push eax
push 0x10
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043b320
mov edi, eax
xor eax, eax
cmp dword [ebp + 0x14], eax
sete al
jmp 0x43778b
xor eax, eax
mov edi, 1
cmp dword [ebp + 0x14], eax
sete al
jmp 0x43778b
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.0043abd0
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.00434ee0
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.004342e0
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.00433ff0
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.00434120
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.004343d0
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
mov ecx, ebx
call fcn.00434480
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d850
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d570
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
cmp dword [ebp + 0x14], edi
je 0x437203
push 1
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043ad20
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
call fcn.0049d840
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x12
lea eax, [ebp - 0x218]
push str.Photos_PhotoCanvas
push eax
call fcn.004a6be0
add esp, 0xc
test eax, eax
jne 0x4376ef
push esi
mov esi, dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.0043cc40
test eax, eax
je 0x4376f2
mov ecx, ebx
cmp dword [ebp + 0x14], edi
je 0x4376da
push 1
call fcn.0043dce0
push 1
push esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043ad20
jmp 0x437b1f
push 0
call fcn.0043dce0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x14], edi
je 0x437203
push 1
push esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043ad20
mov edi, eax
jmp 0x437b1f
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0043bcc0
mov edi, eax
jmp 0x437b1f
xor eax, eax
cmp dword [ebp + 0x14], eax
sete al
mov dword [ebp - 4], eax
push 0x10
mov ecx, esi
call fcn.0041e4b0
test eax, eax
je 0x437767
cmp dword [ebp + 0x14], edi
je 0x437767
push 0
push 0
push dword [ebp + 0x10]
mov ecx, esi
push 0
call fcn.00422000
push esi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne 0x437788
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043c0b0
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x437b1f
lea ecx, [esi + 0x30]
call fcn.0041e060
test al, al
jne 0x437b1f
push 0
mov ecx, esi
call fcn.00427fc0
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne 0x437b1f
call dword [sym.imp.USER32.dll_LockWorkStation]
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437203
push ecx
push dword [ebp + 8]
mov ecx, ebx
call fcn.00434c50
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437823
add esi, 0x470
mov edi, 1
cmp word [esi], 0
je 0x437b1f
push 0
push dword [0x516658]
push 0
push esi
call fcn.0049fcc0
add esp, 0x10
jmp 0x437b1f
push 1
mov ecx, esi
call fcn.00427fc0
mov edi, eax
jmp 0x437b26
cmp dword [ebp + 0x14], edi
je 0x437842
mov edi, 1
jmp 0x437b1f
push 0
mov ecx, esi
call fcn.00427fc0
mov edi, eax
jmp 0x437b26
cmp dword [ebp + 0x14], edi
je 0x437861
mov edi, 1
jmp 0x437b1f
xor eax, eax
mov ecx, esi
cmp dword [esi + 0xb48], eax
sete al
push eax
call fcn.00427fc0
mov edi, eax
jmp 0x437b26
push dword [ebp + 0x14]
mov ecx, esi
call fcn.00427fc0
mov edi, eax
jmp 0x437b1f
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043de80
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x4378ef
mov eax, dword [0x516540]
mov edi, dword [ebp + 8]
push ecx
push edi
mov ecx, 0x516540
call dword [eax + 0x68]
push eax
mov eax, dword [0x516540]
mov ecx, 0x516540
call dword [eax + 0x34]
push esi
mov esi, dword [ebp + 0xc]
mov ecx, ebx
push esi
mov dword [ebp + 8], eax
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 8]
mov ecx, ebx
push esi
push edi
call fcn.0043c370
mov edi, eax
jmp 0x437b1f
cmp edx, 0x45
jne 0x437b26
mov ecx, dword [ebp - 8]
push 1
push 0
push esi
call fcn.00433ec0
mov edi, dword [ebp + 0xc]
mov ecx, 0x516540
mov eax, dword [0x516540]
push edi
push dword [ebp + 8]
call dword [eax + 0x68]
push eax
mov eax, dword [0x516540]
mov ecx, 0x516540
call dword [eax + 0x34]
push esi
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.0043c890
test eax, eax
jne 0x437203
push dword [ebp + 0x14]
mov ecx, ebx
push edi
push dword [ebp + 8]
call fcn.0043c370
mov edi, eax
jmp 0x437b26
cmp dword [ebp + 0x14], edi
je 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push eax
push 1
push eax
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043b260
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push eax
push 1
push 1
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043b260
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push eax
push 1
push eax
push 1
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043b260
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push eax
push 1
push 1
push 1
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043b260
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push eax
push 1
push eax
push 2
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043b260
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437b26
push esi
push ecx
mov ecx, ebx
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push eax
push 1
push 1
push 2
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043b260
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437203
push 0x32
call fcn.00433f40
add esp, 4
mov esi, eax
mov ecx, ebx
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043a4c0
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebx + 0x48]
push esi
push dword [ebp + 8]
call fcn.00415cc0
mov dword [ebp + 0xc], eax
test eax, eax
je 0x437b1f
cmp word [eax], di
je 0x437b1f
push dword [ebp - 0xc]
mov ecx, ebx
push esi
call fcn.0043c890
test eax, eax
jne case.0x4371d8.11
push dword [ebp + 0xc]
mov ecx, ebx
push esi
push dword [ebp + 8]
call fcn.0043c370
mov edi, eax
jmp 0x437b1f
cmp dword [ebp + 0x14], edi
je 0x437b26
mov eax, dword [0x515d60]
mov ecx, 0x515d60
push 0xc
call dword [eax + 4]
test eax, eax
je 0x437b1f
mov ecx, eax
call fcn.0043df00
test eax, eax
je 0x437b1f
cmp dword [esi + 0xd88], 0x17
mov ecx, esi
je 0x437b14
push 0x17
call fcn.00425fa0
jmp 0x437b1f
push 0
call fcn.00425fa0
jmp 0x437b1f
xor edi, edi
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x437b40
mov ebx, dword [ebp - 8]
mov ecx, ebx
push 1
push 0
push dword [ebp - 0xc]
call fcn.00433ec0
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00435670
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10