joyce8/EMBER2024-capa huggingface dataset:
Function at 0x569004
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56914e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
call fcn.00404dc0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x56912b
mov eax, dword [ebp - 0x10]
call fcn.00402acc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x569123
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x56915c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
push 0x569180
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.0040a5ec
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.004086dc
movzx eax, ax
lea ecx, [ebp - 0x28]
mov edx, 4
call fcn.0040a5ec
push dword [ebp - 0x28]
push 0x56919c
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405140
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x5691a8
mov edx, dword [ebp - 0x1c]
call fcn.004050cc
mov eax, dword [ebp - 0x2c]
call fcn.00405280
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 0
je 0x569123
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00404fb8
mov eax, dword [ebp - 0xc]
call fcn.00402afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569155
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404de4
lea eax, [ebp - 0x1c]
call fcn.00404dc0
ret
Function at 0x5691b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5692fe
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
call fcn.00404dc0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x5692db
mov eax, dword [ebp - 0x10]
call fcn.00402acc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x5692d3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x56930c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
push 0x569330
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.0040a5ec
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.004086dc
movzx eax, ax
lea ecx, [ebp - 0x28]
mov edx, 4
call fcn.0040a5ec
push dword [ebp - 0x28]
push 0x56934c
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405140
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x569358
mov edx, dword [ebp - 0x1c]
call fcn.004050cc
mov eax, dword [ebp - 0x2c]
call fcn.00405280
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 0
je 0x5692d3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00404fb8
mov eax, dword [ebp - 0xc]
call fcn.00402afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569305
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404de4
lea eax, [ebp - 0x1c]
call fcn.00404dc0
ret

Function at 0x569488
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405270
xor eax, eax
push ebp
push 0x569525
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040ab00
test al, al
je 0x569503
mov eax, dword [ebp - 4]
call fcn.0040ac58
test al, al
je 0x5694ca
mov byte [ebp - 5], 1
jmp 0x569507
push 5
lea eax, [ebp - 0xc]
mov ecx, 0x56953c
mov edx, dword [ebp - 4]
call fcn.004050cc
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.kernel32.dll_MoveFileExA
test eax, eax
je 0x5694fd
mov byte [ebp - 5], 1
jmp 0x569507
mov byte [ebp - 5], 0
jmp 0x569507
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56952c
lea eax, [ebp - 0xc]
call fcn.00404dc0
lea eax, [ebp - 4]
call fcn.00404dc0
ret
Function at 0x56975c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405270
xor eax, eax
push ebp
push 0x56984b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.kernel32.dll_GetFileAttributesA
and eax, 7
cmp eax, 7
ja case.0x569798.0
jmp dword [eax*4 + 0x56979f]
mov eax, dword [ebp - 8]
mov edx, 0x569860
call fcn.00404e14
jmp 0x569835
mov eax, dword [ebp - 8]
mov edx, 0x569870
call fcn.00404e14
jmp 0x569835
mov eax, dword [ebp - 8]
mov edx, 0x569880
call fcn.00404e14
jmp 0x569835
mov eax, dword [ebp - 8]
mov edx, 0x569894
call fcn.00404e14
jmp 0x569835
mov eax, dword [ebp - 8]
mov edx, 0x5698a4
call fcn.00404e14
jmp 0x569835
mov eax, dword [ebp - 8]
mov edx, 0x5698b8
call fcn.00404e14
jmp 0x569835
mov eax, dword [ebp - 8]
mov edx, 0x5698cc
call fcn.00404e14
jmp 0x569835
mov eax, dword [ebp - 8]
mov edx, 0x5698e8
call fcn.00404e14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569852
lea eax, [ebp - 4]
call fcn.00404dc0
ret

Function at 0x569b64
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
mov eax, dword [ebp - 8]
call fcn.00405270
mov eax, dword [ebp - 0xc]
call fcn.00405270
xor eax, eax
push ebp
push 0x569bf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.00405280
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyA
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x569bcf
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569bfa
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404de4
ret
Function at 0x569c04
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405270
xor eax, eax
push ebp
push 0x569db6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x43c5e4]
call fcn.0043c720
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x569d8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.0043c7fc
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
call fcn.0043c864
test al, al
je 0x569d6e
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x569cae
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.00405080
inc eax
add dword [ebp - 0x1c], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x569c8c
inc dword [ebp - 0x1c]
xor eax, eax
push ebp
push 0x569d67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
call fcn.00402acc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x569d1d
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_lstrcpyA
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_lstrlenA_1
inc eax
add dword [ebp - 0x10], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x569ce8
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 7
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
push eax
call sub.kernel32.dll_SetLastError
call sub.kernel32.dll_GetLastError_1
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569d6e
mov eax, dword [ebp - 0x14]
call fcn.00402afc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569d93
mov eax, dword [ebp - 0x20]
call fcn.0043c7cc
mov eax, dword [ebp - 0x20]
call fcn.00403f34
ret
Function at 0x569dc4
Capabilities:
Delete 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]
call fcn.00405270
mov eax, dword [ebp - 0xc]
call fcn.00405270
xor eax, eax
push ebp
push 0x569e44
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.00405280
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569e4b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404de4
ret

Function at 0x569f14
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
mov eax, dword [ebp - 8]
call fcn.00405270
mov eax, dword [ebp - 0xc]
call fcn.00405270
mov eax, dword [ebp + 8]
call fcn.00405270
xor eax, eax
push ebp
push 0x569fbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.00405280
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyA
mov eax, dword [ebp + 8]
call fcn.00405080
push eax
mov eax, dword [ebp + 8]
call fcn.00405280
push eax
push 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x569f93
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569fc6
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404de4
lea eax, [ebp + 8]
call fcn.00404dc0
ret

Function at 0x569fd0
Capabilities:
Delete registry value

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 byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 2
xor eax, eax
push ebp
push 0x56a057
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405280
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x56a040
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a05e
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x56a240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405270
xor eax, eax
push ebp
push 0x56a3bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x43c5e4]
call fcn.0043c720
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x56a39a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.0043c7fc
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
call fcn.0043c864
test al, al
je 0x56a37c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
push eax
call sub.kernel32.dll_SetLastError
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x56a37c
cmp dword [ebp - 0x10], 7
jne 0x56a37c
mov eax, dword [ebp - 0x14]
call fcn.00402acc
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x56a375
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x56a357
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
call fcn.00404fb8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_lstrlenA_1
inc eax
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
jne 0x56a332
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a37c
mov eax, dword [ebp - 0x1c]
call fcn.00402afc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a3a1
mov eax, dword [ebp - 0x20]
call fcn.0043c7cc
mov eax, dword [ebp - 0x20]
call fcn.00403f34
ret
Function at 0x56a3d0
Capabilities:
Query or enumerate registry value

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 dl, 1
mov eax, dword [0x43c5e4]
call fcn.0043c720
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x56a46c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
call fcn.0043c7fc
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.0043c864
test al, al
je 0x56a44e
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
push eax
call sub.kernel32.dll_SetLastError
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x56a44e
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 0x56a473
mov eax, dword [ebp - 0x1c]
call fcn.0043c7cc
mov eax, dword [ebp - 0x1c]
call fcn.00403f34
ret

Function at 0x56a7d8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x15
mov eax, dword [ebp - 4]
call fcn.00404dc0
mov eax, dword [ebp - 0xc]
call fcn.00402acc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x56a83b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x56a825
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a842
mov eax, dword [ebp - 8]
call fcn.00402afc
ret
Function at 0x56ace8
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x14]
push eax
push 0x56ad44
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 6
call sub.user32.dll_ExitWindowsEx
mov esp, ebp
pop ebp
ret

Function at 0x56ad58
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x18]
push eax
push 0x56adbc
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x56adb5
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x56ae98
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405270
xor eax, eax
push ebp
push 0x56afd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
xor edx, edx
mov eax, 2
call fcn.0056787c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x56afae
mov dword [ebp - 0x139], 0x128
lea edx, [ebp - 0x139]
mov eax, dword [ebp - 0xc]
call fcn.0056789c
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x56afa4
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
call fcn.00409b70
mov eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x115]
mov ecx, 0x104
call fcn.00405030
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00409b70
mov edx, dword [ebp - 0x144]
pop eax
call fcn.004051cc
jne 0x56af8d
mov eax, dword [ebp - 0x131]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x56af8d
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x56af89
mov byte [ebp - 5], 1
jmp 0x56af8d
mov byte [ebp - 5], 0
lea edx, [ebp - 0x139]
mov eax, dword [ebp - 0xc]
call fcn.005678bc
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x56af11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56afdb
lea eax, [ebp - 0x148]
mov edx, 3
call fcn.00404de4
lea eax, [ebp - 4]
call fcn.00404dc0
ret
Function at 0x56afe4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x56b024
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x56b02c
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
call fcn.0056ad58
test al, al
je 0x56b1d0
mov eax, dword [ebp - 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x56b1c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405080
add eax, eax
inc eax
call fcn.00402acc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
call fcn.00405080
mov ecx, eax
add ecx, ecx
inc ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004060b0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_lstrlenW
inc eax
add eax, eax
mov dword [ebp - 0x24], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x56b1b2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x56b1b2
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jne 0x56b1b2
push 0x56b1d8
push 0x56b1ec
call sub.kernel32.dll_LoadLibraryA
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetExitCodeThread
push 0x56b1fc
push 0x56b1ec
call sub.kernel32.dll_LoadLibraryA
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push 0
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp dword [ebp - 0x10], 0
je 0x56b18d
mov byte [ebp - 9], 1
push 0x4000
mov eax, dword [ebp - 4]
call fcn.00405080
inc eax
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualFreeEx
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b1d0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret