Function at 0x5f9688
Capabilities:
Copy file
Create process on windows
Log keystrokes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x5f9691
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404968
mov eax, dword [ebp + 0xc]
call fcn.00404968
mov eax, dword [ebp + 8]
call fcn.00404968
xor eax, eax
push ebp
push 0x5f9ea3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x5c8]
call fcn.00472334
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408f48
mov eax, dword [ebp - 0x3c]
mov ecx, 0x5f9ebc
mov edx, 0x5f9ecc
call fcn.005c9d08
lea edx, [ebp - 0x44]
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x5c8]
call fcn.00472334
mov eax, dword [ebp - 0x44]
call fcn.00409c58
test al, al
jne 0x5f975f
push 0x5f9edc
lea edx, [ebp - 0x4c]
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x5c8]
call fcn.00472334
push dword [ebp - 0x4c]
push 0x5f9ef4
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404838
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.005b8b34
jmp 0x5f9e27
mov eax, dword [ebp - 0x30]
call fcn.00409c58
test al, al
jne 0x5f9797
push 0
mov eax, dword [ebp - 0x30]
call fcn.00404978
push eax
lea edx, [ebp - 0x50]
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x5c8]
call fcn.00472334
mov eax, dword [ebp - 0x50]
call fcn.00404978
push eax
call sub.kernel32.dll_CopyFileA
push 1
mov eax, dword [ebp - 0x30]
call fcn.00404978
push eax
call sub.kernel32.dll_WinExec
push 0x1f4
call sub.kernel32.dll_Sleep_1
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], 0
cmp dword [ebp - 0x10], 0
ja 0x5f9982
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5cc]
call fcn.00472334
mov eax, dword [ebp - 0x58]
mov ecx, 6
mov edx, 1
call fcn.004049d8
mov eax, dword [ebp - 0x54]
call fcn.00404978
push eax
push 0
call sub.user32.dll_FindWindowA
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8e8]
call fcn.00404978
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x5f996e
mov eax, dword [ebp - 0xc]
call fcn.00404978
push eax
push 0xff
push 0xc
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x201
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x202
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_PostMessageA
push 0
push 9
push pe_nt_image_headers32
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetForegroundWindow
mov dl, 1
mov eax, dword [0x41c44c]
call fcn.00403594
mov dword [ebp - 0x34], eax
mov eax, 0x5f9f0c
call fcn.00409d80
xor eax, eax
push ebp
push 0x5f994a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x5f9f28
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x5f9f5c
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, 0x14
mov edx, 0x5f9f84
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec ebx
jne 0x5f98d8
push 0x5f9fac
push dword [ebp + 0xc]
push 0x5f9fc8
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00404838
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x5f9fd4
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x5f9ff0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x5f9f0c
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9951
mov eax, dword [ebp - 0x34]
call fcn.004035c4
ret
push 0x1f4
call sub.kernel32.dll_Sleep_1
cmp dword [ebp - 0x10], 0
jbe 0x5f97ce
push 0x7d0
call sub.kernel32.dll_Sleep_1
jmp 0x5f9a6b
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5cc]
call fcn.00472334
mov eax, dword [ebp - 0x64]
mov ecx, 6
mov edx, 1
call fcn.004049d8
mov eax, dword [ebp - 0x60]
call fcn.00404978
push eax
push 0
call sub.user32.dll_FindWindowA
mov dword [ebp - 0x14], eax
push 0x5fa02c
push 0x5fa038
call sub.user32.dll_FindWindowA
test eax, eax
jbe 0x5f9a19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x5f9a81
mov eax, dword [ebp - 4]
mov byte [eax + 0x83d], 1
jmp 0x5f9a0d
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x83d], 0
jne 0x5f9a03
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8ec]
call fcn.00404978
push eax
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jbe 0x5f9a50
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8f0]
call fcn.00404978
push eax
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
ja 0x5f9a5a
mov byte [ebp - 0x21], 1
jmp 0x5f9a6b
inc dword [ebp - 0x1c]
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov byte [ebp - 0x21], 0
cmp dword [ebp - 0x14], 0
jbe 0x5f9a81
cmp dword [ebp - 0x1c], 0x3c
jge 0x5f9a81
cmp byte [ebp - 0x21], 0
je 0x5f9991
cmp byte [ebp - 0x21], 0
je 0x5f9e27
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x8c4]
mov eax, dword [ebp - 8]
mov dword [ebx + 0x64], eax
lea eax, [ebx + 0x68]
mov edx, dword [ebp - 0xc]
call fcn.0040450c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x8c4]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp + 8]
mov edx, 0x5fa050
call fcn.004048c4
je 0x5f9e20
push 0x5c0016
push 0
push 0x201
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_PostMessageA
push 0x5c0016
push 0
push 0x202
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_PostMessageA
mov byte [ebp - 0x22], 0
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x64
jg 0x5f9e27
push 0
push 0x5fa058
call sub.user32.dll_FindWindowA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x5f9dc9
push 0
push 0
push 0
push 0x1b
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x1b
call sub.user32.dll_keybd_event
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.005f8cb8
test al, al
je 0x5f9dd5
push 0
push 0
push 0
push 0x1b
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x1b
call sub.user32.dll_keybd_event
mov edx, dword [ebp - 0x2c]
mov eax, 0x5fa068
call fcn.00404abc
test eax, eax
jle 0x5f9dc9
mov edx, dword [ebp - 0x2c]
mov eax, 0x5fa07c
call fcn.00404abc
test eax, eax
jle 0x5f9dc9
mov byte [ebp - 0x22], 1
push 0
push 0
push 0
push 0x1b
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x1b
call sub.user32.dll_keybd_event
jmp 0x5f9bc4
push 0x32
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.005f8cb8
push 0
push 0
push 0
push 0x1b
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x1b
call sub.user32.dll_keybd_event
mov eax, dword [ebp - 0x2c]
call fcn.00404778
cmp eax, 0x78
jl 0x5f9b9d
mov edx, dword [ebp - 0x2c]
mov eax, 0x5fa088
call fcn.00404abc
mov ebx, eax
test ebx, ebx
jle 0x5f9c0e
lea eax, [ebp - 0x6c]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.004049d8
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00409198
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
call fcn.00404550
xor ebx, ebx
mov eax, dword [0x60e504]
call fcn.004044b8
cmp ebx, 2
jge 0x5f9c45
inc ebx
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x2c]
call fcn.005c7a4c
mov eax, dword [0x60e504]
cmp dword [eax], 0
jne 0x5f9c45
cmp ebx, 2
jl 0x5f9c1f
mov eax, dword [0x60e504]
cmp dword [eax], 0
je 0x5f9dd5
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00455d78
mov eax, dword [eax + 8]
mov ecx, dword [0x60e504]
mov ecx, dword [ecx]
mov edx, 5
mov ebx, dword [eax]
call dword [ebx + 0x20]
call fcn.005c9098
lea edx, [ebp - 0x70]
call fcn.004096dc
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00455d78
mov eax, dword [eax + 8]
mov edx, 7
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x20]
xor eax, eax
push ebp
push 0x5f9cfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00455d78
mov eax, dword [eax + 8]
mov ecx, 0x5fa094
mov edx, 3
mov ebx, dword [eax]
call dword [ebx + 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f9d06
imul ebx, dword [ebp - 8], 0x2f7
mov eax, dword [0x60f078]
mov eax, dword [eax]
lea eax, [eax + ebx + 4]
mov edx, dword [0x60e504]
mov edx, dword [edx]
call fcn.0040450c
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00455d78
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x74]
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x74]
mov eax, dword [0x60f078]
mov eax, dword [eax]
lea eax, [eax + ebx + 0xc]
call fcn.0040450c
mov eax, dword [0x60e504]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00455d78
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x78]
mov edx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [0x61e220]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00455d78
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x7c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00606ae8
jmp 0x5f9dd5
push 0x32
call sub.kernel32.dll_Sleep_1
jmp 0x5f9af5
cmp byte [ebp - 0x22], 0
je 0x5f9e27
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x38]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_PostMessageA
mov eax, 0x5fa0a4
call fcn.005ca7c4
call fcn.005ca75c
jmp 0x5f9e27
mov eax, ebx
call fcn.005e05a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9eaa
lea eax, [ebp - 0x7c]
mov edx, 6
call fcn.004044dc
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004044dc
lea eax, [ebp - 0x5c]
call fcn.004044b8
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004044dc
lea eax, [ebp - 0x48]
call fcn.004044b8
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004044dc
lea eax, [ebp - 0x3c]
call fcn.004044b8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004044dc
lea eax, [ebp - 0xc]
call fcn.004044b8
lea eax, [ebp + 8]
mov edx, 2
call fcn.004044dc
ret