joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7b0c6c
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x32c], 0
jne 0x7b0c92
cmp dword [eax + 0x328], 0
jae 0x7b0c98
jmp 0x7b0e44
jl 0x7b0e44
xor eax, eax
push ebp
push 0x7b0e3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31d], 0
je 0x7b0cce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0xc], 0
je 0x7b0cce
mov eax, dword [ebp - 4]
call fcn.0046e0d4
jmp 0x7b0e30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov byte [eax + 0x31c], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x314], 0
jne 0x7b0d18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov edx, 0x9c05b0
call fcn.0044f7e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x320], 0
jl 0x7b0e30
call sub.kernel32.dll_GetTickCount
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31d], 0
jne 0x7b0d98
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
mov eax, dword [eax + 0x328]
cmp edx, dword [ebp - 0xc]
jne 0x7b0d5c
cmp eax, dword [ebp - 0x10]
ja 0x7b0d98
jmp 0x7b0d5e
jg 0x7b0d98
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
mov eax, dword [eax + 0x328]
add eax, 0x3a98
adc edx, 0
cmp edx, dword [ebp - 0xc]
jne 0x7b0d81
cmp eax, dword [ebp - 0x10]
jae 0x7b0d83
jmp 0x7b0d98
jl 0x7b0d98
push 0x64
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x83fa38]
mov eax, dword [eax]
call main
jmp 0x7b0d28
xor eax, eax
push ebp
push 0x7b0dcd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31d], 0
jne 0x7b0dc3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7b0dd7
mov eax, dword [ebp - 4]
mov byte [eax + 0x31d], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x320], 0xffffffff
xor eax, eax
push ebp
push 0x7b0e26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je 0x7b0e1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7b0e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7b0e44
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7c6764
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7c68be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x83fb5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xa98]
mov eax, dword [eax + 0x248]
call fcn.00625f50
mov byte [eax + 0x30], 0
mov eax, dword [0x83fb5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xa98]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
lea ebx, [eax + eax*2]
mov eax, dword [0x83fb5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xa98]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
shl eax, 2
cmp ebx, eax
jle 0x7c6841
push 0xffffffffffffffff
push 0xd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0x110]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0xd0]
push eax
mov eax, dword [0x83fb5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xa98]
mov eax, dword [eax + 0x248]
call fcn.00625f50
pop edx
pop ecx
call fcn.005e0ec0
jmp 0x7c688e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0x114]
push eax
push 0xd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0xd0]
push eax
mov eax, dword [0x83fb5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xa98]
mov eax, dword [eax + 0x248]
call fcn.00625f50
or ecx, 0xffffffff
pop edx
call fcn.005e0ec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c68c5
mov eax, dword [0x83fb5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0xa98]
mov eax, dword [eax + 0x248]
call fcn.00625f50
mov byte [eax + 0x30], 1
ret

Function at 0x7c99fc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x7c9a4d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x7c9a34
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x7c9a24
jmp 0x7c9a4d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x7c9a35
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7dd2bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x7dd34e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x7dd360
push 0
mov eax, dword [ebx + 0x664]
call fcn.00455ff8
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x7dd344
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x7dd344
xor eax, eax
push ebp
push 0x7dd326
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7dd330
push 5
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_UpdateWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7dd358
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x7e9e14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 4]
call fcn.00405908
xor eax, eax
push ebp
push 0x7e9f7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x83f380]
mov eax, dword [eax]
mov eax, dword [eax + 0x740]
cmp byte [eax + 0x20f], 0
je 0x7e9f62
xor eax, eax
push ebp
push 0x7e9f5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x8400a8]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0046f86c
mov eax, dword [0x83f380]
mov eax, dword [eax]
mov eax, dword [eax + 0x740]
cmp dword [eax + 0x210], 0
je 0x7e9f3f
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405678
je 0x7e9f3f
mov eax, dword [0x83f380]
mov eax, dword [eax]
mov eax, dword [eax + 0x740]
mov eax, dword [eax + 0x210]
call fcn.0040b540
test al, al
je 0x7e9f3f
mov eax, dword [ebp - 4]
call fcn.00811128
test al, al
je 0x7e9f3f
lea eax, [ebp - 8]
mov edx, dword [0x83f380]
mov edx, dword [edx]
mov edx, dword [edx + 0x740]
mov edx, dword [edx + 0x210]
call fcn.004054d4
push 0x7e9f8c
push dword [ebp - 4]
push 0x7e9f8c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405630
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405350
mov eax, dword [0x83f380]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0x78c], edx
push 1
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405550
push eax
mov eax, dword [ebp - 8]
call fcn.00405550
push eax
push 0x7e9f90
mov eax, dword [0x83fa38]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e9f62
mov eax, dword [0x8400a8]
mov eax, dword [eax]
xor edx, edx
call fcn.0046f86c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e9f84
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405308
ret
Function at 0x807f44
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040506c
lea ebx, [ebp - 0x158]
xor eax, eax
push ebp
push 0x8081a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 8]
call fcn.00404e84
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.004050dc
mov eax, dword [ebp - 0x15c]
mov edx, 0x8081bc
call fcn.00404fc8
jne 0x807fe8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404e84
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004050dc
mov eax, dword [ebp + 8]
call fcn.00404bbc
mov byte [ebp - 0x15], 1
push ebx
lea eax, [ebp - 0x160]
mov ecx, 0x8081c8
mov edx, dword [ebp - 8]
call fcn.00404ed0
mov eax, dword [ebp - 0x160]
call fcn.0040507c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x808168
xor eax, eax
push ebp
push 0x80811e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
lea edx, [ebx + 0x2c]
mov ecx, 0x104
call fcn.00404e34
mov eax, dword [ebp - 0x164]
mov edx, 0x8081d4
call fcn.00404fc8
je 0x8080f5
lea eax, [ebp - 0x168]
lea edx, [ebx + 0x2c]
mov ecx, 0x104
call fcn.00404e34
mov eax, dword [ebp - 0x168]
mov edx, 0x8081e0
call fcn.00404fc8
je 0x8080f5
push dword [ebp - 8]
push 0x8081bc
lea eax, [ebp - 0x16c]
lea edx, [ebx + 0x2c]
mov ecx, 0x104
call fcn.00404e34
push dword [ebp - 0x16c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404f44
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.0040abd4
test eax, eax
je 0x8080f5
cmp byte [ebp - 0x15], 0
je 0x8080d4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.008081e4
test al, al
jne 0x8080d8
xor eax, eax
jmp 0x8080da
mov al, 1
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x8080f5
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404c10
call fcn.00404628
jmp 0x808168
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x808034
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x808125
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8081ad
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.00404be0
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00404be0
lea eax, [ebp - 0x14]
call fcn.00404bbc
lea eax, [ebp - 8]
call fcn.00404bbc
ret
Function at 0x808ad8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040506c
xor eax, eax
push ebp
push 0x808d4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e84
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.004050dc
mov eax, dword [ebp - 0x14c]
mov edx, 0x808d68
call fcn.00404fc8
jne 0x808b82
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e84
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004050dc
mov eax, dword [ebp - 4]
mov edx, edi
call fcn.00404fc8
je 0x808d14
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
mov ecx, 0x808d74
mov edx, dword [ebp - 4]
call fcn.00404ed0
mov eax, dword [ebp - 0x150]
call fcn.0040507c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x808d14
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404e34
mov eax, dword [ebp - 0x154]
mov edx, 0x808d80
call fcn.00404fc8
je 0x808ca7
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404e34
mov eax, dword [ebp - 0x158]
mov edx, 0x808d8c
call fcn.00404fc8
je 0x808ca7
push dword [ebp - 4]
push 0x808d68
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404e34
push dword [ebp - 0x15c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404f44
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 8]
call fcn.0040ab0c
mov eax, dword [ebp - 0x160]
push eax
lea edx, [ebp - 0x164]
mov eax, edi
call fcn.0040ab0c
mov edx, dword [ebp - 0x164]
pop eax
call fcn.00404fc8
je 0x808ca7
mov eax, dword [ebp - 0x148]
and eax, 0x10
cmp eax, 0x10
jne 0x808c9c
lea eax, [ebp - 8]
mov edx, 0x808d74
call fcn.00404e8c
mov edx, dword [ebp - 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x808bc8
push ebx
call sub.kernel32.dll_FindClose_1
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404c54
lea edx, [ebp - 8]
mov eax, esi
call fcn.00808880
mov edx, dword [ebp - 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jle 0x808cf2
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00404c10
jmp 0x808d14
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 4]
call fcn.0040b6f0
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 4]
mov eax, esi
call fcn.00808ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x808d56
lea eax, [ebp - 0x168]
mov edx, 6
call fcn.00404be0
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404be0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404be0
ret
Function at 0x8091c8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 0x144]
xor eax, eax
push ebp
push 0x809300
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
lea eax, [ebp - 0x148]
mov ecx, 0x809318
mov edx, esi
call fcn.00404ed0
mov eax, dword [ebp - 0x148]
call fcn.0040507c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x8092d7
xor eax, eax
push ebp
push 0x8092d0
push dword fs:[eax]
mov dword fs:[eax], esp
test dword [edi], 0x10
jbe 0x809296
cmp byte [edi + 0x2c], 0x2e
jne 0x809258
mov al, byte [edi + 0x2d]
test al, al
je 0x8092ab
sub al, 0x2e
je 0x8092ab
push esi
lea eax, [ebp - 0x150]
lea edx, [edi + 0x2c]
mov ecx, 0x104
call fcn.00404e34
push dword [ebp - 0x150]
push 0x809324
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.00404f44
mov edx, dword [ebp - 0x14c]
mov eax, ebx
call fcn.008091c8
jmp 0x8092ab
mov eax, dword [edi + 0x1c]
mov edx, eax
neg eax
add eax, dword [edi + 0x20]
xor edx, edx
add dword [ebx + 0x38], eax
adc dword [ebx + 0x3c], edx
inc dword [ebx + 0x40]
push edi
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x80923f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8092d7
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x809307
lea eax, [ebp - 0x150]
call fcn.00404bbc
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.00404be0
ret

Function at 0x811128
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x84010c]
cmp dword [eax], 1
jne 0x81113e
mov eax, ebx
call fcn.0047c1f0
pop ebx
ret
mov eax, ebx
call fcn.00405550
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x811154
test al, 0x10
je 0x811158
xor eax, eax
jmp 0x81115a
mov al, 1
pop ebx
ret

Function at 0x811acc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x811b07
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetKeyboardState
test byte [ebp - 0xf1], 0x80
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x811b11
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x811f08
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x811fec
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x811f31
push 9
push ebx
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
jne 0x811f43
mov byte [ebp - 1], 1
jmp 0x811fe2
mov eax, dword [0x84010c]
cmp dword [eax], 2
jne 0x811f57
mov eax, dword [0x83f430]
cmp dword [eax], 4
jg 0x811f7f
mov eax, dword [0x84010c]
cmp dword [eax], 1
jne 0x811fcb
mov eax, dword [0x83f430]
cmp dword [eax], 4
jg 0x811f7f
mov eax, dword [0x83f430]
cmp dword [eax], 4
jne 0x811fcb
mov eax, dword [0x83fc08]
cmp dword [eax], 0
jle 0x811fcb
mov byte [ebp - 1], 0
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov esi, eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0xffffffffffffffff
push esi
push edi
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x811fd7
push ebx
call sub.user32.dll_BringWindowToTop
push ebx
call sub.user32.dll_SetForegroundWindow
push 0
push esi
push edi
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
sete byte [ebp - 1]
jmp 0x811fd7
push ebx
call sub.user32.dll_BringWindowToTop
push ebx
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x811ff6
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x812870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040506c
xor eax, eax
push ebp
push 0x8129fd
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x8129d5
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.0040bafc
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402cc4
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 0xc]
call fcn.0040bafc
lea eax, [ebp - 0x454]
xor ecx, ecx
mov edx, 0x44
call fcn.00403584
mov dword [ebp - 0x454], 0x44
mov dword [ebp - 0x428], 1
mov word [ebp - 0x424], si
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x454]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x812937
mov dword [ebp - 8], 0xffffffff
jmp 0x8129cb
test bl, bl
je 0x8129cb
push 0x32
mov eax, dword [ebp - 0x464]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x812962
mov eax, dword [0x83fa38]
mov eax, dword [eax]
call main
jmp 0x81293f
xor edx, edx
push ebp
push 0x81298a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x460]
test eax, eax
je 0x812980
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x812994
xor edx, edx
push ebp
push 0x8129bc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x464]
test eax, eax
je 0x8129b2
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8129c6
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8129df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x812a04
lea eax, [ebp - 0xc]
call fcn.00404bbc
lea eax, [ebp - 4]
call fcn.00404bbc
ret

Function at 0x812f28
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
lea eax, [ebp - 4]
call fcn.00405908
xor eax, eax
push ebp
push 0x812fc9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x812fa1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x812fe0
push dword [ebp - 4]
push 0x812fe0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405630
push esi
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405550
push eax
push 0x812fe4
push ebx
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x812fab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x812fd0
lea eax, [ebp - 0xc]
call fcn.004052f0
lea eax, [ebp - 4]
call fcn.004052f0
ret
Function at 0x813308
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x81337c
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x813390]
mov byte [ebp - 1], al
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetKeyboardState
test byte [ebp - 0xf0], 0x80
je 0x81334a
mov al, byte [0x813394]
or al, byte [ebp - 1]
mov byte [ebp - 1], al
test byte [ebp - 0xf1], 0x80
je 0x81335e
mov al, byte [0x813398]
or al, byte [ebp - 1]
mov byte [ebp - 1], al
test byte [ebp - 0xef], 0x80
je 0x813372
mov al, byte [0x81339c]
or al, byte [ebp - 1]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x813386
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x8133a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x8134c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x8134a5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x813494
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404bbc
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x813473
dec esi
jne 0x813410
lea eax, [ebp - 8]
push eax
push 7
mov eax, dword [0x83fa38]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x813426
lea eax, [ebp - 8]
push eax
push 0x18
mov eax, dword [0x83fa38]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, ebx
mov edx, 0x104
call fcn.00405208
mov eax, dword [ebx]
call fcn.0040507c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
jne 0x81345d
mov ecx, 0x8134dc
mov dl, 1
mov eax, dword [0x409ea0]
call fcn.0040f8d0
call fcn.0040457c
mov eax, dword [ebx]
call fcn.0040507c
push eax
call sub.kernel32.dll_lstrlenA_1
mov edx, eax
mov eax, ebx
call fcn.00405208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x81349b
cmp dword [ebp - 8], 0
je 0x813493
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret