joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47426a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00474200
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046388c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046348c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474271
lea eax, [ebp - 4]
call fcn.00404bec
ret

Function at 0x477ab4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419e44]
call fcn.00405618
xor eax, eax
push ebp
push 0x477bf8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b583c], 0
jne 0x477b07
mov ecx, dword [0x4bcf80]
mov dl, 1
mov eax, dword [0x408314]
call fcn.0040d138
call fcn.004044d4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403560
mov eax, ebx
call fcn.00405464
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x477c08
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004068a4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405474
test eax, eax
jle 0x477b9f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x477b98
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404e74
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404e5c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409214
test eax, eax
jne 0x477b98
mov ebx, 0x15
jmp 0x477ba4
mov ebx, 0x10
jmp 0x477ba4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b583c]
call fcn.00477a0c
mov eax, dword [ebp - 8]
call fcn.00477a0c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004068bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477bff
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c10
lea eax, [ebp - 0x10]
mov edx, dword [0x419e44]
call fcn.004056e8
ret

Function at 0x479190
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x21
mov eax, dword [0x4bd464]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040a078
add esp, 0x104
pop ebx
ret
Function at 0x4793a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4794a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41b078]
call fcn.00403d04
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47947c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00479190
lea ecx, [ebp - 4]
mov edx, 0x4794b8
mov eax, dword [ebp - 8]
call fcn.004788bc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x479466
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
xor eax, eax
push ebp
push 0x479454
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0047931c
test al, al
je 0x47944a
mov eax, dword [ebp - 0x10]
call fcn.004050ac
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47945e
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x479414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479483
mov eax, dword [ebp - 4]
call fcn.00403d34
ret

Function at 0x4794c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4794c8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040509c
xor eax, eax
push ebp
push 0x479612
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41b078]
call fcn.00403d04
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4795d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00479190
lea ecx, [ebp - 8]
mov edx, 0x479628
mov eax, dword [ebp - 0xc]
call fcn.004788bc
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040905c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4795bd
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
xor eax, eax
push ebp
push 0x4795ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409284
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
call fcn.0040905c
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.00409d18
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
call fcn.004051f0
test eax, eax
jle 0x4795a1
mov eax, dword [ebp - 0x14]
call fcn.004050ac
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4795b5
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x479547
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4795da
mov eax, dword [ebp - 8]
call fcn.00403d34
ret
Function at 0x47a380
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040509c
xor eax, eax
push ebp
push 0x47a568
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x47a580
call fcn.00409a08
test al, al
je 0x47a53d
xor eax, eax
push ebp
push 0x47a507
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x47a5a0
call fcn.00404c84
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x47a3f8
mov eax, dword [0x4bd464]
mov eax, dword [eax]
call fcn.004447c8
cmp byte [0x4b58ec], 0
je 0x47a40f
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x2710
jb 0x47a3ec
xor eax, eax
push ebp
push 0x47a4f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4b58ec], 1
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d4]
call fcn.004032f4
mov eax, dword [ebp - 8]
call fcn.00409a08
test al, al
jne 0x47a450
lea eax, [ebp - 0x1d4]
call fcn.00403084
call fcn.00402cf8
jmp 0x47a460
lea eax, [ebp - 0x1d4]
call fcn.00403090
call fcn.00402cf8
call fcn.0040b214
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x1d8]
mov eax, 0x47a5b8
call fcn.0040bebc
push dword [ebp - 0x1d8]
push 0x47a5d8
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404f6c
xor eax, eax
push ebp
push 0x47a4c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d4]
call fcn.0040529c
call fcn.004037d8
call fcn.00402cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a4d1
lea eax, [ebp - 0x1d4]
call fcn.004033bc
call fcn.00402cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a4fd
mov byte [0x4b58ec], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a56f
lea eax, [ebp - 0x1dc]
mov edx, 2
call fcn.00404c10
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c10
ret

Function at 0x47ae10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47aead
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ae67
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x47aec0
call sub.kernel32.dll_GetVolumeInformationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ae97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aeb4
lea eax, [ebp - 0x10]
call fcn.00404bec
ret

Function at 0x47b4cc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x84], 2
jne 0x47b50b
cmp dword [ebp - 0x90], 5
jne 0x47b50b
cmp dword [ebp - 0x8c], 2
jne 0x47b50b
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4847ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4848ea
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x484816
mov eax, dword [0x4bd464]
mov eax, dword [eax]
call fcn.004447c8
push 0xa
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x484814
cmp eax, 0x3e8
jb 0x484816
jmp 0x484827
jge 0x484827
mov edx, 0xfffffdf3
mov eax, ebx
call fcn.0047f9f0
cmp eax, 4
jne 0x4847de
lea ecx, [ebp - 0x18]
mov edx, 0xcb
mov eax, ebx
call fcn.0047f958
cmp dword [ebp - 0x18], 0
je 0x4848aa
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov edx, 0xcb
mov eax, ebx
call fcn.0047f958
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov ecx, 0x4848f8
call fcn.004068e8
lea eax, [ebp - 0xc]
call fcn.004068a4
push eax
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
call fcn.004068a4
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, edi
mov edx, dword [ebp - 0x10]
mov ecx, 0x484908
call fcn.004068e8
jmp 0x4848b1
mov eax, edi
call fcn.004068a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4848f1
lea eax, [ebp - 0x1c]
mov edx, dword [0x4011e8]
mov ecx, 2
call fcn.00405734
lea eax, [ebp - 0x10]
call fcn.004068a4
lea eax, [ebp - 0xc]
call fcn.004068a4
lea eax, [ebp - 8]
call fcn.004068a4
ret
Function at 0x484918
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
mov ecx, 0x64
lea eax, [ebp - 0x19c]
mov edx, dword [0x4011b8]
call fcn.00405648
xor eax, eax
push ebp
push 0x484a88
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x48499e
mov eax, dword [0x4bd464]
mov eax, dword [eax]
call fcn.004447c8
push 0xa
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x48499c
cmp eax, 0x3e8
jb 0x48499e
jmp 0x4849af
jge 0x4849af
mov edx, 0xfffffdf3
mov eax, ebx
call fcn.0047f9f0
cmp eax, 4
jne 0x484966
lea ecx, [ebp - 0x1a0]
mov edx, 0xcb
mov eax, ebx
call fcn.0047f958
cmp dword [ebp - 0x1a0], 0
je 0x484a39
lea ecx, [ebp - 0x1a4]
mov edx, 0xcb
mov eax, ebx
call fcn.0047f958
mov edx, dword [ebp - 0x1a4]
lea eax, [ebp - 8]
mov ecx, 0x484a98
call fcn.004068e8
lea eax, [ebp - 0xc]
call fcn.004068a4
push eax
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
jne 0x484a2f
lea eax, [ebp - 4]
push eax
mov edx, dword [0x4011b8]
lea eax, [ebp - 0x19c]
mov ecx, 0x64
call fcn.00405734
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x484a3e
lea eax, [ebp - 0xc]
call fcn.004068a4
jmp 0x484a3e
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484a8f
lea eax, [ebp - 0x1a4]
mov edx, dword [0x4011e8]
mov ecx, 2
call fcn.00405734
lea eax, [ebp - 0x19c]
mov ecx, 0x64
mov edx, dword [0x4011b8]
call fcn.00405734
lea eax, [ebp - 0xc]
call fcn.004068a4
lea eax, [ebp - 8]
call fcn.004068a4
ret
Function at 0x485f4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
test dl, dl
je 0x485f60
add esp, 0xfffffff0
call fcn.0040406c
mov byte [ebp - 1], dl
mov esi, eax
mov byte [esi + 0x429], 1
xor edx, edx
mov eax, esi
call fcn.0047ed58
call fcn.00484c64
push esi
push 0x48616c
call fcn.00424de0
mov dword [esi + 0x424], eax
mov dl, 1
mov eax, dword [0x483b68]
call fcn.00403d04
mov dword [esi + 0x308], eax
mov dl, 1
mov eax, dword [0x483a60]
call fcn.00403d04
mov edx, dword [esi + 0x308]
mov dword [edx + 0x10], eax
mov dl, 1
mov eax, dword [0x41b078]
call fcn.00403d04
mov ebx, eax
mov eax, dword [esi + 0x308]
mov dword [eax + 4], ebx
mov eax, ebx
mov edx, 0x486054
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xb]
xor ecx, ecx
mov edx, 0xa
call fcn.00403560
push 0xa
lea eax, [ebp - 0xb]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [ebp - 0xb], 0x31
jne 0x486005
mov byte [esi + 0x420], 1
jmp 0x48600c
mov byte [esi + 0x420], 0
mov edx, dword [0x486064]
mov eax, esi
call fcn.00486558
mov edx, dword [0x486068]
mov eax, esi
call fcn.004865ec
mov byte [esi + 0x428], 0
mov eax, esi
cmp byte [ebp - 1], 0
je 0x486044
call fcn.004040c4
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aba58
Capabilities:
Encrypt data using des

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

Function at 0x4aba90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x4abaa6
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4aba9f
mov edx, esp
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, 7
call fcn.00403560
xor edx, edx
mov eax, 0x4bcc1c
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4abb0d
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 + 0xc]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4abac1
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4abd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
test esi, esi
js 0x4abd71
shr esi, 2
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x4abd6a
mov dword [ebp + 0x14], esp
mov ebx, ecx
test ebx, ebx
js 0x4abd84
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4abd7d
mov edx, esp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa]
push eax
push 5
mov eax, dword [ebp - 4]
call fcn.004ab950
mov ebx, 6
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4abda2
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov edx, ebx
mov cl, byte [esi]
mov eax, dword [ebp - 4]
call fcn.004aba58
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4abe27
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4abe47
lea edx, [ebp - 0xa]
mov ecx, 5
mov eax, dword [ebp - 4]
call fcn.004ab9d8
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4abe73
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ac7d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
mov edx, ebx
call fcn.00404c40
mov eax, dword [esi]
call fcn.00404eac
test ax, ax
jbe 0x4ac830
mov word [esp], ax
mov bx, 1
mov eax, esi
call fcn.00405104
movzx ebp, bx
mov edx, dword [esi]
mov dl, byte [edx + ebp - 1]
movzx ecx, di
shr ecx, 8
xor dl, cl
mov byte [eax + ebp - 1], dl
mov eax, dword [esi]
movzx eax, byte [eax + ebp - 1]
add di, ax
imul ax, di, 0xce70
add ax, 0x97d7
mov edi, eax
inc ebx
dec word [esp]
jne 0x4ac7f8
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4af990
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4af9bc
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4b2a10
Capabilities:
Continue service
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x4b2b2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4b2b3c
call fcn.004b08e0
xor eax, eax
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b2b10
xor eax, eax
push ebp
push 0x4b2b09
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
lea edx, [ebp - 0x2c]
mov eax, 0x4b2b50
call fcn.00427de4
mov eax, dword [ebp - 0x2c]
call fcn.004050ac
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b2aeb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x4b2ad4
lea eax, [ebp - 0x28]
push eax
push 3
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
lea edx, [ebp - 0x30]
mov eax, 0x4b2b64
call fcn.00410424
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_DeleteService
lea edx, [ebp - 0x34]
mov eax, 0x4b2bb8
call fcn.00410424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2af2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2b32
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404c10
ret
Function at 0x402d5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4060d0]
jne 0x402d66
repz ret
jmp fcn.0040321a

Function at 0x403210
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x404f88
call fcn.00403330
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
cmp dword [0x4066d0], ebx
jne 0x402fab
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x4066c4
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x402fe5
cmp eax, esi
jne 0x402fd8
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x402fe8
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x402fbf
xor esi, esi
inc esi
mov eax, dword [0x4066c0]
cmp eax, esi
jne 0x402ffb
push 0x1f
call sub.msvcr100.dll__amsg_exit
pop ecx
jmp 0x403036
mov eax, dword [0x4066c0]
test eax, eax
jne 0x403030
mov dword [0x4066c0], esi
push 0x4041e8
push 0x4041dc
call sub.msvcr100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x403036
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403150
mov dword [0x40637c], esi
mov eax, dword [0x4066c0]
cmp eax, esi
jne 0x40305a
push 0x4041d8
push 0x4041c8
call sub.msvcr100.dll__initterm
pop ecx
pop ecx
mov dword [0x4066c0], 2
cmp dword [ebp - 0x24], ebx
jne 0x403067
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x4066d4], ebx
je 0x403088
push 0x4066d4
call fcn.004039c1
pop ecx
test eax, eax
je 0x403088
push ebx
push 2
push ebx
call dword [0x4066d4]
mov eax, dword [sym.imp.msvcr100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4030e1
cmp al, bl
je 0x4030a1
cmp dword [ebp - 0x1c], ebx
jne 0x4030e1
mov al, byte [esi]
cmp al, bl
je 0x4030b1
cmp al, 0x20
ja 0x4030b1
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4030a1
test byte [ebp - 0x40], 1
je 0x4030bd
movzx eax, word [ebp - 0x3c]
jmp 0x4030c0
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x406378], eax
cmp dword [0x40636c], ebx
jne 0x403136
push eax
call dword [sym.imp.msvcr100.dll_exit]
cmp al, 0x22
jne 0x4030f0
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcr100.dll__ismbblead]
pop ecx
test eax, eax
je 0x403103
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x40308f
cmp dword [0x40637c], ebx
jne 0x403144
call dword [sym.imp.msvcr100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x406378]
call fcn.00403375
ret
call fcn.004039c1
jmp 0x402f7d
Function at 0x10001120
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x100d00b4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x10]
push pe_nt_image_headers32
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.1006fa00
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100011d4
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100011cd
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x138]
call ebx
test eax, eax
jne 0x100011bb
cmp dword [ebp - 0x11c], edi
je 0x100011e9
lea eax, [ebp - 0x134]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100011a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006c262
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x12c]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006c262
mov esp, ebp
pop ebp
ret 0xc