joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59ff40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a4eb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_ResumeThread
pop ecx
pop ebp
ret

Function at 0x5a0808
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x5a082a
mov dword [ebp + 8], 0x67f49c
mov eax, dword [ebp - 8]
test eax, eax
jbe 0x5a086a
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
shr eax, 0x18
and eax, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
xor eax, edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x10]
shl edx, 8
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 4]
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x5a083b
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x5a08e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp byte [ebp - 9], 0
je 0x5a0946
cmp dword [ebp - 8], 0x40
jge 0x5a090e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
jmp 0x5a0915
mov dword [ebp - 0x18], 0x40
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x200
push 0
call sub.kernel32.dll_LCMapStringW
mov dword [ebp - 8], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
jle 0x5a098b
mov eax, dword [ebp - 0x10]
shl eax, 4
mov edx, dword [ebp - 4]
movzx edx, word [edx]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 0xf0000000
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
not eax
and dword [ebp - 0x10], eax
dec dword [ebp - 8]
add dword [ebp - 4], 2
cmp dword [ebp - 8], 0
jg 0x5a0951
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x5a0994
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x5c
call fcn.00406e3c
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret
Function at 0x5b1b2c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x5b1b35
mov eax, dword [ebp - 4]
add esp, 0xfffffffc
xor edx, edx
mov dword [ebp - 0x10008], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b1bb6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10002]
push eax
push 0x7fff
call sub.kernel32.dll_GetCurrentDirectoryW
mov ecx, eax
lea edx, [ebp - 0x10002]
mov eax, dword [ebp - 4]
call fcn.0040901c
lea edx, [ebp - 0x10008]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005b1bc4
mov edx, dword [ebp - 0x10008]
mov eax, dword [ebp - 4]
call fcn.00409274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b1bbd
lea eax, [ebp - 0x10008]
call fcn.00408e94
ret

Function at 0x5b1d88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b1e03
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20e]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathW
test eax, eax
jbe 0x5b1de5
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00409da8
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 4]
call fcn.005b1bc4
jmp 0x5b1dea
call fcn.00426d44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b1e0a
lea eax, [ebp - 0x214]
call fcn.00408e94
ret

Function at 0x5b1e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b1e9a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x212]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00409cec
push eax
lea eax, [ebp - 0x218]
call fcn.005b1d88
mov eax, dword [ebp - 0x218]
call fcn.00409cec
push eax
call sub.kernel32.dll_GetTempFileNameW
test eax, eax
jbe 0x5b1e7c
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00409da8
jmp 0x5b1e81
call fcn.00426d44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b1ea1
lea eax, [ebp - 0x218]
call fcn.00408e94
ret

Function at 0x5b1ea8
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409cec
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x5b2064
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b212b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 4], 0
je 0x5b2115
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5b210e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5b20c0
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x104
jl 0x5b20db
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x5b2148
call fcn.00409f58
jmp 0x5b20e6
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004092bc
mov eax, dword [ebp - 0x10]
call fcn.00409cec
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2115
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2132
lea eax, [ebp - 0x10]
call fcn.00408e94
ret

Function at 0x5b2180
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b220d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5b21b6
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x104
jl 0x5b21d1
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x5b2228
call fcn.00409f58
jmp 0x5b21dc
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004092bc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409cec
push eax
call sub.kernel32.dll_SetFileAttributesW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2214
lea eax, [ebp - 0x10]
call fcn.00408e94
ret
Function at 0x5b2520
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b2606
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5b255d
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x104
jl 0x5b2578
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x5b2624
call fcn.00409f58
jmp 0x5b2583
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004092bc
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5b259a
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x104
jl 0x5b25b5
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, 0x5b263c
call fcn.00409f58
jmp 0x5b25c0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.004092bc
cmp byte [ebp - 9], 1
cmc
sbb eax, eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.00409cec
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409cec
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b260d
lea eax, [ebp - 0x18]
call fcn.00408e94
lea eax, [ebp - 0x10]
call fcn.00408e94
ret

Function at 0x5b2648
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b26ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5b267b
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x104
jl 0x5b2696
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x5b26e8
call fcn.00409f58
jmp 0x5b26a1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004092bc
mov eax, dword [ebp - 0xc]
call fcn.00409cec
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b26d5
lea eax, [ebp - 0xc]
call fcn.00408e94
ret
Function at 0x5b26f4
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b277a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5b2727
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x104
jl 0x5b2742
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x5b2794
call fcn.00409f58
jmp 0x5b274d
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004092bc
mov eax, dword [ebp - 0xc]
call fcn.00409cec
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2781
lea eax, [ebp - 0xc]
call fcn.00408e94
ret

Function at 0x5b2948
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b2a22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5b2981
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x104
jl 0x5b299c
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x5b2a3c
call fcn.00409f58
jmp 0x5b29a7
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004092bc
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5b29be
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x104
jl 0x5b29d9
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, 0x5b2a54
call fcn.00409f58
jmp 0x5b29e4
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.004092bc
mov eax, dword [ebp - 0x18]
call fcn.00409cec
push eax
mov eax, dword [ebp - 0x10]
call fcn.00409cec
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2a29
lea eax, [ebp - 0x18]
call fcn.00408e94
lea eax, [ebp - 0x10]
call fcn.00408e94
ret

Function at 0x5b37c8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x14], 0
je 0x5b3804
mov eax, dword [ebp - 0x14]
xor edx, edx
mov edx, eax
xor eax, eax
or eax, dword [ebp - 0x10]
or edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x5b3f28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
Function at 0x5b3f68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
clc

Function at 0x5b3fa8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00409cec
push eax

Function at 0x5b3fd8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c

Function at 0x5b4138
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cld
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x5b4180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x5b41d2
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
inc ebp
hlt
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00409cec
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
call fcn.005b3f10
test al, al
je 0x5b41cd
cmp dword [ebp - 0x10], 4
je 0x5b41d2
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x5b41f8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
setne byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x5b425a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5b422c
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00409cec
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00409cec
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
call fcn.005b3f10
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x5b4964
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b49e8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x212]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x5b49c7
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00409da8
mov eax, dword [ebp - 0x218]
mov edx, dword [ebp - 8]
call fcn.005b1bc4
jmp 0x5b49cf
mov eax, dword [ebp - 8]
call fcn.005b1d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b49ef
lea eax, [ebp - 0x218]
call fcn.00408e94
ret
Function at 0x5b4c78
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 5
push 0x5b4cb8
mov eax, dword [ebp - 8]
call fcn.00409cec
push eax
mov eax, dword [ebp - 4]
call fcn.00409cec
push eax
push 0x5b4cbc
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
setae byte [ebp - 9]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x5b4d90
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
lea eax, [ebp - 0x2b8]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00406e3c
push 0x4011
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x5b4dd4
call sub.shell32.dll_SHGetFileInfoW
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x5b5344
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
mov dword [ebp - 4], eax
push 0x4009
push 0x2b4
lea eax, [ebp - 0x2bc]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x5b599c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004e340c
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x5b62e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ax, word [0x5b6364]
mov word [ebp - 2], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b6307
or word [ebp - 2], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b6318
or word [ebp - 2], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b6329
or word [ebp - 2], 2
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b633a
or word [ebp - 2], 8
push 4
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b634b
or word [ebp - 2], 0x20
push 2
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b635c
or word [ebp - 2], 0x10
mov ax, word [ebp - 2]
pop ecx
pop ebp
ret

Function at 0x5b63ec
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x5b6428
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.00409da8
jmp 0x5b6438
mov eax, dword [ebp - 4]
mov edx, dword [0x6805c0]
mov edx, dword [edx]
call fcn.00409274
mov esp, ebp
pop ebp
ret
Function at 0x5b64d8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
call fcn.00409df8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00409a84
push eax
push 0
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5b653c
push 0x1388
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.user32.dll_WaitForInputIdle
cmp eax, 0x102
jne 0x5b6540
xor eax, eax
jmp 0x5b6542
mov al, 1
neg al
sbb eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x625de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x625e74
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040c810
mov ecx, eax
mov edx, 0x625e80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004272f8
test al, al
je 0x625e5e
xor eax, eax
push ebp
push 0x625e57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x625e5e
lea eax, [ebp - 8]
call fcn.0040c810
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x625e7b
lea eax, [ebp - 8]
call fcn.0040c810
ret

Function at 0x6518e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
cmp dword [ebp - 8], 0
jle 0x65190a
mov eax, dword [ebp - 4]
mov al, byte [eax]
xor byte [ebp - 9], al
dec dword [ebp - 8]
inc dword [ebp - 4]
cmp dword [ebp - 8], 0
jg 0x6518f6
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x6519f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jle 0x651a2b
mov al, 0xff
mov edx, dword [ebp - 8]
sub al, byte [edx]
mov edx, dword [ebp - 4]
xor al, byte [edx + 4]
mov edx, dword [ebp - 8]
mov byte [edx], al
dec dword [ebp - 0xc]
inc dword [ebp - 8]
cmp dword [ebp - 0xc], 0
jg 0x651a0d
mov esp, ebp
pop ebp
ret

Function at 0x6574a8
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.00409cec
push eax
call sub.kernel32.dll_MoveFileExW
pop ecx
pop ebp
ret
Function at 0x65887c
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x65897a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0x24]
call fcn.005b63ec
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005a8580
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffff
lea eax, [ebp - 0xc]
push eax
push 2
push 0xa
push 0
call sub.NetApi32.dll_NetUserEnum
test eax, eax
jne 0x65895f
xor eax, eax
push ebp
push 0x658958
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005a9380
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x658939
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
call fcn.00409d54
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005a8580
add dword [ebp - 0x18], 0x10
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x658911
mov eax, dword [ebp - 4]
call fcn.005a8bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65895f
mov eax, dword [ebp - 0xc]
push eax
call sub.NetApi32.dll_NetApiBufferFree_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x658981
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00408ef4
ret