joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b938
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 + 0x494e94]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x48b970
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 0x48b988
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48b981
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.004039e4
xor edx, edx
mov eax, 0x495094
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 0x48b9ef
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 0x48b9a6
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x48bc30
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 0x48bc49
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x48bc42
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x48bc5b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48bc54
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0048b828
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 0x48bc75
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.0048b938
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x48bcfd
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 0x48bd1b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0048b8b8
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 0x48bd45
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48bd5c
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 0x48bd75
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48bd6e
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 0x48bd89
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048b728
test bl, bl
jne 0x48be63
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x49b098
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 0x48bdc1
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 0x48bdd6
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.0048bc30
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 0x48be09
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x48bdb6
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 0x48be2d
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x48be3f
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 0x48be54
jmp 0x48bf24
cmp bl, 1
jne 0x48bf24
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x49b0f2
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 0x48be83
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 0x48be98
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.0048bc30
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 0x48becb
sub ebx, 6
inc dword [ebp - 8]
jne 0x48be78
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 0x48bef3
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x48bf05
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 0x48bf1a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048b7a8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x48d3dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004055e0
mov eax, dword [ebp - 8]
call fcn.004055e0
xor eax, eax
push ebp
push 0x48d5be
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x48d460
inc eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x48d454
sub eax, 4
mov eax, dword [eax]
lea eax, [eax + esi + 1]
mov esi, eax
inc ebx
dec dword [ebp - 0x1c]
jne 0x48d435
inc esi
mov eax, esi
call fcn.00402ef8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x48d587
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, esi
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.004039e4
xor esi, esi
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x48d508
inc eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x48d4be
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
mov edx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
call fcn.004055f0
mov edx, dword [ebp - 0x10]
add edx, esi
mov ecx, dword [ebp - 0x20]
call fcn.004030f4
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x48d4ff
sub eax, 4
mov eax, dword [eax]
inc eax
add esi, eax
inc ebx
dec dword [ebp - 0x1c]
jne 0x48d494
inc esi
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 4]
call fcn.004055f0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48d571
xor eax, eax
push ebp
push 0x48d56a
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov eax, dword [ebp - 0x10]
push eax
push 7
push 0
mov eax, dword [ebp - 8]
call fcn.004055f0
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d571
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d58e
mov eax, dword [ebp - 0x10]
call fcn.00402f14
ret
Function at 0x48db00
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e0
xor eax, eax
push ebp
push 0x48db77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004055f0
mov dword [ebp - 8], eax
mov eax, dword [ebx*4 + 0x495114]
call fcn.004055f0
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push ebx
call sub.advapi32.dll_ReportEventA
push ebx
call sub.advapi32.dll_DeregisterEventSource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48db7e
lea eax, [ebp - 4]
call fcn.00405150
ret

Function at 0x48dc80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x48dd0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x49b0f8
xor ecx, ecx
mov edx, 0x58
call fcn.004039e4
mov dword [0x49b0f8], 0x58
push 0x49b0f8
call sub.PDRIVESDK.dll_PdriveSdk_Initialize
mov esi, eax
test esi, esi
je 0x48dcee
xor ebx, ebx
lea edx, [ebp - 8]
mov eax, esi
call fcn.0048d89c
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x48dd24
call fcn.00405478
mov eax, dword [ebp - 4]
call fcn.004055f0
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x48dcf0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dd12
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405174
ret

Function at 0x48dd34
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48ddf0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
mov ecx, 0xcc
mov edx, 8
call fcn.004039e4
push esi
lea eax, [ebp - 0x10]
push eax
call dword [0x49b0fc]
mov esi, eax
test esi, esi
je 0x48dda6
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.0048d89c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x48de08
call fcn.00405478
mov eax, dword [ebp - 0x24]
call fcn.004055f0
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x48ddd5
lea edx, [ebp - 8]
lea eax, [ebp - 0x20]
mov ecx, 8
call fcn.004082e0
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x18]
mov ecx, 8
call fcn.004082e0
push edi
push 0x10
lea eax, [ebp - 0x20]
push eax
call dword [0x49b13c]
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ddf7
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405174
ret
Function at 0x48e624
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x48e62c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e82f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4198fc]
call fcn.00404220
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48e80d
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x424b40]
call fcn.00424c78
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x48e753
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.0048e3f0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
dec eax
mov ebx, eax
test ebx, ebx
jl 0x48e73d
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00424cb4
mov edx, dword [0x48e340]
call fcn.00404400
mov edi, eax
lea eax, [ebp - 0x10]
movzx edx, byte [edi + 4]
call fcn.00405338
lea eax, [ebp - 0x10]
mov edx, 0x48e848
call fcn.0040542c
mov eax, dword [ebp - 0x10]
call fcn.0040a654
test al, al
je 0x48e735
lea eax, [ebp - 0x14]
movzx edx, byte [edi + 4]
call fcn.00405338
lea eax, [ebp - 0x14]
mov edx, 0x48e848
call fcn.0040542c
mov eax, dword [ebp - 0x14]
call fcn.004055f0
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x48e735
push 4
push 0
lea eax, [ebp - 0x18]
movzx edx, byte [edi + 4]
call fcn.00405338
lea eax, [ebp - 0x18]
mov edx, 0x48e848
call fcn.0040542c
mov eax, dword [ebp - 0x18]
call fcn.004055f0
push eax
call sub.kernel32.dll_MoveFileExA
inc esi
dec ebx
jne 0x48e69d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e75a
lea eax, [ebp - 8]
call fcn.004108d8
ret
Function at 0x48ea90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdac
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405ddc
xor eax, eax
push ebp
push 0x48ec81
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48ec3e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004059cc
mov edx, dword [ebp - 4]
mov eax, 0x48ec9c
call fcn.00405d48
cmp eax, 2
jne 0x48ebad
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 2]
call fcn.00405a84
mov eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x24c]
mov edx, dword [ebp - 4]
movzx edx, word [edx]
call fcn.00405a84
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 8]
pop ecx
call fcn.00405bc0
lea eax, [ebp - 0x242]
xor ecx, ecx
mov edx, 0x20a
call fcn.004039e4
push 0x20a
lea eax, [ebp - 0x242]
push eax
mov eax, dword [ebp - 8]
call fcn.00405b44
push eax
call sub.kernel32.dll_QueryDosDeviceW
movzx eax, byte [0x48eca0]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x242]
mov ecx, 0x105
call fcn.00405b18
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004325ac
mov edx, dword [ebp - 0x250]
lea eax, [ebp - 0xc]
call fcn.004059cc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.0048e99c
xor eax, eax
push ebp
push 0x48ec21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405b44
push eax
lea eax, [ebp - 0x20]
push eax
call dword [0x495128]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.NTDLL.DLL_NtCreatePagingFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ec28
call fcn.0048ea14
ret
Function at 0x48ed58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], ecx
test dl, dl
je 0x48ed92
add esp, 0xfffffff0
call fcn.00404574
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48eea3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00404220
mov dl, 1
mov eax, dword [0x42fc4c]
call fcn.0042fcbc
mov dword [esi + 4], eax
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esi + 8], eax
lea eax, [ebp - 0x109]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x109]
call fcn.0040ad74
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040f76c
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 4]
mov ecx, 0x48eed0
call fcn.00405478
mov eax, dword [ebp - 4]
call fcn.0040a6c0
test al, al
je 0x48ee23
lea eax, [esi + 0x14]
mov edx, dword [ebp - 4]
call fcn.004051a4
jmp 0x48ee53
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x109]
call fcn.0040ad74
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.0040f76c
mov edx, dword [ebp - 0x118]
lea eax, [esi + 0x14]
call fcn.004051a4
lea edx, [ebp - 0x120]
mov eax, dword [esi + 0xc]
call fcn.0040a988
mov edx, dword [ebp - 0x120]
lea eax, [esi + 0xc]
call fcn.004051a4
movzx eax, byte [0x48eee4]
mov byte [esi + 0x11], al
mov byte [esi + 0x10], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48eeaa
lea eax, [ebp - 0x120]
mov edx, 5
call fcn.00405174
lea eax, [ebp - 4]
call fcn.00405150
ret
Function at 0x48f500
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
xor edx, edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e0
lea eax, [ebp - 0x168]
mov edx, dword [0x408858]
call fcn.00405dfc
xor eax, eax
push ebp
push 0x48f71a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x169], 0
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 4]
call fcn.0040f7b8
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 4]
call fcn.004051e8
mov eax, dword [ebp - 4]
call fcn.0040a69c
test al, al
je 0x48f6de
xor eax, eax
push ebp
push 0x48f6d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 4]
call fcn.0040f76c
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 4]
call fcn.004051e8
lea eax, [ebp - 0x178]
mov ecx, 0x48f734
mov edx, dword [ebp - 4]
call fcn.00405478
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x168]
mov edx, 0x3f
call fcn.0040a83c
test eax, eax
jne 0x48f6b7
test byte [ebp - 0x158], 0x10
jne 0x48f644
push 0x80
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00405478
mov eax, dword [ebp - 0x17c]
call fcn.004055f0
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00405478
mov eax, dword [ebp - 0x180]
call fcn.004055f0
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x48f6a4
mov eax, dword [ebp - 0x154]
mov edx, 0x48f740
call fcn.00405588
je 0x48f6a4
mov eax, dword [ebp - 0x154]
mov edx, 0x48f74c
call fcn.00405588
je 0x48f6a4
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00405478
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 8]
call fcn.0040f76c
mov eax, dword [ebp - 8]
call fcn.004055f0
push eax
call sub.kernel32.dll_DeleteVolumeMountPointA
test eax, eax
je 0x48f6a4
mov eax, dword [ebp - 8]
call fcn.0040aad4
lea eax, [ebp - 0x168]
call fcn.0040a88c
test eax, eax
je 0x48f5ea
lea eax, [ebp - 0x168]
call fcn.0040a8b0
mov byte [ebp - 0x169], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f6de
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f721
lea eax, [ebp - 0x184]
mov edx, 6
call fcn.00405174
lea eax, [ebp - 0x168]
mov edx, dword [0x408858]
call fcn.00405ecc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405174
ret
Function at 0x48fb78
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x48fcac
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, 0x49b200
xor ecx, ecx
mov edx, 0x68
call fcn.004039e4
xor edx, edx
push ebp
push 0x48fc87
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, 1
lea eax, [ebp - 0x14]
mov edx, 0x48fcc4
movzx edx, byte [edx + ebx - 1]
call fcn.00405338
lea eax, [ebp - 0x14]
mov edx, 0x48fcd0
call fcn.0040542c
mov eax, dword [ebp - 0x14]
call fcn.004055f0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x48fc73
inc esi
mov dword [0x49b200], esi
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x18]
mov edx, 0x48fcc4
movzx edx, byte [edx + ebx - 1]
call fcn.00405338
lea eax, [ebp - 0x18]
mov edx, 0x48fcd0
call fcn.0040542c
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.0048d5d0
mov edx, 0x48fcc4
movzx edx, byte [edx + ebx - 1]
lea eax, [esi + esi*2]
mov byte [eax*8 + 0x49b1f0], dl
mov edx, dword [ebp - 8]
mov dword [eax*8 + 0x49b1f8], edx
mov edx, dword [ebp - 4]
mov dword [eax*8 + 0x49b1fc], edx
mov byte [eax*8 + 0x49b200], 1
inc ebx
cmp ebx, 4
jne 0x48fbbd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48fc91
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fcb3
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405174
ret

Function at 0x49079c
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov ebx, eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x490847
xor eax, eax
push ebp
push 0x490840
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebx + 8]
call fcn.004055f0
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x490829
xor eax, eax
push ebp
push 0x490822
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_ControlService
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490829
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490847
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491484
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x4914ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x491500
call fcn.004051e8
mov eax, dword [ebp - 4]
call fcn.0040a654
test al, al
je 0x4914d2
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x49152c
call fcn.00405478
mov eax, dword [ebp - 8]
call fcn.004055f0
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4914f4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405174
ret