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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce4
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x31c]
mov ecx, 0xc0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dx, 4
mov eax, dword [ebp - 0x10]
call fcn.0047239c
mov edx, dword [ebp - 0x18]
shl edx, 2
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + edx*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
mov eax, dword [eax*4 + 0x4fb298]
xor eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
shr edx, 8
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fb098]
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fae98]
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fac98]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4 + 4]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
mov eax, dword [eax*4 + 0x4fb398]
xor eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
shr edx, 8
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fb198]
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
and edx, 0x3f
xor eax, dword [edx*4 + 0x4faf98]
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fad98]
mov dword [ebp - 0xc], eax
mov dx, 4
mov eax, dword [ebp - 0xc]
call fcn.0047239c
mov edx, dword [ebp - 0x18]
shl edx, 2
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + edx*4 + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
mov eax, dword [eax*4 + 0x4fb298]
xor eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
shr edx, 8
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fb098]
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fae98]
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fac98]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4 + 0xc]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
mov eax, dword [eax*4 + 0x4fb398]
xor eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
shr edx, 8
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fb198]
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
and edx, 0x3f
xor eax, dword [edx*4 + 0x4faf98]
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fad98]
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 8
jne 0x4726d6
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x472864
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0047240c
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00472470
mov word [ebp - 0x22], 0
mov dx, 4
mov eax, dword [ebp - 0x20]
call fcn.0047239c
movzx edx, word [ebp - 0x22]
shl edx, 2
mov ecx, dword [ebp - 0x18]
xor eax, dword [ecx + edx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0x3f
mov eax, dword [eax*4 + 0x4fb298]
xor eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
shr edx, 8
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fb098]
mov edx, dword [ebp - 0x28]
shr edx, 0x10
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fae98]
mov edx, dword [ebp - 0x28]
shr edx, 0x18
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fac98]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp - 0x22]
shl eax, 2
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + eax*4 + 4]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0x3f
mov eax, dword [eax*4 + 0x4fb398]
xor eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
shr edx, 8
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fb198]
mov edx, dword [ebp - 0x28]
shr edx, 0x10
and edx, 0x3f
xor eax, dword [edx*4 + 0x4faf98]
mov edx, dword [ebp - 0x28]
shr edx, 0x18
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fad98]
mov dword [ebp - 0x1c], eax
mov dx, 4
mov eax, dword [ebp - 0x1c]
call fcn.0047239c
movzx edx, word [ebp - 0x22]
shl edx, 2
mov ecx, dword [ebp - 0x18]
xor eax, dword [ecx + edx*4 + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0x3f
mov eax, dword [eax*4 + 0x4fb298]
xor eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
shr edx, 8
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fb098]
mov edx, dword [ebp - 0x28]
shr edx, 0x10
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fae98]
mov edx, dword [ebp - 0x28]
shr edx, 0x18
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fac98]
mov dword [ebp - 0x20], eax
movzx eax, word [ebp - 0x22]
shl eax, 2
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + eax*4 + 0xc]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0x3f
mov eax, dword [eax*4 + 0x4fb398]
xor eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
shr edx, 8
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fb198]
mov edx, dword [ebp - 0x28]
shr edx, 0x10
and edx, 0x3f
xor eax, dword [edx*4 + 0x4faf98]
mov edx, dword [ebp - 0x28]
shr edx, 0x18
and edx, 0x3f
xor eax, dword [edx*4 + 0x4fad98]
mov dword [ebp - 0x20], eax
inc word [ebp - 0x22]
cmp word [ebp - 0x22], 8
jne 0x4728a4
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00472584
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.00472440
mov esp, ebp
pop ebp
ret
Function at 0x480904
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
add eax, 8
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 0xc]
shl eax, 0x18
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx + ecx*4 + 0xc]
shr edx, 8
or eax, edx
mov dword [ebp - 0x14], eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov eax, dword [eax*4 + 0x4fbabc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x4fbabc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4fbabc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
and eax, 0xff
mov eax, dword [eax*4 + 0x4fbabc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
shl eax, 8
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
or eax, edx
xor eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
shl edx, 0x10
mov ecx, dword [ebp - 0x20]
shr ecx, 0x10
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x24]
shl edx, 0x18
mov ecx, dword [ebp - 0x24]
shr ecx, 8
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4]
mov edx, dword [ebp - 0x10]
xor eax, dword [edx*4 + 0x4fb640]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x10], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4 + 0x10]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4 + 0x14]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4 + 0x18]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x1c], eax
add dword [ebp - 0xc], 4
cmp dword [ebp - 0xc], 0x28
jl 0x480950
mov esp, ebp
pop ebp
ret
Function at 0x4b0190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b02bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404a88
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fdiv dword [0x4b02d0]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004298a4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404ce0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a88
mov edx, eax
sub edx, dword [ebp - 0x24]
inc edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00404ce0
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404ad4
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004aff5c
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004b0074
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.00404e0c
mov eax, dword [ebp + 8]
call fcn.00404cd8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4b029c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + ecx - 1]
xor al, dl
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov byte [edx + ecx - 1], al
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x4b0274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b02c6
lea eax, [ebp - 0x2c]
call fcn.004047d0
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004047f4
ret
Function at 0x4b568c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4b5694
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b5886
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4b589c
mov eax, esi
call fcn.004b3294
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404824
lea ecx, [ebp - 0x10]
mov edx, 0x4b58b0
mov eax, esi
call fcn.004b3294
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404824
lea ecx, [ebp - 0x14]
mov edx, 0x4b58c8
mov eax, esi
call fcn.004b3294
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404824
lea ecx, [ebp - 0x18]
mov edx, 0x4b58e4
mov eax, esi
call fcn.004b3294
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404824
lea ecx, [ebp - 0x1c]
mov edx, 0x4b5900
mov eax, esi
call fcn.004b3294
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404824
lea ecx, [ebp - 0x24]
mov edx, 0x4b5918
mov eax, esi
call fcn.004b3294
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040901c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004094bc
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4b5930
mov eax, esi
call fcn.004b3294
mov eax, dword [ebp - 0x28]
call fcn.0045f7dc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4b5940
mov eax, esi
call fcn.004b3294
mov eax, dword [ebp - 0x2c]
call fcn.0045f7dc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4b5958
mov eax, esi
call fcn.004b3294
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004094bc
inc eax
je 0x4b5829
lea ecx, [ebp - 0x34]
mov edx, 0x4b5958
mov eax, esi
call fcn.004b3294
mov eax, dword [ebp - 0x34]
call fcn.00409480
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ace4
fstp qword [ebp - 0x3c]
wait
call fcn.0040b048
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4b5844
lea ecx, [ebp - 0x40]
mov edx, 0x4b5958
mov eax, esi
call fcn.004b3294
mov eax, dword [ebp - 0x40]
call fcn.0045f7dc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4b5968
mov eax, esi
call fcn.004b3294
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404824
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b588d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004047f4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004047f4
ret
Function at 0x4b898c
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 0x4b89e6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b897c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0045e2e4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045dee4
mov edx, dword [esi + 0xc]
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 0x4b89ed
lea eax, [ebp - 4]
call fcn.004047d0
ret
Function at 0x4de1ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
xor esi, esi
call fcn.004ddd88
test al, al
jne 0x4de1d7
mov eax, dword [esp]
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
jmp 0x4de22f
test ebx, ebx
je 0x4de22f
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
mov esi, dword [eax + 0x78]
add esi, ebx
mov ebp, dword [esi + 0x18]
dec ebp
test ebp, ebp
jl 0x4de22b
inc ebp
xor edi, edi
mov eax, dword [esi + 0x20]
add eax, ebx
mov eax, dword [eax + edi*4]
add eax, ebx
mov edx, dword [esp]
call fcn.00409904
test eax, eax
jne 0x4de227
mov eax, dword [esi + 0x24]
add eax, ebx
movsx eax, word [eax + edi*2]
mov edx, dword [esi + 0x1c]
add edx, ebx
mov eax, dword [edx + eax*4]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, ebx
mov dword [esp + 4], eax
inc edi
dec ebp
jne 0x4de1f2
mov esi, dword [esp + 4]
mov eax, esi
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41fbe0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f286b
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0xd8
mov dword [ebp - 0x544], eax
lea eax, [ebp - 0xf0]
push 0
push eax
mov byte [ebp - 0x531], 0
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x53c], eax
cmp eax, 0x6c
jae 0x41fd01
xor esi, esi
test eax, eax
je 0x41fd01
nop
push 0x410
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.00470cd0
mov eax, dword [0x502778]
add esp, 0xc
mov dword [ebp - 0x18], eax
movzx eax, word [0x50277c]
mov word [ebp - 0x14], ax
movzx eax, word [ebp + esi*2 - 0xf0]
add esi, 4
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x500]
push 0x207
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x538], esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41fcf5
lea esi, [ebp - 0x500]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41fcc1
sub esi, ecx
mov eax, edi
sar esi, 1
cmp dword [edi + 0x14], 8
jb 0x41fcda
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x500]
push ecx
push eax
call fcn.0049db5f
add esp, 0xc
test eax, eax
je 0x41fd22
mov esi, dword [ebp - 0x538]
cmp esi, dword [ebp - 0x53c]
jb 0x41fc60
mov al, byte [ebp - 0x531]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x51c], 7
cmp eax, esi
jb 0x41fe42
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x41fd5d
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x530]
call fcn.00421870
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fd80
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push 0
lea ecx, [ebp - 0x530]
call fcn.004219c0
mov esi, dword [ebp - 0x544]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x554], xmm0
movups xmmword [ebp - 0x518], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x518]
movq qword [ebp - 0x540], xmm0
movq qword [ebp - 0x508], xmm0
cmp esi, eax
je 0x41fe25
mov ecx, esi
call fcn.004212c0
movups xmm0, xmmword [ebp - 0x554]
xor eax, eax
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x504], 7
movups xmmword [esi], xmm0
mov word [ebp - 0x518], ax
movq xmm0, qword [ebp - 0x540]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x518]
call fcn.00417aa0
lea ecx, [ebp - 0x530]
call fcn.00417aa0
mov al, 1
jmp 0x41fd07
call fcn.00421440
int3
Function at 0x420ae0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2988
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5341c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x420b5b
test al, 0x10
je 0x420b5b
push esi
mov edi, 1
call fcn.004303d0
add esp, 4
test eax, eax
jne 0x420b7e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x420b7e
push esi
test edi, edi
jne 0x420b76
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x420b7e
push esi
push 0x502584
call fcn.00422f00
add esp, 8
jmp 0x420b7e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x420b2c
push esi
push 0x502584
call fcn.00422f00
add esp, 8
jmp 0x420b7e
call fcn.004303d0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420bff
push esi
lea ecx, [ebp - 0x10]
call fcn.00406a20
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x420bbe
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00406f60
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x420bca
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.0041e4b0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420bec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42be50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3e20
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5341c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
push edi
push str.delet_key:__s___s
call fcn.00422f00
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x10], 0
or eax, 0x1000b
push ecx
push eax
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x42bf04
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42bf70
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push esi
push edi
lea eax, [ebp + 0x14]
mov dword [ebp - 4], ebx
push str.delet_key:__s___s_ok
push eax
call fcn.004072e0
mov esi, dword [ebp + 0x14]
push esi
push 0x5032b0
call fcn.00422f00
add esp, 0x18
jmp 0x42bf43
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42bf7a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push ebx
push esi
push edi
lea eax, [ebp + 0x14]
mov dword [ebp - 4], 1
push str.delet_key:__s___s__d
push eax
call fcn.004072e0
mov esi, dword [ebp + 0x14]
push esi
push 0x5032b0
call fcn.00422f00
add esp, 0x1c
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42bf5e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403b30
push 0x80004005
call fcn.00403b30
int3

Function at 0x42d060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 0x18]
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42d0c7
mov edx, dword [ebp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d095
sub eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret