joyce8/EMBER2024-capa huggingface dataset:
Function at 0x572d04
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x572df3
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 0x572d41
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x104
jle 0x572d67
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x572e10
call fcn.00407f54
mov eax, dword [ebp - 0x20]
call fcn.00407ce8
mov dword [ebp - 0x10], eax
jmp 0x572d72
mov eax, dword [ebp - 4]
call fcn.00407ce8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x572d89
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x104
jle 0x572daf
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov edx, 0x572e10
call fcn.00407f54
mov eax, dword [ebp - 0x24]
call fcn.00407ce8
mov dword [ebp - 0x18], eax
jmp 0x572dba
mov eax, dword [ebp - 8]
call fcn.00407ce8
mov dword [ebp - 0x18], eax
cmp byte [ebp - 9], 1
cmc
sbb eax, eax
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
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 0x572dfa
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00406eec
ret

Function at 0x572e1c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x572ea8
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 0x572e4f
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x104
jle 0x572e75
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x572ec4
call fcn.00407f54
mov eax, dword [ebp - 0x14]
call fcn.00407ce8
mov dword [ebp - 0xc], eax
jmp 0x572e80
mov eax, dword [ebp - 4]
call fcn.00407ce8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
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 0x572eaf
lea eax, [ebp - 0x14]
call fcn.00406e8c
ret
Function at 0x572ed0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x572f5c
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 0x572f03
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x104
jle 0x572f29
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x572f78
call fcn.00407f54
mov eax, dword [ebp - 0x14]
call fcn.00407ce8
mov dword [ebp - 0xc], eax
jmp 0x572f34
mov eax, dword [ebp - 4]
call fcn.00407ce8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
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 0x572f63
lea eax, [ebp - 0x14]
call fcn.00406e8c
ret

Function at 0x57312c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57320f
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 0x573165
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x104
jle 0x57318b
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x57322c
call fcn.00407f54
mov eax, dword [ebp - 0x20]
call fcn.00407ce8
mov dword [ebp - 0x10], eax
jmp 0x573196
mov eax, dword [ebp - 4]
call fcn.00407ce8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5731ad
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x104
jle 0x5731d3
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov edx, 0x57322c
call fcn.00407f54
mov eax, dword [ebp - 0x24]
call fcn.00407ce8
mov dword [ebp - 0x18], eax
jmp 0x5731de
mov eax, dword [ebp - 8]
call fcn.00407ce8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
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 0x573216
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00406eec
ret

Function at 0x575488
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 0x5754c4
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.00407da4
jmp 0x5754d4
mov eax, dword [ebp - 4]
mov edx, dword [0x5ed584]
mov edx, dword [edx]
call fcn.0040726c
mov esp, ebp
pop ebp
ret
Function at 0x596750
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [0x5ed6fc]
cmp eax, dword [edx]
je 0x596789
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete al
neg al
sbb eax, eax
mov dword [ebp - 0xc], eax
jmp 0x596889
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x5ed124]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 8], 0
jbe 0x596889
mov eax, dword [ebp - 8]
xor edx, edx
cmp edx, 0
jne 0x5967c1
cmp eax, 0x64
jbe 0x5967d3
jmp 0x5967c3
jle 0x5967d3
mov dword [ebp - 0x28], 0x64
mov dword [ebp - 0x24], 0
jmp 0x5967de
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push 0x40
mov eax, dword [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 2
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 0xffffffff
je 0x596889
dec eax
je 0x596805
dec eax
je 0x59680e
dec eax
je 0x596817
jmp 0x596828
mov dword [ebp - 0xc], 0xffffffff
jmp 0x596889
xor eax, eax
call fcn.0049cda0
jmp 0x596828
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_PeekMessageW
cmp dword [ebp - 8], 0xffffffff
je 0x59687f
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x596854
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x596868
jmp 0x596858
pop edx
pop eax
jle 0x596868
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
jmp 0x596873
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 8], 0
ja 0x5967b0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x59694c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049d980
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_ResumeThread
pop ecx
pop ebp
ret
Function at 0x598df0
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 0x598e84
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040a888
mov ecx, eax
mov edx, 0x598e90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00425df8
test al, al
je 0x598e6e
xor eax, eax
push ebp
push 0x598e67
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 0x598e6e
lea eax, [ebp - 8]
call fcn.0040a888
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x598e8b
lea eax, [ebp - 8]
call fcn.0040a888
ret

Function at 0x59be2c
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 0x59beb0
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 0x59be8f
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00407da4
mov eax, dword [ebp - 0x218]
mov edx, dword [ebp - 8]
call fcn.005725f8
jmp 0x59be97
mov eax, dword [ebp - 8]
call fcn.0057243c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59beb7
lea eax, [ebp - 0x218]
call fcn.00406e8c
ret

Function at 0x59c10c
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 0x59c14c
mov eax, dword [ebp - 8]
call fcn.00407ce8
push eax
mov eax, dword [ebp - 4]
call fcn.00407ce8
push eax
push 0x59c150
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 0x5b86b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x5b86dc
mov dword [ebp + 8], 0x5ec730
mov eax, dword [ebp - 8]
test eax, eax
jbe 0x5b871c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x10]
shr eax, 0x18
and eax, 0xff
mov edx, dword [ebp - 0x14]
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 - 0x14]
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x5b86ed
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x5b8728
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x5c
call fcn.00404e34
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 ecx
pop ebp
ret
Function at 0x5b9aac
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 0x5b9ad6
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 0x5b9ac2
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x5b9bc4
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 0x5b9bf7
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 0x5b9bd9
mov esp, ebp
pop ebp
ret

Function at 0x5bcbe8
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]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00407ce8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
call fcn.005bcbd0
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 4

Function at 0x5bcc28
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]
call fcn.00407ce8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
call fcn.005bcbd0
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 4

Function at 0x5bcc68
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.00407ce8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyW
call fcn.005bcbd0
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x5bcc98
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5bcdeb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x5bccc9
cmp dword [ebp - 4], 0
jne 0x5bcccd
xor eax, eax
jmp 0x5bcccf
mov al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x5bcdd2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005bd004
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jbe 0x5bcdd2
xor eax, eax
push ebp
push 0x5bcdbd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegQueryInfoKeyW
call fcn.005bcbd0
test al, al
je 0x5bcda7
mov eax, dword [ebp - 0x10]
dec eax
cmp eax, 0
jl 0x5bcda7
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0x40
lea eax, [ebp - 0xa0]
xor ecx, ecx
mov edx, 0x80
call fcn.00404e34
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x5bcd9e
lea eax, [ebp - 0xa4]
lea edx, [ebp - 0xa0]
mov ecx, 0x40
call fcn.00407da4
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x1c]
call fcn.005bcc98
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x5bcd38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bcdc4
mov eax, dword [ebp - 0x1c]
call fcn.005bcea0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bcdf2
lea eax, [ebp - 0xa4]
call fcn.00406e8c
ret

Function at 0x5bcdfc
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
cmp dword [ebp - 4], 0
setne byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x5bce3d
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.00407ce8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
call fcn.005bcbd0
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x5bce44
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 0x5bce96
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00407ce8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
call fcn.005bcbd0
test al, al
je 0x5bce91
cmp dword [ebp - 0x10], 4
je 0x5bce96
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x5bcebc
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 0x5bcf1e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5bcef0
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.00407ce8
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00407ce8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
call fcn.005bcbd0
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x5bd900
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.00407ce8
push eax
call sub.kernel32.dll_MoveFileExW
pop ecx
pop ebp
ret

Function at 0x5bd91c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.00404e34
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00407ce8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x5bd97b
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0x1f4
call sub.kernel32.dll_Sleep_2
mov esp, ebp
pop ebp
ret
Function at 0x5bf378
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 0x5bf476
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.00575488
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0056f67c
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 0x5bf45b
xor eax, eax
push ebp
push 0x5bf454
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.005704f8
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x5bf435
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.00407d50
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0056f67c
add dword [ebp - 0x18], 0x10
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x5bf40d
mov eax, dword [ebp - 4]
call fcn.0056ff7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bf45b
mov eax, dword [ebp - 0xc]
push eax
call sub.NetApi32.dll_NetApiBufferFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bf47d
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00406eec
ret
Function at 0x5c2860
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c29ea
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407d50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x10]
mov edx, 0x5c2a04
call fcn.005ba5dc
test al, al
je 0x5c28bb
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 1
mov eax, dword [ebp - 4]
mov dl, byte [0x5c2a20]
mov byte [eax + 0x31], dl
jmp 0x5c29c2
lea eax, [ebp - 0xc]
call fcn.00406e8c
mov ecx, eax
mov edx, 0x5c2a30
mov eax, dword [ebp - 8]
call fcn.005826d4
test al, al
je 0x5c2997
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov dl, byte [0x5c2a3c]
mov byte [eax + 0x31], dl
cmp dword [ebp - 0xc], 0
jne 0x5c2900
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005c2e6c
mov edx, 0x5c2a4c
mov eax, dword [ebp - 8]
call fcn.00582610
test al, al
je 0x5c2965
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx + 8]
test al, al
jne 0x5c29c2
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005c61cc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, 0x5c2a68
mov dl, 1
mov eax, dword [0x4189ac]
call fcn.00423f1c
call fcn.00406588
jmp 0x5c29c2
mov edx, 0x5c2ab0
mov eax, dword [ebp - 8]
call fcn.00582610
test al, al
je 0x5c297d
mov eax, dword [ebp - 4]
or byte [eax + 0x31], 2
mov edx, 0x5c2ad0
mov eax, dword [ebp - 8]
call fcn.00582610
test al, al
je 0x5c29c2
mov eax, dword [ebp - 4]
or byte [eax + 0x31], 8
jmp 0x5c29c2
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov dl, byte [0x5c2ae0]
mov byte [eax + 0x31], dl
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.005c2e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c29f1
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00406eec
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00406eec
ret
Function at 0x5c6c18
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c6d1a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004079a0
mov eax, dword [ebp - 0x18]
call fcn.004078b0
push eax
call sub.wsock32.dll_inet_addr
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jne 0x5c6cf5
cmp dword [0x603428], 0
jne 0x5c6c83
mov dl, 1
mov eax, dword [0x56dfb8]
call fcn.004052a4
mov dword [0x603428], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x603428]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x5c6cad
mov edx, dword [ebp - 0x14]
mov eax, dword [0x603428]
call fcn.005703bc
mov edx, dword [ebp - 8]
mov dword [edx], eax
jmp 0x5c6cf5
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004079a0
mov eax, dword [ebp - 0x1c]
call fcn.004078b0
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5c6cf5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 4]
mov eax, dword [0x603428]
call fcn.0056f6f4
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
setne byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c6d21
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00406f1c
ret