joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404fe0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4b25c4]
push ebx
xor ebx, ebx
cmp eax, 4
setge bl
lea ecx, [eax + 0xd]
push ebp
mov dword [edi], vtable.AnalogModel.0
imul ebx, ecx
cmp eax, 5
mov dword [edi + 4], ebx
jl 0x40500e
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x405013
mov ecx, 1
mov edx, 1
shl edx, cl
push 2
xor ebp, ebp
mov dword [edi + 8], ecx
push edx
mov dword [edi + 0x10], ebp
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0xc], eax
jne 0x405039
jmp fcn.00402570
push esi
lea esi, [edi + 0x14]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x40505b
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x405060
mov ecx, 1
mov eax, 1
shl eax, cl
push 2
mov dword [edi + 0x48], ecx
mov dword [edi + 0x50], ebp
push eax
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x4c], eax
jne 0x405084
jmp fcn.00402570
lea esi, [edi + 0x54]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x4050a5
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x4050aa
mov ecx, 1
mov edx, 1
shl edx, cl
push 2
mov dword [edi + 0x88], ecx
mov dword [edi + 0x90], ebp
push edx
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x8c], eax
jne 0x4050d7
jmp fcn.00402570
lea esi, [edi + 0x94]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x4050fb
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x405100
mov ecx, 1
mov eax, 1
shl eax, cl
push 2
mov dword [edi + 0xc8], ecx
mov dword [edi + 0xd0], ebp
push eax
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0xcc], eax
jne 0x40512d
jmp fcn.00402570
lea esi, [edi + 0xd4]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x405151
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x405156
mov ecx, 1
mov edx, 1
shl edx, cl
push 2
mov dword [edi + 0x108], ecx
mov dword [edi + 0x110], ebp
push edx
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x10c], eax
jne 0x405183
jmp fcn.00402570
lea esi, [edi + 0x114]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x4051a7
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x4051ac
mov ecx, 1
mov eax, 1
shl eax, cl
push 2
mov dword [edi + 0x148], ecx
mov dword [edi + 0x150], ebp
push eax
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x14c], eax
jne 0x4051d9
jmp fcn.00402570
lea esi, [edi + 0x154]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x4051fd
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x405202
mov ecx, 1
mov edx, 1
shl edx, cl
push 2
mov dword [edi + 0x188], ecx
mov dword [edi + 0x190], ebp
push edx
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x18c], eax
jne 0x40522f
jmp fcn.00402570
lea esi, [edi + 0x194]
mov eax, ebx
call fcn.00402f70
pop esi
mov dword [edi + 0x1c8], ebp
pop ebp
mov eax, edi
pop ebx
ret
Function at 0x405680
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4b25c4]
xor ecx, ecx
cmp eax, 6
setge cl
push ebx
mov ebx, eax
xor edx, edx
push ebp
mov dword [edi], vtable.WordModel.0
sub ebx, ecx
add ebx, 0x11
cmp eax, 4
setge dl
imul ebx, edx
cmp eax, 5
mov dword [edi + 4], ebx
jl 0x4056ba
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x4056bf
mov ecx, 1
mov eax, 1
shl eax, cl
push 2
xor ebp, ebp
mov dword [edi + 8], ecx
push eax
mov dword [edi + 0x10], ebp
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0xc], eax
jne 0x4056e5
jmp fcn.00402570
push esi
lea esi, [edi + 0x14]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x405707
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x40570c
mov ecx, 1
mov edx, 1
shl edx, cl
push 2
mov dword [edi + 0x48], ecx
mov dword [edi + 0x50], ebp
push edx
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x4c], eax
jne 0x405730
jmp fcn.00402570
lea esi, [edi + 0x54]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x405751
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x405756
mov ecx, 1
mov eax, 1
shl eax, cl
push 2
mov dword [edi + 0x88], ecx
mov dword [edi + 0x90], ebp
push eax
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x8c], eax
jne 0x405783
jmp fcn.00402570
lea esi, [edi + 0x94]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x4057a7
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x4057ac
mov ecx, 1
mov edx, 1
shl edx, cl
push 2
mov dword [edi + 0xc8], ecx
mov dword [edi + 0xd0], ebp
push edx
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0xcc], eax
jne 0x4057d9
jmp fcn.00402570
lea esi, [edi + 0xd4]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x4057fd
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x405802
mov ecx, 1
mov eax, 1
shl eax, cl
push 2
mov dword [edi + 0x108], ecx
mov dword [edi + 0x110], ebp
push eax
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x10c], eax
jne 0x40582f
jmp fcn.00402570
lea esi, [edi + 0x114]
mov eax, ebx
call fcn.00402f70
cmp dword [0x4b25c4], 5
mov ebx, dword [edi + 4]
jl 0x405853
lea eax, [ebx - 2]
cmp eax, 1
lea ecx, [eax - 1]
jg 0x405858
mov ecx, 1
mov edx, 1
shl edx, cl
push 2
mov dword [edi + 0x148], ecx
mov dword [edi + 0x150], ebp
push edx
call fcn.0047f81b
add esp, 8
cmp eax, ebp
mov dword [edi + 0x14c], eax
jne 0x405885
jmp fcn.00402570
lea esi, [edi + 0x154]
mov eax, ebx
call fcn.00402f70
pop esi
mov dword [edi + 0x194], ebp
mov dword [edi + 0x188], ebp
mov dword [edi + 0x198], ebp
mov dword [edi + 0x18c], ebp
mov dword [edi + 0x19c], ebp
mov dword [edi + 0x190], ebp
pop ebp
mov eax, edi
pop ebx
ret
Function at 0x4585b0
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4b0f34]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
push ebp
push 0x20
lea eax, [esp + 0x40]
mov ebx, ecx
mov edi, edx
push 1
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0x10
call fcn.004800db
mov esi, eax
add esp, 0x10
cmp esi, 0x20
jae 0x45864c
sub esi, 0x10
lea eax, [esp + esi + 0x38]
push edi
push eax
push eax
call fcn.00406b30
add esp, 0xc
xor eax, eax
test esi, esi
jbe 0x45861f
nop
mov cl, byte [esp + eax + 0x48]
xor byte [esp + eax + 0x38], cl
add eax, 1
cmp eax, esi
jb 0x458610
push ebx
push esi
lea edx, [esp + 0x40]
push 1
push edx
call fcn.00480210
add esp, 0x10
sub eax, esi
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
and eax, 0xfffffff8
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0047ec3c
add esp, 0x5c
ret
lea esi, [esp + 0x38]
lea ebx, [esp + 0x48]
lea edi, [esp + 0x58]
push ebp
push 0x10
push 1
push edi
mov dword [esp + 0x24], ebx
call fcn.004800db
mov ebp, eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
call fcn.00406b30
add esp, 0x1c
test ebp, ebp
je 0x458746
cmp ebp, 0x10
je 0x458746
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x10], ebp
jbe 0x4586b0
mov edx, edi
lea eax, [esp + 0x28]
sub edx, eax
nop
lea eax, [esp + ecx + 0x28]
mov bl, byte [edx + eax]
xor byte [eax], bl
add ecx, 1
cmp ecx, ebp
jb 0x4586a0
cmp ebp, 0x10
jae 0x4586ce
mov edx, 0x10
sub edx, ebp
push edx
lea ecx, [esp + ebp + 0x2c]
lea eax, [edi + ebp]
push ecx
push eax
call fcn.00482050
add esp, 0xc
mov eax, dword [esp + 0x1c]
push eax
push edi
push edi
call fcn.00406b30
mov edx, esi
add esp, 0xc
lea ecx, [esi + 2]
mov eax, edi
sub edx, edi
mov dword [esp + 0x18], 4
mov edi, edi
movzx ebx, byte [edx + eax]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub dword [esp + 0x18], 1
jne 0x4586f0
mov ecx, dword [esp + 0x20]
push ecx
push 0x10
push 1
push edi
call fcn.00480210
add esp, 0x10
cmp eax, 0x10
je 0x45877a
pop edi
pop esi
pop ebp
mov eax, 0xfffffff8
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0047ec3c
add esp, 0x5c
ret
mov edx, esi
lea eax, [esp + 0x28]
xor ecx, ecx
sub edx, eax
lea eax, [esp + ecx + 0x28]
movzx ebx, byte [edx + eax]
xor byte [eax], bl
movzx ebx, byte [esi + ecx + 1]
xor byte [eax + 1], bl
movzx ebx, byte [esi + ecx + 2]
xor byte [eax + 2], bl
movzx ebx, byte [esi + ecx + 3]
xor byte [eax + 3], bl
add ecx, 4
cmp ecx, 0x10
jb 0x458750
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x30]
push 1
push edx
call fcn.00480210
add esp, 0x10
cmp eax, ebx
jne 0x45872e
cmp ebp, 0x10
jne 0x4587af
mov ebp, dword [esp + 0x24]
mov eax, esi
mov esi, dword [esp + 0x14]
mov ebx, edi
mov edi, eax
jmp 0x458658
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047ec3c
add esp, 0x5c
ret
Function at 0x458b50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x4b0f34]
xor eax, esp
mov dword [esp + 0x168], eax
push esi
push 0x160
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00482bd0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 0x10
jae 0x458b8b
lea eax, [ebp + 0xc]
push 0x110
push 0x160
lea ecx, [esp + 0x10]
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp dword [ebp + 0x20], 0x10
mov esi, dword [esp + 8]
jb 0x458bbc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00470055
add esp, 4
mov ecx, dword [esp + 0x16c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0047ec3c
mov esp, ebp
pop ebp
ret

Function at 0x458f70
Capabilities:
Create directory

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
lea eax, [edi + 4]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x10], eax
cmp edi, ebx
je 0x459052
mov esi, dword [esp + 0x24]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x459012
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x458fb9
mov esi, dword [esi]
mov eax, esi
xor edi, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x458fc0
sub eax, edx
je 0x459001
lea ecx, [ecx]
mov al, byte [edi + esi]
cmp al, 0x5c
je 0x458fdb
cmp al, 0x2f
jne 0x458fea
push ebx
push esi
mov byte [edi + esi], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [edi + esi], 0x5c
mov eax, esi
add edi, 1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x458ff2
sub eax, edx
cmp edi, eax
jb 0x458fd0
mov edi, dword [esp + 0x20]
add ebp, 1
add dword [esp + 0x10], 0x1c
jmp 0x458f86
cmp edi, ebx
je 0x459052
cmp edi, esi
je 0x459049
lea esi, [edi + 0x18]
lea ecx, [ecx]
cmp dword [esi], 0x10
jb 0x459031
mov ecx, dword [esi - 0x14]
push ecx
call fcn.00470055
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, dword [esp + 0x24]
jne 0x459020
push edi
call fcn.00470055
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
Function at 0x45a200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80c
mov eax, dword [0x4b0f34]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x4a7bd8
push esi
call fcn.00480690
mov edi, eax
add esp, 8
test edi, edi
je 0x45a317
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45a240
sub eax, edx
movsx eax, byte [eax + esi - 1]
push eax
call fcn.0047fbe1
add esp, 4
cmp eax, 0x65
jne 0x45a30e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45a267
sub eax, edx
movsx ecx, byte [eax + esi - 2]
push ecx
call fcn.0047fbe1
add esp, 4
cmp eax, 0x78
jne 0x45a30e
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45a290
sub eax, edx
movsx edx, byte [eax + esi - 3]
push edx
call fcn.0047fbe1
add esp, 4
cmp eax, 0x65
jne 0x45a30e
push edi
xor esi, esi
xor ebx, ebx
call fcn.00480989
add esp, 4
test eax, eax
jne 0x45a30e
nop
push edi
push 0x800
lea eax, [esp + 0x18]
push 1
push eax
call fcn.004800db
add esp, 0x10
mov cl, 0x4b
xor eax, eax
lea esp, [esp]
cmp cl, byte [esp + eax + 0x10]
jne 0x45a330
mov cl, byte [eax + 0x4a7bdd]
add eax, 1
test cl, cl
jne 0x45a2e0
push 0
push 0
push 0x800
push ebx
push esi
call fcn.00482590
push edx
push eax
push edi
call fcn.0048073c
add esp, 0x10
push edi
call fcn.00480c6a
add esp, 4
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0047ec3c
mov esp, ebp
pop ebp
ret
mov cl, 0x45
xor eax, eax
cmp cl, byte [esp + eax + 0x10]
jne 0x45a379
mov cl, byte [eax + 0x4a7be9]
add eax, 1
test cl, cl
jne 0x45a334
push edi
call fcn.00480c6a
add esp, 4
push 0
push 0x800
push ebx
push esi
call fcn.00482590
mov ecx, dword [esp + 0x814]
pop edi
add eax, 4
pop esi
adc edx, 0
pop ebx
xor ecx, esp
call fcn.0047ec3c
mov esp, ebp
pop ebp
ret
add esi, 1
push edi
adc ebx, 0
call fcn.00480989
add esp, 4
test eax, eax
je 0x45a2c0
jmp 0x45a30e
Function at 0x460b30
Capabilities:
Set registry value

Disassembly:
test esi, esi
jne 0x460b3e
push 0x80004005
call fcn.00401700
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
add eax, 1
push eax
mov eax, dword [esp + 0xc]
push esi
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x460b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x460bcf
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x460bad
cmp eax, 2
jne 0x460bbf
test esi, esi
mov eax, dword [esp]
je 0x460bcb
test eax, eax
je 0x460bc8
cmp byte [eax + esi - 1], 0
je 0x460bcb
mov eax, 0xd
pop ecx
ret 8
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x461970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x30
mov eax, dword [0x4b0f34]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
push 1
mov edi, ecx
push 0x1e
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.00466d30
mov eax, 4
mov ecx, 0x4b0004
lea edx, [esp + 0x1c]
mov edi, edi
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4619c8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4619b0
test eax, eax
je 0x461a25
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x461a17
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x461a25
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x461a17
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x461a25
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x461a17
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x461a25
movzx eax, byte [ecx]
movzx esi, byte [edx]
sub esi, eax
je 0x461a25
test esi, esi
mov eax, 1
jg 0x461a27
or eax, 0xffffffff
jmp 0x461a27
xor eax, eax
test eax, eax
jne 0x461b78
mov bl, byte [esp + 0x22]
movzx ecx, word [edi + 0x40]
mov eax, dword [0x4b4684]
shr bl, 3
and bl, 1
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x461a62
call fcn.00466fc0
test al, al
mov eax, 0x4655a0
jne 0x461a5d
mov eax, 0x4655d0
mov dword [0x4b4684], eax
push 2
lea edx, [esp + 0x26]
push edx
lea ecx, [esp + 0x18]
push ecx
call eax
mov dl, byte [edi + 0xc]
mov ax, word [esp + 0x1c]
xor dl, al
add esp, 0xc
test dl, 0xf
je 0x461a86
mov word [edi + 0xc], ax
mov eax, dword [0x4b4688]
test eax, eax
jne 0x461aa7
call fcn.00466fc0
test al, al
mov eax, 0x4655e0
jne 0x461aa2
mov eax, 0x465620
mov dword [0x4b4688], eax
push 2
lea esi, [edi + 0xe]
lea ecx, [esp + 0x28]
push esi
push ecx
call eax
add esp, 0xc
test al, al
je 0x461b78
movzx eax, word [esi]
test ax, ax
je 0x461ad1
cmp ax, 8
jne 0x461b78
mov eax, dword [0x4b4688]
test eax, eax
jne 0x461af2
call fcn.00466fc0
test al, al
mov eax, 0x4655e0
jne 0x461aed
mov eax, 0x465620
mov dword [0x4b4688], eax
push 2
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3e]
push ecx
call eax
add esp, 0xc
test al, al
je 0x461b78
test bl, bl
jne 0x461b1b
lea edx, [esp + 0x2a]
push edx
mov ecx, edi
call fcn.004617a0
test al, al
je 0x461b78
mov eax, dword [0x4b4684]
test eax, eax
jne 0x461b3c
call fcn.00466fc0
test al, al
mov eax, 0x4655a0
jne 0x461b37
mov eax, 0x4655d0
mov dword [0x4b4684], eax
mov edx, dword [esp + 0x18]
push 2
lea ecx, [esp + 0x3c]
push ecx
push edx
call eax
movzx eax, word [esp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ecx]
add esp, 0xc
cdq
push 1
push edx
push eax
mov eax, dword [esi + 0x10]
call eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0047ec3c
add esp, 0x30
ret 8
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.0047ec3c
add esp, 0x30
ret 8
Function at 0x462580
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xfc]
test byte [eax + 0xc], 1
je 0x4625d8
push ebp
xor ebp, ebp
cmp dword [ebx + 0x6c], ebp
jbe 0x4625d7
push esi
push edi
lea esp, [esp]
mov esi, dword [ebx + 0x7c]
movzx ecx, byte [esi + ebp]
mov edi, dword [ebx + 0x1a0]
add esi, ebp
push ecx
and edi, 0xfffd
mov ecx, ebx
or edi, 2
call fcn.004624d0
mov edx, edi
xor edx, 1
imul edx, edi
sar edx, 8
xor byte [esi], dl
add ebp, 1
cmp ebp, dword [ebx + 0x6c]
jb 0x4625a0
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4625e0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0xfc]
test byte [eax + 0xc], 1
je 0x462635
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
jbe 0x462633
jmp 0x462600
mov ecx, dword [edi + 0x1a0]
mov eax, dword [edi + 0x7c]
and ecx, 0xfffd
or ecx, 2
mov edx, ecx
xor edx, 1
imul edx, ecx
add eax, esi
sar edx, 8
xor byte [eax], dl
movzx eax, byte [eax]
push eax
mov ecx, edi
call fcn.004624d0
add esi, 1
cmp esi, ebp
jb 0x462600
pop esi
pop ebp
pop edi
ret 4

Function at 0x4629e0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x496a18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b0f34]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
push esi
push 0xc
lea ecx, [esp + 0x1c]
call fcn.00465900
mov eax, dword [esp + 0x18]
push esi
push 0xc
push eax
lea ecx, [edi + 0x84]
mov dword [esp + 0x34], esi
call fcn.00466d30
lea ecx, [ecx]
mov eax, dword [edi + 0x1a0]
mov ecx, dword [esp + 0x18]
and eax, 0xfffd
or eax, 2
mov ebx, eax
xor ebx, 1
imul ebx, eax
sar ebx, 8
xor bl, byte [ecx + esi]
mov ecx, edi
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x10]
push edx
call fcn.004624d0
add esi, 1
cmp esi, 0xc
jl 0x462a30
mov edi, dword [edi + 0xfc]
mov al, byte [edi + 0xc]
shr al, 3
test al, 1
je 0x462a7d
cmp byte [edi + 0x11], bl
jmp 0x462a80
cmp byte [edi + 0x17], bl
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x28], 0xffffffff
call fcn.00465930
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x466e00
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x466f00
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x466f22
cmp byte [esp + 0xc], al
je 0x466f1e
push esi
push 0x71
call fcn.00461ef0
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x467000
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4972a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
mov eax, dword [0x4b0f34]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x10]
call fcn.00462b30
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.00466fd0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x467077
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0046a240
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret
Function at 0x4670a0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4972e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0f34]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
call fcn.00462b30
lea ecx, [esp + 0x14]
push ecx
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], ebx
call fcn.00466fd0
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
mov byte [esp + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x4671cf
push 0x49a724
lea ecx, [esp + 0x18]
call fcn.00463af0
mov esi, dword [esp + 0x14]
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x46714c
push edi
lea ecx, [esp + 0x18]
call fcn.00401780
mov esi, dword [esp + 0x14]
cmp edi, ebx
mov byte [esi + ebp], 0x5c
jl 0x4671c5
cmp edi, dword [esi - 8]
jg 0x4671c5
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esi - 0xc], edi
push esi
mov byte [edi + esi], bl
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x4671cf
lea eax, [esi - 0x10]
mov byte [esp + 0x4c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46719e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0046a240
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x80070057
call fcn.00401700
mov edi, dword [esp + 0x1c]
imul edi, dword [esp + 0x20]
imul edi, dword [esp + 0x24]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x4c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467201
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0046a240
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret

Function at 0x467330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push 0
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x467349
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push esi
call fcn.00470050
add esp, 4
mov edi, eax
push edi
push esi
mov bl, 1
call ebp
test eax, eax
jne 0x467372
push edi
xor bl, bl
call fcn.00470055
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.00464640
push edi
call fcn.00470055
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
ret