Function at 0x596a30
Capabilities:
Create process on windows
Lock the desktop

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x596a38
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x596d0b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov esi, dword [edi + 0xc8]
mov eax, dword [esi + 0x3ac]
cmp dword [eax + 0x268], 0x1a
jne 0x596bb8
cmp byte [edi + 0x70], 1
jne 0x596bb8
mov eax, dword [0x5af0e0]
mov eax, dword [eax]
cmp byte [eax + 0xe9], 0
je 0x596b26
push 0
lea edx, [ebp - 8]
mov eax, dword [0x5af014]
mov eax, dword [eax]
call fcn.0048bf64
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040a38c
lea eax, [ebp - 4]
mov edx, 0x596d24
call fcn.004047b4
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00471b0c
push eax
push 0x596d34
lea eax, [ebp - 0x10]
mov dl, byte [edi + 0x5e]
call fcn.004046a8
push dword [ebp - 0x10]
push 0x596d4c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040486c
mov ecx, dword [ebp - 0xc]
pop eax
pop edx
call fcn.005a93ec
inc ebx
lea eax, [ebp - 0x14]
mov dl, byte [edi + 0x5e]
call fcn.004046a8
lea eax, [ebp - 0x14]
mov edx, 0x596d58
call fcn.004047b4
mov eax, dword [ebp - 0x14]
call fcn.005a7e60
test eax, eax
jne 0x596bb8
cmp bl, 0xa
jbe 0x596a8b
jmp 0x596bb8
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x5af014]
mov eax, dword [eax]
call fcn.0048bf64
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040a38c
lea eax, [ebp - 0x18]
mov edx, 0x596d24
call fcn.004047b4
mov eax, dword [ebp - 0x18]
push eax
mov eax, esi
call fcn.00471b0c
push eax
push 0x596d64
lea eax, [ebp - 0x24]
mov dl, byte [edi + 0x5e]
call fcn.004046a8
push dword [ebp - 0x24]
push 0x596d4c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040486c
mov ecx, dword [ebp - 0x20]
pop eax
pop edx
call fcn.005a93ec
inc ebx
lea eax, [ebp - 0x28]
mov dl, byte [edi + 0x5e]
call fcn.004046a8
lea eax, [ebp - 0x28]
mov edx, 0x596d58
call fcn.004047b4
mov eax, dword [ebp - 0x28]
call fcn.005a7e60
test eax, eax
jne 0x596bb8
cmp bl, 3
jbe 0x596b26
mov eax, dword [esi + 0x450]
cmp byte [eax + 0x38], 0
je 0x596c41
mov eax, dword [esi + 0x3ac]
cmp dword [eax + 0x268], 0x1a
jne 0x596c25
lea eax, [ebp - 0x2c]
mov dl, byte [edi + 0x5e]
call fcn.004046a8
lea eax, [ebp - 0x2c]
mov edx, 0x596d58
call fcn.004047b4
mov eax, dword [ebp - 0x2c]
call fcn.00547eb8
test al, al
jne 0x596c07
push 1
push 0
push 0x596d70
call sub.winmm.dll_PlaySoundA
jmp 0x596c41
push 1
push 0
mov eax, dword [0x5af0e0]
mov eax, dword [eax]
mov eax, dword [eax + 0xe4]
call fcn.004049ac
push eax
call sub.winmm.dll_PlaySoundA
jmp 0x596c41
push 1
push 0
mov eax, dword [0x5af0e0]
mov eax, dword [eax]
mov eax, dword [eax + 0xe4]
call fcn.004049ac
push eax
call sub.winmm.dll_PlaySoundA
mov eax, dword [esi + 0x434]
cmp byte [eax + 0x38], 0
jne 0x596cc6
mov eax, dword [esi + 0x438]
cmp byte [eax + 0x38], 0
jne 0x596c67
push 0
push 0x596d84
call sub.kernel32.dll_WinExec
jmp 0x596cc6
mov eax, dword [esi + 0x43c]
cmp byte [eax + 0x38], 0
jne 0x596c81
push 0
push 0x596db8
call sub.kernel32.dll_WinExec
jmp 0x596cc6
mov eax, dword [esi + 0x440]
cmp byte [eax + 0x38], 0
jne 0x596c9b
push 0
push 0x596dec
call sub.kernel32.dll_WinExec
jmp 0x596cc6
mov eax, dword [esi + 0x444]
cmp byte [eax + 0x38], 0
jne 0x596cb5
push 0
push 0x596e24
call sub.kernel32.dll_WinExec
jmp 0x596cc6
mov eax, dword [esi + 0x448]
cmp byte [eax + 0x38], 0
jne 0x596cc6
call sub.user32.dll_LockWorkStation
lea eax, [ebp - 0x30]
mov dl, byte [edi + 0x5e]
call fcn.004046a8
lea eax, [ebp - 0x30]
mov edx, 0x596d58
call fcn.004047b4
mov eax, dword [ebp - 0x30]
call fcn.00547eb8
test al, al
jne 0x596cee
mov bl, 1
jmp 0x596cf0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596d12
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.004044e4
ret