joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436704
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x436721
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x436833
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x436754
je 0x4367a0
sub ecx, 0x2b
je 0x436796
sub ecx, 4
je 0x43679b
dec ecx
sub ecx, 0xa
jb 0x436785
jmp 0x4367a3
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x436766
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x436774
jmp 0x4367a3
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4367a3
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4367a3
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4367a3
mov byte [eax], 0x3e
jmp 0x4367a3
mov byte [eax], 0x3f
jmp 0x4367a3
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x436733
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x4367f3
cmp byte [esp + 3], 0xff
jne 0x4367f3
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x43682b
cmp dl, 0xff
je 0x43682b
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x43672c
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x4374b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4374d8
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4374c6
pop edi
pop esi
pop ebx
ret
Function at 0x43b394
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jb 0x43b3e8
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x4605e4]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x4609e4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x460de4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x4611e4]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x43b3a3
pop edi
pop esi
pop ebx
ret

Function at 0x43e5e8
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x43e679
movzx ebx, byte [ebx + 0x4618ac]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x4617ac]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x4617ac]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x4618ac]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jb 0x43e6d3
movzx ebx, byte [ebx + 0x4618ac]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x4618ac]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x4617ac]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x4617ac]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x4617ac]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x4617ac]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x4661e4]
movzx ecx, byte [ecx + 0x4618ac]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x4617ac]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x4665e4]
movzx eax, byte [eax + 0x4617ac]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x4618ac]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x4669e4]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x4618ac]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x4618ac]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x466de4]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x43e790
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
and ecx, 0xff
imul ecx, ecx, 0x1010101
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
mov esi, dword [edx + ebx*4 + 4]
xor esi, ecx
mov dword [eax + ebx*4 + 4], esi
mov esi, dword [edx + ebx*4 + 8]
xor esi, ecx
mov dword [eax + ebx*4 + 8], esi
mov esi, dword [edx + ebx*4 + 0xc]
xor esi, ecx
mov dword [eax + ebx*4 + 0xc], esi
add ebx, 4
cmp ebx, 0x40
jb 0x43e7a0
pop esi
pop ebx
ret

Function at 0x43f564
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], pe_nt_image_headers32
mov esi, 0x4617ac
mov ebx, 0x4661e4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.0043e4b4
mov dword [esp + 8], eax
mov eax, edi
call fcn.0043e4c4
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.0043e4b4
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.0043e4c4
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x43f57d
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43fa78
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43fba0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x43fbb8
call fcn.0040490c
xor eax, eax
push ebp
push 0x43fb73
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404950
lea eax, [ebp - 8]
call fcn.00404de4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d94
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x43fb69
mov eax, ebx
call fcn.00402d80
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43fb62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d94
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43fb4c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x43fbc0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43fb4c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.0043fa14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fb69
mov eax, dword [ebp - 0x10]
call fcn.00402db0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43fb8a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fba7
lea eax, [ebp - 8]
call fcn.004048b8
ret
Function at 0x43fd50
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x43ff17
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x74], 0xc
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0xffffffff
push 0x100000
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x43fdb5
call sub.kernel32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x43ff01
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.004034cc
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 0x101
mov ax, word [ebp + 8]
mov word [ebp - 0x28], ax
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d94
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x43fe7e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
test esi, esi
je 0x43fe28
mov byte [esi], 0
test esi, esi
je 0x43fe3f
cmp byte [esi], 0
je 0x43fe3f
push 0x4c7
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_TerminateProcess
cmp edi, 0xffffffff
jle 0x43fe6a
push edi
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x43fe6a
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x43fe6a
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x43fe8c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004109ac
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
je 0x43ff01
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
push 0
push 0xffff
call fcn.0042a928
mov edx, eax
mov eax, ebx
call fcn.00404f20
push 0
push 0
push 0
mov eax, dword [ebx]
call fcn.00404b94
push eax
mov eax, ebx
call fcn.00404dec
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
je 0x43fefa
lea edx, [ebp - 0x78]
mov eax, dword [ebx]
call fcn.0043f898
mov edx, dword [ebp - 0x78]
mov eax, ebx
call fcn.0040490c
jmp 0x43ff01
mov eax, ebx
call fcn.004048b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ff1e
lea eax, [ebp - 0x78]
call fcn.004048b8
ret
Function at 0x43ff98
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov edi, eax
mov byte [ebp - 9], 0
push 0
push 4
mov eax, dword [ebp + 8]
push eax
push 0
mov eax, edi
call fcn.00404d94
mov ecx, 1
mov edx, 0x40000000
call fcn.004297c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x440052
xor eax, eax
push ebp
push 0x44004b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetFilePointer
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x10]
jne 0x440035
cmp eax, dword [ebp + 0xc]
jne 0x440035
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x440035
cmp ebx, dword [ebp - 0x10]
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440052
mov eax, dword [ebp - 0x14]
call fcn.0040b3f4
ret
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x440060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x440198
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x4401a4
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x440175
xor eax, eax
push ebp
push 0x44016e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x13
push 0x4401f0
push 1
push 0
push 0x440204
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00403260
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0043fa78
mov eax, dword [ebp - 4]
call fcn.00404b94
push eax
mov eax, dword [ebp - 4]
call fcn.00404d94
push eax
push 1
push 0
push 0x440210
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
call fcn.0040d404
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 8]
mov eax, 0x440228
call fcn.0040e0ac
mov eax, dword [ebp - 8]
call fcn.00404b94
push eax
mov eax, dword [ebp - 8]
call fcn.00404d94
push eax
push 1
push 0
push 0x440234
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
push 0xe
push 0x440240
push 1
push 0
push 0x440250
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440175
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44019f
lea eax, [ebp - 0x10]
call fcn.004048b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048dc
ret
Function at 0x44196c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x441975
mov eax, dword [esp + 0x10000]
add esp, 0xfffffff8
mov dword [esp], eax
mov si, 0xffff
lea edx, [esp + 0xc]
mov ecx, 0x10000
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jle 0x4419fa
mov edi, dword [esp + 8]
test edi, edi
jle 0x4419de
lea ebx, [esp + 0xc]
xor eax, eax
mov al, byte [ebx]
mov edx, esi
and dx, 0xff
xor ax, dx
movzx eax, ax
mov ax, word [eax*2 + 0x4619ec]
shr si, 8
xor ax, si
mov esi, eax
inc ebx
dec edi
jne 0x4419b8
lea edx, [esp + 0xc]
mov ecx, 0x10000
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jg 0x4419ac
test si, si
jne 0x441a03
mov si, 0xffff
mov eax, esi
add esp, 0x1000c
pop edi
pop esi
pop ebx
ret
Function at 0x444448
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4444ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040b7e0
mov eax, dword [ebp - 4]
call fcn.004443a8
test al, al
je 0x444481
mov byte [ebp - 5], 1
jmp 0x444496
mov eax, dword [ebp - 0xc]
call fcn.00404d94
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4444b3
lea eax, [ebp - 0xc]
call fcn.004048b8
ret

Function at 0x444624
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x444647
and ecx, ecx
jle 0x444647
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x44464d]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x444637
pop edi
pop ebx
ret
Function at 0x451280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d84
xor eax, eax
push ebp
push 0x451375
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004034cc
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004034cc
mov dword [ebp - 0x48], 0x44
cmp ebx, 0xffffffff
je 0x4512df
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], bx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d94
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x451349
mov eax, dword [ebp - 4]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x6c]
call fcn.0040ea48
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea eax, [ebp - 0x68]
push eax
push 1
mov ecx, 0x45138c
mov dl, 1
mov eax, dword [0x40a6c0]
call fcn.0040f29c
call fcn.0040426c
jmp 0x451357
test esi, esi
jle 0x451357
push esi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45137c
lea eax, [ebp - 0x6c]
call fcn.004048b8
lea eax, [ebp - 4]
call fcn.004048b8
ret
Function at 0x451640
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4517ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x462080]
cmp dword [eax], 2
jne 0x451710
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x3a
mov byte [ebp - 0x201], 0
mov byte [ebp - 0x102], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x102]
push eax
lea eax, [ebp - 0x203]
push eax
call sub.kernel32.dll_QueryDosDeviceA
mov edx, esi
lea eax, [ebp - 0x102]
call fcn.0040bf28
lea eax, [ebp - 0x208]
push eax
mov eax, dword [esi]
mov ecx, 4
mov edx, 1
call fcn.00404df4
mov eax, dword [ebp - 0x208]
mov edx, 0x4517e4
call fcn.00404ce0
jne 0x451704
push esi
mov eax, dword [esi]
call fcn.00404b94
mov ecx, eax
mov eax, dword [esi]
mov edx, 5
call fcn.00404df4
jmp 0x4517b0
mov eax, esi
call fcn.004048b8
jmp 0x4517b0
lea eax, [ebp - 0x210]
mov edx, ebx
call fcn.00404aa0
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.0040a994
mov eax, dword [ebp - 0x20c]
mov al, byte [eax]
sub al, 0x40
mov byte [ebp - 1], al
mov byte [ebp - 0x102], 0
pushal
push es
xor ebx, ebx
mov bh, 2
mov bl, byte [ebp - 1]
lea edx, [ebp - 0x102]
push 0
push 0x71aa
push 0x2a0010
call sub.kernel32.dll_BaseThreadInitThunk
pop es
popal
mov edx, esi
lea eax, [ebp - 0x102]
call fcn.0040bf28
cmp dword [esi], 0
je 0x4517b0
pushal
push ds
push es
xor ebx, ebx
lea esi, [ebp - 0x102]
lea edi, [ebp - 0x203]
mov ecx, 0
mov cl, 2
mov ch, 0
push ecx
push 0x7160
push 0x2a0010
call sub.kernel32.dll_BaseThreadInitThunk
pop es
pop ds
popal
mov edx, esi
lea eax, [ebp - 0x203]
call fcn.0040bf28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4517d5
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.004048dc
ret

Function at 0x4517ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x451861
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404aa0
lea eax, [ebp - 4]
mov edx, 0x451878
call fcn.00404b9c
mov eax, dword [ebp - 4]
call fcn.00404d94
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x45183e
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00451640
cmp dword [ebp - 8], 0
je 0x451842
xor eax, eax
jmp 0x451844
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451868
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048dc
ret
Function at 0x451a74
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451c4e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, 2
mov eax, 0x451c68
call fcn.004519b4
xor edx, edx
mov eax, 2
call fcn.00450d10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x451c35
xor eax, eax
push ebp
push 0x451c2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x13c], 0x128
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 0x10]
call fcn.00450d30
test eax, eax
je 0x451c17
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404b28
mov eax, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.0040aaa8
test al, al
je 0x451bfb
xor edx, edx
mov eax, 4
call fcn.00450d10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x451bfb
xor eax, eax
push ebp
push 0x451bf4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x158], 0x1c
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00450d70
test eax, eax
je 0x451bdd
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x14c]
jne 0x451bc3
mov eax, 0x4672a8
mov ecx, 0x451c84
mov edx, 0x451c98
call fcn.00450e88
mov eax, dword [ebp - 0x150]
push eax
push 0
push 2
call dword [0x4672a8]
mov ebx, eax
test ebx, ebx
je 0x451bc3
cmp byte [ebp - 5], 0
je 0x451bb5
push ebx
call sub.kernel32.dll_SuspendThread
cmp eax, 0xffffffff
je 0x451bc3
inc dword [ebp - 0xc]
jmp 0x451bc3
push ebx
call sub.kernel32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x451bc3
inc dword [ebp - 0xc]
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00450d94
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x451b66
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451bfb
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
ret
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 0x10]
call fcn.00450d50
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x451af5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c35
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c55
lea eax, [ebp - 0x15c]
call fcn.004048b8
ret