joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57498c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406e54
xor eax, eax
push ebp
push 0x574b57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov dword [ebp - 0x10], 5
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00407ce8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407b54
push eax
mov eax, dword [ebp - 4]
call fcn.00407b54
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
jne 0x574a90
call sub.kernel32.dll_GetLastError_3
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xea
jne 0x574a44
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00407ce8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407b54
push eax
mov eax, dword [ebp - 4]
call fcn.00407b54
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x574a44
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jbe 0x574a90
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.0053f540
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0x11
lea edx, [ebp - 0x3c]
mov ecx, 1
mov eax, 0x574b70
call fcn.004230e0
mov eax, dword [ebp - 0x2c]
call fcn.0053f35c
jmp 0x574b1c
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0xc]
call fcn.0040731c
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*2 - 2]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00407bbc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x574acb
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
inc eax
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x574ae9
mov eax, dword [ebp - 0x28]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x574b05
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
call fcn.005400f0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00407260
cmp eax, dword [ebp - 0x1c]
jle 0x574b1c
cmp dword [ebp - 0x14], 0
jne 0x574a97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574b5e
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00406dd0
lea eax, [ebp - 0x2c]
call fcn.00406d70
lea eax, [ebp - 0x14]
call fcn.00406d70
lea eax, [ebp - 0xc]
call fcn.00406d70
lea eax, [ebp - 4]
call fcn.00406d70
ret
Function at 0x574bf8
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x574d17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00407ce8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407b54
push eax
call sub.kernel32.dll_FindFirstVolumeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x574c55
cmp dword [ebp - 0x14], 0xffffffff
jne 0x574c62
call sub.kernel32.dll_GetLastError_3
mov dword [ebp - 8], eax
jmp 0x574cf4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
call fcn.00407b54
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00407bbc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00407ce8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407b54
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindNextVolumeW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x574cd5
call sub.kernel32.dll_GetLastError_3
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x12
jne 0x574ccd
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindVolumeClose
jmp 0x574cf4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
jmp 0x574cf4
mov eax, dword [ebp - 0xc]
call fcn.00407b54
mov edx, eax
lea eax, [ebp - 0x24]
call fcn.00407bbc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x574c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574d1e
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00406dd0
lea eax, [ebp - 0xc]
call fcn.00406d70
ret
Function at 0x574d28
Capabilities:
Get disk information

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
mov eax, dword [ebp - 4]
call fcn.00406e54
xor eax, eax
push ebp
push 0x574e4d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, 0x574e64
call fcn.0053ff8c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00407198
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, 0x574e74
call fcn.00540040
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00407198
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x574d9f
mov eax, dword [ebp - 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x574ddd
mov eax, 0x574e80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ax, word [eax]
mov edx, dword [ebp - 0x10]
cmp ax, 0xff
ja 0x574dc4
and eax, 0xff
bt dword [edx], eax
setb al
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x574ddd
lea eax, [ebp - 4]
mov edx, 0x574eac
call fcn.00407d68
mov eax, dword [ebp - 8]
mov edx, 0x104
call fcn.00407ce8
push 0x104
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00407b54
push eax
mov eax, dword [ebp - 4]
call fcn.00407b54
push eax
call sub.kernel32.dll_QueryDosDeviceW_1
test eax, eax
je 0x574e22
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00407b54
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00407bbc
jmp 0x574e2a
mov eax, dword [ebp - 8]
call fcn.00406d70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574e54
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00406dd0
lea eax, [ebp - 4]
call fcn.00406d70
ret

Function at 0x574eb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406e54
xor eax, eax
push ebp
push 0x574f58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x104
call fcn.00407ce8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00540670
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00407198
push 0x104
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00407b54
push eax
mov eax, dword [ebp - 4]
call fcn.00407b54
push eax
call sub.kernel32.dll_GetVolumeNameForVolumeMountPointW
test eax, eax
je 0x574f32
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00407b54
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00407bbc
jmp 0x574f3a
mov eax, dword [ebp - 8]
call fcn.00406d70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574f5f
lea eax, [ebp - 0xc]
call fcn.00406d70
lea eax, [ebp - 4]
call fcn.00406d70
ret
Function at 0x5767bc
Capabilities:
Create service
Start service

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 - 0xc]
call fcn.00406e54
mov eax, dword [ebp + 8]
call fcn.00406e54
xor eax, eax
push ebp
push 0x5768d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x5768f4
call fcn.00575d64
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
call fcn.00407b54
push eax
push 1
push 3
push 1
push 0xf01ff
mov eax, dword [ebp - 0xc]
call fcn.00407b54
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407b54
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x576850
mov ecx, 0x576948
mov dl, 1
mov eax, dword [0x575e08]
call fcn.00577544
call fcn.00406448
xor eax, eax
push ebp
push 0x5768b3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_StartServiceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x576890
mov ecx, 0x5769c0
mov dl, 1
mov eax, dword [0x575e08]
call fcn.00577544
call fcn.00406448
xor edx, edx
mov eax, 0x5769f8
call fcn.00575d64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5768ba
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x576dc4
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x576fcb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x576fe8
call fcn.00575d64
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 8], eax
mov ecx, 0x577030
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00576324
xor eax, eax
push ebp
push 0x576fa1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407b54
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x576f32
xor eax, eax
push ebp
push 0x576f2b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x422
jne 0x576eff
xor edx, edx
mov eax, 0x577084
call fcn.00575d64
xor eax, eax
push ebp
push 0x576eb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0057722c
xor edx, edx
mov eax, 0x57710c
call fcn.00575d64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x576eff
cmp byte [ebp - 0x11], 0
je 0x576f14
call fcn.0040653c
call fcn.0040653c
jmp 0x576fa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576f32
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
call fcn.00576708
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.004220b0
test al, al
jne 0x576f75
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov edx, 0x5771f0
call fcn.00407dc0
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x575f40]
call fcn.0042862c
call fcn.00406448
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005767bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576fa8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576fd2
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00406dd0
lea eax, [ebp - 0x10]
call fcn.00406d70
ret
Function at 0x57722c
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x577391
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
call fcn.00574430
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x5773a8
call fcn.00407dc0
mov eax, dword [ebp - 0x30]
mov dl, 1
call fcn.00575d64
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x57728c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xffffffff
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 8], eax
mov ecx, 0x577404
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00576324
xor eax, eax
push ebp
push 0x57736f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407b54
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 0xc], eax
mov ecx, 0x577458
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00576324
xor eax, eax
push ebp
push 0x577351
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_DeleteService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x577333
mov ecx, 0x5774f0
mov dl, 1
mov eax, dword [0x575e08]
call fcn.00577544
call fcn.00406448
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x577358
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x5786a8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffba4
xor ecx, ecx
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5788bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 8]
mov eax, 0x18
call fcn.00541ed8
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x2d], 0
cmp dword [ebp - 0x28], 0xffffffff
je 0x578764
mov dword [ebp - 0x458], 0x428
lea edx, [ebp - 0x458]
mov eax, dword [ebp - 0x28]
call fcn.00541ef8
test eax, eax
je 0x57875b
lea eax, [ebp - 0x45c]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00407c10
mov eax, dword [ebp - 0x45c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.00407f58
jne 0x578749
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x2d], 1
jmp 0x57875b
lea edx, [ebp - 0x458]
mov eax, dword [ebp - 0x28]
call fcn.00541f18
test eax, eax
jne 0x578711
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 0x2d], 0
je 0x5788a3
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2000000
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5788a3
call fcn.00541598
cmp eax, 0x3c
jb 0x5787ad
push 0x5788cc
push 0x5788f0
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040f748
mov dword [ebp - 0x2c], eax
call fcn.00541598
cmp eax, 0x3c
jb 0x5787c1
cmp dword [ebp - 0x2c], 0
je 0x5788a3
push 0x5788fc
push 0x578914
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040f748
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5787f7
cmp dword [ebp - 0x18], 0
je 0x5788a3
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5788a3
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
call fcn.00541598
cmp eax, 0x3c
jb 0x57882f
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x2000000
lea eax, [ebp - 0x1c]
push eax
call dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], 0
je 0x57883f
call fcn.00541598
cmp eax, 0x3c
jae 0x57885d
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x578874
cmp dword [ebp - 0x18], 0
je 0x5788a3
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5788a3
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetExitCodeThread
cmp dword [ebp - 0x18], 0
je 0x578890
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x1c], 0
je 0x57889f
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5788c3
lea eax, [ebp - 0x45c]
call fcn.00406d70
ret
Function at 0x57a858
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0xffff
mov eax, dword [ebp - 0xc]
call fcn.004045a8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.ntdll.dll_ZwQuerySystemInformation
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xc0000004
jne 0x57a8cd
mov eax, dword [ebp - 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004045dc
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.ntdll.dll_ZwQuerySystemInformation
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xc0000004
je 0x57a899
cmp dword [ebp - 0x14], 0
jne 0x57a8db
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x57a8e3
mov eax, dword [ebp - 0x10]
call fcn.004045c4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x57a8ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57aa9b
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor_1
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl_1
mov dword [ebp - 0x74], 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0xffffffff
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.00404bc0
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x10
call fcn.00404bc0
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 0
cmp byte [ebp - 5], 0
jne 0x57a9a8
lea edx, [ebp - 0x78]
mov eax, 0x57aab8
call fcn.0042b3f8
mov eax, dword [ebp - 0x78]
call fcn.00407b54
mov dword [ebp - 0x10], eax
mov eax, 0x57aac8
mov dword [ebp - 0x14], eax
jmp 0x57a9ea
cmp byte [ebp - 5], 1
jne 0x57a9ea
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x57aae8
lea edx, [ebp - 0x80]
mov eax, dword [0x700c50]
call fcn.0042a56c
push dword [ebp - 0x80]
push 0x57aaf8
push 0x57ab0c
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.00407e48
mov eax, dword [ebp - 0x7c]
call fcn.00407b54
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x20
push 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x57aa21
mov eax, dword [ebp - 0xc]
mov edi, eax
lea esi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x57aa75
call sub.kernel32.dll_GetLastError_3
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0
call sub.kernel32.dll_GetLastError_3
lea edx, [ebp - 0x94]
call fcn.004276dc
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea eax, [ebp - 0x90]
push eax
push 1
mov ecx, 0x57ab2c
mov dl, 1
mov eax, dword [0x41b514]
call fcn.00428668
call fcn.00406448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57aaa2
lea eax, [ebp - 0x94]
call fcn.00406d70
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00406dd0
ret
Function at 0x58a2f8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
cmp byte [ebp - 5], 1
jne 0x58a319
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00404bc0
mov eax, dword [ebp - 0x10]
or eax, 0x100
or eax, 0x20
push eax
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push 0x42000000
mov eax, dword [ebp - 4]
call fcn.00407b54
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x58afa4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00406e54
mov eax, dword [ebp - 0xc]
call fcn.00406e54
xor eax, eax
push ebp
push 0x58b05f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x58b07c
call fcn.00407d68
lea eax, [ebp - 0xc]
mov edx, 0x58b07c
call fcn.00407d68
mov eax, dword [ebp - 4]
mov dword [ebp - 0x32], eax
cmp byte [ebp + 8], 0
je 0x58b000
mov dword [ebp - 0x2e], 2
jmp 0x58b007
mov dword [ebp - 0x2e], 1
mov eax, dword [ebp - 8]
call fcn.00407b54
mov dword [ebp - 0x2a], eax
mov eax, dword [ebp - 0xc]
call fcn.00407b54
mov dword [ebp - 0x26], eax
mov word [ebp - 0x22], 0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x32]
push eax
call sub.shell32.dll_SHFileOperationW
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58b066
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00406dd0
ret

Function at 0x58f2bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x703e8c], 0
jne 0x58f2d3
call fcn.0058f278
mov eax, edi
dec eax
test eax, eax
jl 0x58f2fb
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x703a8c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x58f2dd
mov eax, ebx
pop edi
pop esi
pop ebx
ret