joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445e58
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x44da88]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x445e90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x445ea8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x445ea1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403800
xor edx, edx
mov eax, 0x44dc88
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x445f0f
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x445ec6
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x446150
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x446169
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x446162
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x44617b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x446174
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00445d48
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x446195
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.00445e58
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x44621d
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x44623b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00445dd8
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x446265
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44627c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x446295
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x44628e
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4462a9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00445c48
test bl, bl
jne 0x446383
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x45492c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4462e1
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4462f6
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00446150
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x446329
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4462d6
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x44634d
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x44635f
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x446374
jmp 0x446444
cmp bl, 1
jne 0x446444
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x454986
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4463a3
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4463b8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00446150
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4463eb
sub ebx, 6
inc dword [ebp - 8]
jne 0x446398
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x446413
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x446425
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x44643a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00445cc8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x447c58
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403800
ret

Function at 0x447f08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004053e0
mov eax, dword [ebp - 8]
call fcn.004053e0
xor eax, eax
push ebp
push 0x447fcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408f88
test al, al
je 0x447fb4
xor esi, esi
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403800
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x40
mov eax, dword [ebp - 4]
call fcn.004053f0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.004053f0
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x447fb4
jmp 0x447fa2
push 0x96
call sub.kernel32.dll_Sleep_2
inc esi
cmp esi, 0xc8
jg 0x447fb4
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x447f8f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447fd6
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404f84
ret
Function at 0x4480e8
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44820d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00447fe0
test al, al
je 0x4481f7
xor eax, eax
push ebp
push 0x4481f0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, edi
call fcn.004053f0
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4481d9
xor eax, eax
push ebp
push 0x4481d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x44818d
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
je 0x448191
xor eax, eax
jmp 0x448193
mov al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x4481bb
mov eax, edi
call fcn.004053f0
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00405158
mov eax, dword [ebp - 0x18]
call fcn.004053f0
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4481d9
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4481f7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LocalFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448214
lea eax, [ebp - 0x18]
call fcn.00404f60
ret
Function at 0x448284
Capabilities:
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x320], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4484e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x111]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x4482f7
push 0x104
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x111]
push eax
call sub.kernel32.dll_GetShortPathNameA
jmp 0x448308
push 0x448500
lea eax, [ebp - 0x111]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x216]
push eax
push 0
push 0x448504
lea eax, [ebp - 0x111]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jbe 0x4484cb
xor eax, eax
push ebp
push 0x4484c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x31b]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x448508
lea eax, [ebp - 0x31b]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x320]
lea edx, [ebp - 0x31b]
mov ecx, 0x105
call fcn.004051d0
mov ecx, dword [ebp - 0x320]
mov edx, ebx
mov eax, esi
call fcn.004480e8
test al, al
je 0x44848f
xor eax, eax
push ebp
push 0x448488
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x324]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.004051d0
mov eax, dword [ebp - 0x324]
push eax
lea eax, [ebp - 0x328]
lea edx, [ebp - 0x31b]
mov ecx, 0x105
call fcn.004051d0
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp + 8]
pop edx
call fcn.00448220
test al, al
je 0x448453
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x216]
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x448453
xor eax, eax
push ebp
push 0x44844c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x44842c
cmp ebx, dword [ebp - 0xc]
je 0x448430
xor eax, eax
jmp 0x448432
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448453
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44848f
lea eax, [ebp - 0x32c]
lea edx, [ebp - 0x31b]
mov ecx, 0x105
call fcn.004051d0
mov eax, dword [ebp - 0x32c]
call fcn.004053f0
push eax
call sub.kernel32.dll_DeleteFileA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4484cb
lea eax, [ebp - 0x330]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.004051d0
mov eax, dword [ebp - 0x330]
call fcn.004053f0
push eax
call sub.kernel32.dll_DeleteFileA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4484f0
lea eax, [ebp - 0x330]
mov edx, 5
call fcn.00404f84
ret
Function at 0x4487f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44890a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x4549a8], 0x94
push 0x4549a8
call sub.kernel32.dll_GetVersionExA
cmp dword [0x4549b8], 2
jne 0x448890
lea edx, [ebp - 0x104]
movzx eax, bl
call fcn.004038fc
lea edx, [ebp - 0x104]
lea eax, [ebp - 4]
call fcn.004051c4
push 0
push 0
push 3
push 0
push 3
push esi
lea eax, [ebp - 0x108]
mov ecx, dword [ebp - 4]
mov edx, 0x448924
call fcn.00405278
mov eax, dword [ebp - 0x108]
call fcn.004053f0
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
jmp 0x4488a8
push 0
push 0
push 1
push 0
push 0
push 0
push 0x448938
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4488e4
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x110]
call fcn.0040c1bc
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x10c]
mov edx, 0x448950
call fcn.00405278
mov eax, dword [ebp - 0x10c]
call fcn.004053f0
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448911
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00404f84
lea eax, [ebp - 4]
call fcn.00404f60
ret

Function at 0x448968
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x448a39
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x104]
movzx eax, bl
call fcn.004038fc
lea edx, [ebp - 0x104]
lea eax, [ebp - 4]
call fcn.004051c4
push 0
push 0
push 3
push 0
push 3
push esi
push 0x448a50
push dword [ebp - 4]
push 0x448a64
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004052f4
mov eax, dword [ebp - 0x108]
call fcn.004053f0
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x448a13
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x10c]
call fcn.0040c1bc
mov eax, dword [ebp - 0x10c]
call fcn.004053f0
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448a40
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404f84
lea eax, [ebp - 4]
call fcn.00404f60
ret
Function at 0x448b94
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 0x245], cl
mov ebx, edx
mov dword [ebp - 0x244], eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x448d6b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x23d]
xor ecx, ecx
mov edx, 0x23c
call fcn.00403800
mov dword [ebp - 0x23d], 0x1c
lea edx, [ebp - 0x239]
mov ecx, 8
mov eax, 0x448d88
call fcn.004030a0
mov dword [ebp - 0x231], 2
mov dword [ebp - 0x225], 0x220
mov dword [ebp - 0x22d], 0x1b0501
lea edi, [ebp - 0x23d]
add edi, 0x1c
mov eax, edi
mov dword [eax], 0x200
mov byte [eax + 0xc], bl
add eax, 4
mov byte [eax], 0
mov byte [eax + 1], 1
mov byte [eax + 2], 1
mov byte [eax + 3], 0
mov byte [eax + 4], 0
and bl, 1
shl ebx, 4
or bl, 0xa0
mov byte [eax + 5], bl
movzx edx, byte [ebp - 0x245]
mov byte [eax + 6], dl
push 0
lea eax, [ebp - 0x24c]
push eax
push 0x23c
lea eax, [ebp - 0x23d]
push eax
push 0x23c
lea eax, [ebp - 0x23d]
push eax
push 0x4d008
mov eax, dword [ebp - 0x244]
push eax
call sub.kernel32.dll_DeviceIoControl
mov ebx, eax
test ebx, ebx
je 0x448d4d
mov eax, dword [ebp - 0x24c]
sub eax, 0x1c
sub eax, 0x11
inc eax
mov dword [esi], eax
push 0x448d9c
lea edx, [ebp - 0x254]
mov eax, 0x23c
call fcn.00408a48
push dword [ebp - 0x254]
push 0x448dcc
mov eax, dword [ebp - 0x24c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x258]
call fcn.00408b34
push dword [ebp - 0x258]
push 0x448de8
lea edx, [ebp - 0x25c]
mov eax, dword [esi]
call fcn.00408a48
push dword [ebp - 0x25c]
lea eax, [ebp - 0x250]
mov edx, 6
call fcn.004052f4
mov eax, dword [ebp - 0x250]
call fcn.004053f0
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [esi], 0
jg 0x448d32
xor eax, eax
mov dword [esi], eax
jmp 0x448d4d
cmp dword [esi], 0x200
jle 0x448d40
mov dword [esi], 0x200
mov ecx, dword [esi]
mov edx, dword [ebp + 0xc]
lea eax, [edi + 0x10]
call fcn.004030a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448d72
lea eax, [ebp - 0x25c]
mov edx, 4
call fcn.00404f84
ret

Function at 0x449858
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe4
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4498cd
lea eax, [esp + 0x10]
push eax
push 0x4498d4
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 0xc], 1
movzx eax, byte [esp]
mov eax, dword [eax*4 + 0x44de94]
mov dword [esp + 0x18], eax
lea eax, [esp + 8]
push eax
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete bl
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x1c
pop ebx
ret
Function at 0x449a78
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x449bee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x449bd8
push 0xf01ff
push 0x449c00
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x449bcf
mov eax, 0x14
call fcn.00402eb0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x449bbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 8], edx
test bl, bl
je 0x449b3e
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 3
mov dword [ebp - 0x28], 1
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
jmp 0x449b6f
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 3
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ChangeServiceConfig2A
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x449ba9
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x2c]
call fcn.0040c1bc
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov eax, 0x449c10
call fcn.0044a43c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449bc6
mov eax, dword [ebp - 0x10]
call fcn.00402ecc
ret
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449bf5
lea eax, [ebp - 0x2c]
call fcn.00404f60
ret
Function at 0x449c18
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004053e0
xor eax, eax
push ebp
push 0x449d93
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.0041f8f8
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.0041f918
mov ebx, eax
jmp 0x449d65
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004051d0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040908c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004084b0
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004084b0
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405388
je 0x449d3c
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004051d0
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004084b0
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004084b0
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405388
jne 0x449d56
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.0041f938
mov ebx, eax
test ebx, ebx
jne 0x449c97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d9a
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404f84
lea eax, [ebp - 4]
call fcn.00404f60
ret