joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b45d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cce51
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3c
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x90], 0x3c
mov ecx, dword [ebp + 0x10]
call fcn.00403f32
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x8c], 0x440
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00408747
lea eax, [ebp - 0x40]
push eax
call fcn.005ad700
add esp, 0x1c
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
push 0x5f8528
lea ecx, [ebp - 0x28]
call fcn.0040921d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00446fa6
push 0x5f8560
lea ecx, [ebp - 0x28]
call fcn.00409b61
lea ecx, [ebp - 0x28]
call fcn.00403f32
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x14]
call fcn.00403f32
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x5b46fd
mov byte [ebp - 0x41], 1
cmp dword [ebp + 0xc], 0
je 0x5b46e6
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5b46e2
mov byte [ebp - 0x41], 0
jmp 0x5b46e6
mov byte [ebp - 0x41], 1
cmp dword [ebp - 0x48], 0
je 0x5b46fd
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], 0
movzx ecx, byte [ebp - 0x41]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403fae
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542347
mov esp, ebp
pop ebp
ret
Function at 0x5b55e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x637280], 0
je 0x5b5603
mov eax, dword [0x637280]
jmp 0x5b56f8
mov dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x28]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x5b564a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x5b5640
mov dword [0x637280], 1
mov eax, dword [0x637280]
jmp 0x5b56f8
mov eax, dword [0x637280]
jmp 0x5b56f8
lea ecx, [ebp - 0x34]
push ecx
push 0x5f8740
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x5b5673
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x637280]
jmp 0x5b56f8
push 0x10
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + edx - 0x10], eax
mov dword [ebp + edx - 0xc], ecx
mov edx, 0xc
imul eax, edx, 0
mov dword [ebp + eax - 8], VariantCopy
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x5b56df
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x637280]
jmp 0x5b56f8
mov dword [0x637280], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x637280]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542347
mov esp, ebp
pop ebp
ret
Function at 0x5b7830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd628
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x78]
call fcn.004c4640
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x78]
call fcn.004c62e0
lea ecx, [ebp - 0x78]
call fcn.004c6530
mov dword [eax], 1
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005b81d0
add esp, 8
test eax, eax
jne 0x5b78c0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004c46c0
mov eax, dword [ebp - 0xc0]
jmp 0x5b7996
lea ecx, [ebp - 0xb8]
call fcn.004c4670
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004065d3
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0xa0]
call fcn.004065d3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x78]
call fcn.004c6530
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], edx
push 0
push 0
lea eax, [ebp - 0xb8]
push eax
push 0x5b79b0
push 0
push 0
call fcn.00577219
add esp, 0x18
mov dword [ebp - 0xbc], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x5b7969
push 0
mov eax, dword [ebp - 0x7c]
push eax
push 0xd
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax]
call edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004c46e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004c46c0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542347
mov esp, ebp
pop ebp
ret
Function at 0x5badc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdae1
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d0], ecx
lea ecx, [ebp - 0x4cc]
call fcn.004c7ab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.004bdcc0
mov byte [ebp - 4], 1
push 0x5f92dc
lea ecx, [ebp - 0x28]
call fcn.0040921d
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x4d0]
add ecx, 4
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.005ad1b0
add esp, 0xc
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4d8]
call fcn.00403f32
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004bdee0
mov dword [ebp - 0x4dc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00403fae
cmp dword [ebp - 0x4dc], 0
je 0x5baf3b
lea ecx, [ebp - 0x4bc]
call fcn.004bde30
test eax, eax
jne 0x5baf28
lea ecx, [ebp - 0x4bc]
call fcn.004bdec0
test eax, eax
jne 0x5baf28
lea ecx, [ebp - 0x4e8]
push ecx
lea ecx, [ebp - 0x4bc]
call fcn.004c78f0
mov dword [ebp - 0x4e0], eax
mov edx, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e4], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4e4]
call fcn.0041f757
push eax
lea ecx, [ebp - 0x40]
call fcn.0040921d
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4f0]
push ecx
lea ecx, [ebp - 0x4cc]
call fcn.004c8030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4e8]
call fcn.0040b035
lea ecx, [ebp - 0x4bc]
call fcn.004be040
test eax, eax
jne 0x5bae95
lea edx, [ebp - 0x4c4]
push edx
lea ecx, [ebp - 0x4cc]
call fcn.004c7af0
mov dword [ebp - 0x4c0], 0
jmp 0x5baf68
mov eax, dword [ebp - 0x4c0]
add eax, 1
mov dword [ebp - 0x4c0], eax
lea ecx, [ebp - 0x4cc]
call fcn.004c7ad0
sub eax, 5
cmp dword [ebp - 0x4c0], eax
jge 0x5bafa4
lea ecx, [ebp - 0x4c4]
call fcn.004c7a90
mov ecx, eax
call fcn.00403f32
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4c4]
call fcn.004c7a70
jmp 0x5baf59
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.004bdd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4cc]
call fcn.004c7a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542347
mov esp, ebp
pop ebp
ret
Function at 0x5bbee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x5bbf00
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x1c
call fcn.004107c0
jmp 0x5bbf07
xor al, al
jmp 0x5bc010
cmp dword [ebp + 0xc], 0
je 0x5bbf13
cmp dword [ebp + 0x10], 0
jne 0x5bbf1a
xor al, al
jmp 0x5bc010
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5bbf2f
xor al, al
jmp 0x5bc010
mov ecx, dword [ebp - 4]
call fcn.004c9530
movzx edx, al
test edx, edx
je 0x5bbf54
mov ecx, dword [ebp - 4]
call fcn.005bbe90
movzx eax, al
test eax, eax
jne 0x5bbf54
xor al, al
jmp 0x5bc010
mov ecx, dword [ebp - 4]
call fcn.004c9560
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 0x34
call fcn.004c9480
push eax
push 0x5e2be0
push 0x5e2ba0
mov ecx, dword [ebp - 4]
add ecx, 0x1c
call fcn.00403f32
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x5bbfaa
mov ecx, dword [ebp - 4]
add ecx, 0x34
call fcn.004c9440
movzx edx, al
test edx, edx
je 0x5bbfae
xor al, al
jmp 0x5bc010
mov ecx, dword [ebp - 4]
add ecx, 0x34
call fcn.004c9470
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x80]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x5bbfde
xor al, al
jmp 0x5bc010
mov ecx, dword [ebp - 4]
add ecx, 0x34
call fcn.004c9470
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x5bc00e
xor al, al
jmp 0x5bc010
mov al, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5bc130
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x5bc19a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x5bc19a
mov edx, dword [ebp - 0xc]
shl edx, 1
push edx
call fcn.0056728d
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5bc184
xor al, al
jmp 0x5bc1d4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x5bc19a
jmp 0x5bc1bf
cmp dword [ebp - 8], 0
je 0x5bc1bf
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005bb6a0
add esp, 0x14
mov byte [ebp - 1], al
cmp dword [ebp - 8], 0
je 0x5bc1d1
mov ecx, dword [ebp - 8]
push ecx
call fcn.00553d2a
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x561aa8
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404d24
xor eax, eax
push ebp
push 0x561bc6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x561b99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d34
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x561b76
test byte [ebp - 0x14c], 0x10
jne 0x561b59
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404ad0
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00409650
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x561b1c
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x561b82
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561ba0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x566734
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x566742
je 0x566747
jmp 0x56676c
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x566767
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x598394]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x56a444
Capabilities:
Get hostname

Disassembly:
add esp, 0xfffffefc
lea eax, [esp + 4]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004031e8
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, 0x59b298
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
add esp, 0x104
ret
Function at 0x56c454
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x58], eax
xor eax, eax
push ebp
push 0x56c5b7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x44
call fcn.004031e8
mov dword [ebp - 0x44], 0x44
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 3]
mov ecx, dword [eax*4 + 0x597cd0]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [ebp - 0x58]
call fcn.00404b88
mov eax, dword [ebp - 0x58]
call fcn.00404d34
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00404d34
push eax
call sub.kernel32.dll_CreateProcessA
call fcn.004102b8
mov ebx, eax
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x56c544
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 3]
mov ecx, dword [eax*4 + 0x597cd0]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [ebp - 0x68]
call fcn.00404b88
mov eax, dword [ebp - 0x68]
call fcn.00404d34
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 6
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x56c5cc
call fcn.0040b344
mov eax, dword [ebp - 0x5c]
call fcn.0056bc04
pop ecx
jmp 0x56c58f
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 3]
mov ecx, dword [eax*4 + 0x597cd0]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [ebp - 0x70]
call fcn.00404b88
mov eax, dword [ebp - 0x70]
call fcn.00404d34
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 6
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x56c5ec
call fcn.0040b344
mov eax, dword [ebp - 0x6c]
call fcn.0056bc04
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c5be
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0040488c
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0040488c
ret
Function at 0x56c854
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x56c9c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004031e8
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], si
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004094b0
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x56c9e0
call fcn.00404e78
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404d94
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0040a798
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 4]
call fcn.00404900
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d34
mov esi, eax
push esi
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, ebx
call fcn.00404d34
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x56c928
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_WaitForInputIdle
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x56c9a6
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x60]
mov eax, ebx
call fcn.0040a988
mov eax, dword [ebp - 0x60]
call fcn.00404d34
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x56c971
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_WaitForInputIdle
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x56c9a6
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x68]
call fcn.00409d24
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x56c9f0
call fcn.00404b88
mov ecx, dword [ebp - 0x64]
mov dl, 1
mov eax, dword [0x4087f8]
call fcn.0040e748
call fcn.00404204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c9d0
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.0040488c
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x56d738
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d24
xor eax, eax
push ebp
push 0x56d877
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x10], 0
jne 0x56d85c
mov eax, dword [ebp - 4]
call fcn.0040a33c
test al, al
jne 0x56d85c
lea eax, [ebp - 0xc]
mov ecx, 0x56d890
mov edx, dword [ebp - 4]
call fcn.00404b88
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 8]
mov eax, ebx
call fcn.0056b5c0
cmp dword [ebp - 8], 0
je 0x56d7df
push 0x56d89c
push dword [ebp - 8]
push 0x56d8ac
push 0x56d8b8
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00409cec
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00404bfc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x84]
call fcn.0042435c
mov eax, dword [ebp - 4]
call fcn.0040a374
mov eax, dword [ebp - 4]
call fcn.0040a33c
test al, al
jne 0x56d836
mov al, byte [0x56d8cc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x56d8d8
mov edx, 0x56d8fc
mov eax, ebx
call fcn.005710f4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x56d918
call fcn.00410070
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x4087f8]
call fcn.0040e748
call fcn.00404204
mov ebx, 0x10
cmp byte [ebp + 0xc], 0
je 0x56d844
or ebx, 1
cmp byte [ebp + 8], 0
je 0x56d84d
or ebx, 2
push ebx
mov eax, dword [ebp - 4]
call fcn.00404d34
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d87e
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040488c
ret

Function at 0x56fd90
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x56fe21
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
push 0xf01ff
push 0x56fe2c
push eax
call sub.advapi32.dll_OpenServiceA
xor edx, edx
mov dword [ebp - 4], edx
test eax, eax
je 0x56fdde
lea edx, [ebp - 4]
push edx
push 0
push eax
call sub.advapi32.dll_StartServiceA
jmp 0x56fe0b
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, 0x56fe40
mov edx, 0x56fe60
call fcn.005710f4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4087f8]
call fcn.0040e748
call fcn.00404204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56fe28
lea eax, [ebp - 8]
call fcn.00404868
ret
Function at 0x573b68
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x573c31
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x59b244]
push 0x573c48
lea eax, [ebp - 0xc]
call fcn.0056bb6c
push dword [ebp - 0xc]
push 0x573c54
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404bfc
push 0
mov eax, dword [ebp - 4]
call fcn.00404d34
mov ebx, eax
push ebx
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402c28
mov eax, dword [ebp - 0x10]
call fcn.00404d34
push eax
call sub.kernel32.dll_CopyFileA
mov edx, 0x573c64
mov eax, dword [ebp - 4]
call fcn.00576688
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00409d24
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 0x573c70
call fcn.00404b88
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
push ebx
push 0x573c74
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x573c38
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040488c
ret

Function at 0x573cec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d24
mov eax, dword [ebp + 0xc]
call fcn.00404d24
xor eax, eax
push ebp
push 0x573e04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
cmp word [eax + 0x42], 0
je 0x573d65
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov ecx, 0x573e1c
mov edx, 0x573e30
call fcn.00576040
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404b44
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax - 4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
cmp byte [ebp + 8], 0
je 0x573d6f
xor ebx, ebx
jmp 0x573d74
mov ebx, 1
sub esi, 1
jb 0x573d80
je 0x573db5
dec esi
je 0x573dd9
jmp 0x573de1
push ebx
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a798
mov eax, dword [ebp - 0xc]
call fcn.00404d34
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
call fcn.00404d34
push eax
push 0x573e3c
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x573de1
push dword [ebp - 4]
push 0x573e4c
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404bfc
mov eax, dword [ebp - 0x10]
mov edx, ebx
call fcn.0056c854
jmp 0x573de1
mov eax, dword [ebp - 4]
call fcn.0040a6b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x573e0b
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040488c
lea eax, [ebp + 0xc]
call fcn.00404868
ret