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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x59e894
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x59eb67
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov esi, dword [edi + 0xb0]
mov eax, dword [esi + 0x3e4]
cmp dword [eax + 0x268], 0x1a
jne 0x59ea14
cmp byte [edi + 0x5b], 1
jne 0x59ea14
mov eax, dword [0x5af0e0]
mov eax, dword [eax]
cmp byte [eax + 0xe9], 0
je 0x59e982
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, 0x59eb80
call fcn.004047b4
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00471b0c
push eax
push 0x59eb90
lea eax, [ebp - 0x10]
mov dl, byte [edi + 0x5a]
call fcn.004046a8
push dword [ebp - 0x10]
push 0x59eba8
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 + 0x5a]
call fcn.004046a8
lea eax, [ebp - 0x14]
mov edx, 0x59ebb4
call fcn.004047b4
mov eax, dword [ebp - 0x14]
call fcn.005a7e60
test eax, eax
jne 0x59ea14
cmp bl, 0xa
jbe 0x59e8e7
jmp 0x59ea14
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, 0x59eb80
call fcn.004047b4
mov eax, dword [ebp - 0x18]
push eax
mov eax, esi
call fcn.00471b0c
push eax
push 0x59ebc0
lea eax, [ebp - 0x24]
mov dl, byte [edi + 0x5a]
call fcn.004046a8
push dword [ebp - 0x24]
push 0x59eba8
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 + 0x5a]
call fcn.004046a8
lea eax, [ebp - 0x28]
mov edx, 0x59ebb4
call fcn.004047b4
mov eax, dword [ebp - 0x28]
call fcn.005a7e60
test eax, eax
jne 0x59ea14
cmp bl, 3
jbe 0x59e982
mov eax, dword [esi + 0x3a0]
cmp byte [eax + 0x38], 0
je 0x59ea9d
mov eax, dword [esi + 0x3e4]
cmp dword [eax + 0x268], 0x1a
jne 0x59ea81
lea eax, [ebp - 0x2c]
mov dl, byte [edi + 0x5a]
call fcn.004046a8
lea eax, [ebp - 0x2c]
mov edx, 0x59ebb4
call fcn.004047b4
mov eax, dword [ebp - 0x2c]
call fcn.00547eb8
test al, al
jne 0x59ea63
push 1
push 0
push 0x59ebcc
call sub.winmm.dll_PlaySoundA
jmp 0x59ea9d
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 0x59ea9d
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 + 0x3a4]
cmp byte [eax + 0x38], 0
jne 0x59eb22
mov eax, dword [esi + 0x388]
cmp byte [eax + 0x38], 0
jne 0x59eac3
push 0
push 0x59ebe0
call sub.kernel32.dll_WinExec
jmp 0x59eb22
mov eax, dword [esi + 0x38c]
cmp byte [eax + 0x38], 0
jne 0x59eadd
push 0
push 0x59ec14
call sub.kernel32.dll_WinExec
jmp 0x59eb22
mov eax, dword [esi + 0x390]
cmp byte [eax + 0x38], 0
jne 0x59eaf7
push 0
push 0x59ec48
call sub.kernel32.dll_WinExec
jmp 0x59eb22
mov eax, dword [esi + 0x394]
cmp byte [eax + 0x38], 0
jne 0x59eb11
push 0
push 0x59ec80
call sub.kernel32.dll_WinExec
jmp 0x59eb22
mov eax, dword [esi + 0x398]
cmp byte [eax + 0x38], 0
jne 0x59eb22
call sub.user32.dll_LockWorkStation
lea eax, [ebp - 0x30]
mov dl, byte [edi + 0x5a]
call fcn.004046a8
lea eax, [ebp - 0x30]
mov edx, 0x59ebb4
call fcn.004047b4
mov eax, dword [ebp - 0x30]
call fcn.00547eb8
test al, al
jne 0x59eb4a
mov bl, 1
jmp 0x59eb4c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59eb6e
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.004044e4
ret