joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fd68c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fd88c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.005035f8
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x5c4320], eax
mov eax, dword [ebp - 0xc]
mov dword [0x5c4324], eax
mov eax, dword [ebp - 0x24]
mov dword [0x5c4328], eax
mov eax, dword [0x5c7f68]
cmp dword [eax], 2
sete byte [0x5c3b01]
push 0x4fd898
call sub.kernel32.dll_GetModuleHandleW
lea edx, [ebp - 4]
call fcn.004faf2c
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x5c3b01], 0
jne 0x4fd71b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004fb574
test al, al
je 0x4fd71b
mov eax, dword [ebp - 0x4c]
mov dword [0x5cd8a0], eax
jmp 0x4fd722
xor eax, eax
mov dword [0x5cd8a0], eax
call fcn.004fd368
and eax, 0x7f
cmp eax, 0x14
ja case.0x4fd733.0
jmp dword [eax*4 + 0x4fd73a]
mov byte [0x5c3afc], 1
jmp case.0x4fd733.0
mov byte [0x5c3afd], 1
jmp case.0x4fd733.0
mov byte [0x5c3afe], 1
jmp case.0x4fd733.0
mov byte [0x5c3aff], 1
jmp case.0x4fd733.0
mov byte [0x5c3b00], 1
jmp case.0x4fd733.0
mov byte [0x5c3b02], 1
mov byte [0x5c3b03], 1
jmp case.0x4fd733.0
mov byte [0x5c3b02], 1
mov byte [0x5c3b04], 1
jmp case.0x4fd733.0
mov byte [0x5c3b02], 1
mov byte [0x5c3b04], 1
mov byte [0x5c3b05], 1
jmp case.0x4fd733.0
mov byte [0x5c3b06], 1
jmp case.0x4fd733.0
mov byte [0x5c3b07], 1
jmp case.0x4fd733.0
mov byte [0x5c3b08], 1
jmp case.0x4fd733.0
mov byte [0x5c3b09], 1
jmp case.0x4fd733.0
mov byte [0x5c3b0a], 1
jmp case.0x4fd733.0
mov byte [0x5c3b0b], 1
jmp case.0x4fd733.0
mov byte [0x5c3b0c], 1
jmp case.0x4fd733.0
mov byte [0x5c3b0d], 1
jmp case.0x4fd733.0
mov byte [0x5c3b0e], 1
jmp case.0x4fd733.0
mov byte [0x5c3b0f], 1
jmp case.0x4fd733.0
mov byte [0x5c3b10], 1
jmp case.0x4fd733.0
mov byte [0x5c3b11], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd893
lea eax, [ebp - 4]
call fcn.00406b08
ret

Function at 0x501114
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x501178
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.00407740
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0041e0ec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50117f
lea eax, [ebp - 0x14]
call fcn.00406b08
ret
Function at 0x502f24
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x502f39
add esp, 0xfffffff0
call fcn.004055b0
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00405050
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00406ee8
mov eax, esi
call fcn.0040769c
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexW
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x502f8d
mov ecx, dword [0x5c7d74]
mov dl, 1
mov eax, dword [0x502b20]
call fcn.004f4930
call fcn.004061f0
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x502fb4
call fcn.00405608
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x5060bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x506190
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406f30
lea eax, [ebp - 4]
call fcn.004070e0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x50617a
mov eax, ebx
call fcn.00404404
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x506173
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x50615d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5061a0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x50615d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50617a
mov eax, dword [ebp - 0x10]
call fcn.00404420
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506197
lea eax, [ebp - 4]
call fcn.00406b08
ret
Function at 0x514334
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov edi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test ebp, ebp
je 0x51441a
mov ebx, eax
mov eax, ebp
mov esi, 3
cdq
idiv esi
lea eax, [eax + eax*2]
mov dword [esp], eax
mov esi, ebx
add esi, dword [esp]
jmp 0x5143af
movzx eax, byte [ebx]
shl eax, 8
movzx edx, byte [ebx + 1]
or eax, edx
shl eax, 8
movzx edx, byte [ebx + 2]
or eax, edx
add ebx, 3
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 3], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
movzx eax, byte [edi + eax]
mov byte [ecx], al
add ecx, 4
cmp ebx, esi
jb 0x514361
sub ebp, dword [esp]
dec ebp
je 0x5143be
dec ebp
je 0x5143e3
jmp 0x51441a
movzx eax, byte [ebx]
shl eax, 4
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
movzx eax, byte [edi + eax]
mov byte [ecx], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x51441a
movzx eax, byte [ebx]
shl eax, 8
movzx edx, byte [ebx + 1]
or eax, edx
shl eax, 2
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
movzx eax, byte [edi + eax]
mov byte [ecx], al
mov byte [ecx + 3], 0x3d
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x514578
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov esi, eax
mov eax, esi
call fcn.00406fe0
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, edx
add edx, edx
mov eax, dword [esp]
xor ecx, ecx
call fcn.00407308
mov eax, esi
call fcn.00406fe0
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x5146ba
mov ebx, 1
mov eax, esi
call fcn.00406fe0
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x5145fa
mov eax, esi
call fcn.00406fe0
mov ecx, eax
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
sub ecx, eax
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
call fcn.0040464c
jmp 0x514611
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
mov ecx, 3
call fcn.0040464c
movzx eax, byte [esp + 4]
mov edx, eax
and dl, 0xfc
movzx edx, dl
shr edx, 2
mov ecx, dword [0x5c509c]
movzx edx, byte [ecx + edx]
mov byte [esp + 7], dl
and al, 3
movzx ebp, al
shl ebp, 4
movzx edx, byte [esp + 5]
mov eax, edx
and al, 0xf0
movzx eax, al
shr eax, 4
or ebp, eax
mov eax, dword [0x5c509c]
movzx eax, byte [eax + ebp]
mov byte [esp + 8], al
and dl, 0xf
movzx ebp, dl
add ebp, ebp
add ebp, ebp
movzx eax, byte [esp + 6]
mov edx, eax
and dl, 0xc0
movzx edx, dl
shr edx, 6
or ebp, edx
mov edx, dword [0x5c509c]
movzx edx, byte [edx + ebp]
mov byte [esp + 9], dl
and al, 0x3f
movzx eax, al
mov edx, dword [0x5c509c]
movzx eax, byte [edx + eax]
mov byte [esp + 0xa], al
mov eax, dword [esp]
call fcn.004070d8
mov edx, ebx
dec edx
add edx, edx
add edx, edx
lea edx, [eax + edx]
lea eax, [esp + 7]
mov ecx, 4
call fcn.0040464c
inc ebx
dec edi
jne 0x5145c7
mov eax, esi
call fcn.00406fe0
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x514700
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00406fe0
mov ebx, eax
mov eax, dword [esp]
call fcn.004070d8
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00406fe0
mov ebx, eax
mov eax, dword [esp]
call fcn.004070d8
mov byte [eax + ebx - 1], 0x3d
jmp 0x51472d
mov eax, esi
call fcn.00406fe0
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x51472d
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00406fe0
mov ebx, eax
mov eax, dword [esp]
call fcn.004070d8
mov byte [eax + ebx - 1], 0x3d
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x52413c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x52416a
mov eax, ebx
call fcn.00524bf0
cmp dword [ebx + 0x40], 0
je 0x524163
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5241db
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5241cd
cmp dword [ebx + 8], 0
je 0x52418c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x52419e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5241cd
cmp dword [ebx + 8], 0
je 0x52417f
cmp eax, 3
je 0x5241b1
dec eax
jne 0x52417f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x52417f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x52417f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5241f9
cmp dword [ebx + 0x14], 0xcc
je 0x5241f9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00524204
pop ebx
ret

Function at 0x53e514
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x53e5e2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x53e5ba
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 8
call fcn.00404a64
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x53e5f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x53e582
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x53e664
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, dword [0x5c7efc]
mov word [eax], 0x2e
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x10]
call fcn.0041f430
mov eax, dword [ebp - 0x34]
mov edx, dword [0x5c7c34]
call fcn.004203b0
fstp xword [ebp - 0x30]
wait
fld xword [ebp - 0x30]
fstp qword [ebp - 8]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e5cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e5e9
lea eax, [ebp - 0x34]
call fcn.00406b08
ret
Function at 0x540e84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x540f2b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x540f15
lea eax, [ebp - 4]
mov edx, edi
call fcn.00407818
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x540f15
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x540f3c
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x540f15
cmp dword [ebp - 0xc], 0x34
jne 0x540f15
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x540f32
lea eax, [ebp - 4]
call fcn.00406b08
ret
Function at 0x540f40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406bec
xor eax, eax
push ebp
push 0x541099
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x540f7d
lea edx, [ebp - 4]
xor eax, eax
call fcn.004251f8
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
setg bl
test bl, bl
je 0x54107e
mov eax, edi
call fcn.00404404
mov esi, eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5410ac
push esi
call sub.version.dll_VerQueryValueW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x540fe4
mov eax, esi
call fcn.00404420
jmp 0x54107e
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x5410ec
call fcn.0041f5f8
lea eax, [ebp - 0xc]
mov ecx, 0x54112c
mov edx, dword [ebp - 8]
call fcn.004078f0
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040769c
push eax
push esi
call sub.version.dll_VerQueryValueW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x54106f
cmp dword [ebp - 0x1c], 1
jbe 0x54106f
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.004076ec
mov edx, dword [ebp - 0x1c]
dec edx
mov eax, dword [ebp - 0x10]
call fcn.00407818
jmp 0x541077
mov eax, dword [ebp - 0x10]
call fcn.00406b08
mov eax, esi
call fcn.00404420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5410a0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406b68
ret

Function at 0x545108
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x64e9f4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x54512a
shr eax, 1
xor eax, 0xedb88320
jmp 0x54512c
shr eax, 1
dec edx
jne 0x545118
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x545111
mov byte [0x64edf4], 1
pop esi
pop ebx
ret

Function at 0x545148
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x64edf4], 0
jne 0x54515f
call fcn.00545108
mov eax, edi
dec eax
test eax, eax
jl 0x545187
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x64e9f4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x545169
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x547f14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x547fae.0
jmp dword [ecx*4 + 0x547f47]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x547f79
sub dl, 8
je 0x547f88
jmp case.0x547fae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547bbc
jmp case.0x547fae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547c14
jmp case.0x547fae.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x547fae.0
movzx ecx, byte [ecx + 0x547fb5]
jmp dword [ecx*4 + 0x547fc6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547cc0
jmp case.0x547fae.0
cmp dl, 3
jne 0x547ff3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547d18
jmp case.0x547fae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547cd4
jmp case.0x547fae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547d5c
jmp case.0x547fae.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x54801e
sub dl, 8
je 0x54802a
jmp case.0x547fae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547d88
jmp case.0x547fae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547df4
jmp case.0x547fae.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x548049
sub dl, 8
je 0x548055
jmp case.0x547fae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547eb0
jmp case.0x547fae.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x547ed8
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5480f7
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005470c0
test eax, eax
je 0x5480f7
mov eax, ebx
call fcn.00548100
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x548090
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x548100
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x548131
dec al
je 0x54816c
dec al
je 0x5481b1
dec al
je 0x54821a
jmp 0x5482a4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5482a4
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x548141
jmp 0x5482a4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5482a4
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x54817c
jmp 0x5482a4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5482a4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5481e0
xor ebp, ebp
jmp 0x5481f0
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5481f9
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5481c1
jmp 0x5482a4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5482a4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x548273
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00545190
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x54822e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x54ced4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x104], 2
jne 0x54cf17
cmp dword [ebp - 0x110], 5
ja 0x54cf1b
cmp dword [ebp - 0x110], 5
jne 0x54cf17
cmp dword [ebp - 0x10c], 1
jae 0x54cf1b
xor eax, eax
jmp 0x54cf1d
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x55eae0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x55eb93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
lea eax, [ebp - 4]
mov edx, 0x55ebb0
call fcn.00406f30
xor ebx, ebx
mov ecx, ebx
mov eax, 1
shl eax, cl
test eax, esi
je 0x55eb6f
lea eax, [ebp - 4]
call fcn.004070d0
mov word [eax], 0x41
lea eax, [ebp - 4]
call fcn.004070d0
add word [eax], bx
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
jne 0x55eb6f
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0055ea58
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x3c]
inc ebx
cmp ebx, 0x1a
jne 0x55eb1b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55eb9a
lea eax, [ebp - 0xc]
call fcn.00406b08
lea eax, [ebp - 4]
call fcn.00406b08
ret