joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491ab8
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4ca88c]
or eax, 0x4011
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x10
push 0x491afc
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x491af2
mov eax, dword [esp + 4]
jmp 0x491af4
xor eax, eax
add esp, 0x160
pop ebx
ret

Function at 0x491b0c
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffff0
call sub.kernel32.dll_GetVersion_1
mov edx, eax
and dx, 0xff
cmp dx, 5
ja 0x491b39
mov edx, eax
and dx, 0xff
cmp dx, 5
jne 0x491ba0
shr ax, 8
cmp ax, 1
jb 0x491ba0
mov bl, 1
push esp
push 1
push 0
push 0x491bac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x491ba2
mov dword [esp + 0xc], 4
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x491be8
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x491b95
cmp dword [esp + 4], 4
jne 0x491b95
cmp dword [esp + 0xc], 4
jne 0x491b95
cmp dword [esp + 8], 0
setne bl
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x491ba2
xor ebx, ebx
mov eax, ebx
add esp, 0x10
pop ebx
ret

Function at 0x492878
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x492908
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
mov bl, 0x41
test esi, 1
je 0x4928ea
push 0
push 0
push 1
lea eax, [ebp - 8]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.00402c88
mov edx, 0x492918
lea eax, [ebp - 0xc]
mov cl, 2
call fcn.00402c58
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.004043c4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.0049254c
shr esi, 1
inc ebx
cmp bl, 0x5b
jne 0x49289c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49290f
lea eax, [ebp - 4]
call fcn.00404160
ret
Function at 0x49291c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x492a57
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x492a32
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x148]
push eax
lea edx, [ebp - 0x14c]
mov eax, esi
call fcn.00491208
lea eax, [ebp - 0x14c]
mov edx, 0x492a6c
call fcn.00404444
mov eax, dword [ebp - 0x14c]
call fcn.0040463c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x492a1b
xor eax, eax
push ebp
push 0x492a14
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x148]
call fcn.004918e0
test al, al
je 0x4929e9
push 0
push 0
push 0
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004043d0
mov ecx, dword [ebp - 0x150]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.0049254c
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4929ab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492a1b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492a39
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x495bd4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x495c02
mov eax, ebx
call fcn.00496688
cmp dword [ebx + 0x40], 0
je 0x495bfb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x495c73
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x495c65
cmp dword [ebx + 8], 0
je 0x495c24
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 0x495c36
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x495c65
cmp dword [ebx + 8], 0
je 0x495c17
cmp eax, 3
je 0x495c49
dec eax
jne 0x495c17
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 0x495c17
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x495c17
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x495c91
cmp dword [ebx + 0x14], 0xcc
je 0x495c91
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.00495c9c
pop ebx
ret
Function at 0x4a730c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a756c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a736f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004a6fec
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ccc0
cmp al, 1
jne 0x4a736f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004a72b4
test al, al
je 0x4a74fb
cmp dword [ebp - 8], 0
jge 0x4a738d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004a6fec
mov eax, dword [ebp - 0x210]
call fcn.0040443c
cmp ebx, eax
jge 0x4a73d7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004a6fec
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4cf3dc]
and eax, 0xff
bt dword [edx], eax
jae 0x4a73d7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4a73eb
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a72e8
cmp ebx, dword [ebp - 8]
je 0x4a74ed
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4a7417
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cb1a4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4a74da
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cb1a4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045c5e4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cb1a4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045c5e4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a74e1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4a754e
cmp dword [ebp - 8], 0
jge 0x4a7506
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004a6fec
mov eax, dword [ebp - 0x218]
call fcn.0040443c
cmp eax, dword [ebp - 8]
jg 0x4a7540
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004a6fec
mov eax, dword [ebp - 0x21c]
call fcn.0040443c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a72e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7573
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404184
ret
Function at 0x4b3868
Capabilities:
Shutdown system

Disassembly:
push ebx
mov ebx, 6
mov eax, dword [0x4cf3f0]
cmp dword [eax], 2
jne 0x4b387d
call fcn.004b37e8
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
pop ebx
ret
Function at 0x4b41a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b426a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.00404588
jne 0x4b41d5
mov bl, 1
jmp 0x4b424c
push 0
mov eax, ebx
call fcn.0040463c
push eax
mov eax, dword [ebp - 4]
call fcn.0040463c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4b41f5
mov bl, 1
jmp 0x4b424c
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1c]
call fcn.0040ba90
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x18]
mov eax, dword [0x4cf0dc]
mov eax, dword [eax]
mov ecx, 1
call fcn.004098b0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004b39d0
cmp eax, 3
jne 0x4b423e
xor ebx, ebx
jmp 0x4b424c
cmp eax, 5
jne 0x4b4247
mov bl, 1
jmp 0x4b424c
cmp eax, 4
jmp 0x4b41d5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4271
lea eax, [ebp - 0x1c]
call fcn.00404160
lea eax, [ebp - 8]
call fcn.00404160
ret

Function at 0x4b443c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040462c
xor eax, eax
push ebp
push 0x4b4509
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408e24
test al, al
jne 0x4b4476
mov bl, 1
jmp 0x4b44e6
mov eax, dword [ebp - 4]
call fcn.0040463c
push eax
call sub.kernel32.dll_RemoveDirectoryA
test eax, eax
je 0x4b448c
mov bl, 1
jmp 0x4b44e6
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1c]
call fcn.0040ba90
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x18]
mov eax, dword [0x4cf2d0]
mov eax, dword [eax]
mov ecx, 1
call fcn.004098b0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004b39d0
cmp eax, 3
jne 0x4b44d8
xor ebx, ebx
jmp 0x4b44e6
cmp eax, 5
jne 0x4b44e1
mov bl, 1
jmp 0x4b44e6
cmp eax, 4
jmp 0x4b4476
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4510
lea eax, [ebp - 0x1c]
call fcn.00404160
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404184
ret
Function at 0x4b45f8
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b47c6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4b4793
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.0047f0e0
lea eax, [ebp - 0x154]
mov edx, 0x4b47dc
call fcn.00404444
mov eax, dword [ebp - 0x154]
call fcn.0040463c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4b4793
xor eax, eax
push ebp
push 0x4b478c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4b47e0
lea eax, [ebp - 0x124]
call fcn.004092b0
test eax, eax
je 0x4b475d
mov edx, 0x4b47e4
lea eax, [ebp - 0x124]
call fcn.004092b0
test eax, eax
je 0x4b475d
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 8]
call fcn.0047f0e0
mov eax, dword [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.004043d0
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x10]
pop edx
call fcn.00404488
mov ebx, dword [ebp - 0x150]
test bl, 1
je 0x4b4715
and ebx, 0xfffffffe
push ebx
mov eax, dword [ebp - 0x10]
call fcn.0040463c
push eax
call sub.kernel32.dll_SetFileAttributesA
test byte [ebp - 0x150], 0x10
jne 0x4b4745
mov eax, dword [ebp - 0x10]
call fcn.0040463c
mov edx, eax
lea eax, [ebp - 0x160]
call fcn.00404358
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.004b4518
mov ebx, eax
jmp 0x4b4752
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b45f8
mov ebx, eax
test bl, bl
jne 0x4b475d
call fcn.00403c48
jmp 0x4b47a0
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4b468e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4793
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
ret
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b443c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b47cd
lea eax, [ebp - 0x160]
mov edx, 4
call fcn.00404184
lea eax, [ebp - 0x10]
call fcn.00404160
ret
Function at 0x4b48dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edx
xor eax, eax
push ebp
push 0x4b49bc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xff
lea eax, [ebp - 0x20c]
push eax
lea edx, [ebp - 0x214]
mov al, 1
call fcn.0047f464
mov eax, dword [ebp - 0x214]
mov dl, byte [eax]
lea eax, [ebp - 0x210]
call fcn.00404348
lea eax, [ebp - 0x210]
mov edx, 0x4b49d4
call fcn.00404444
mov eax, dword [ebp - 0x210]
call fcn.0040463c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4b499e
lea edx, [ebp - 0x218]
lea eax, [ebp - 0x10c]
call fcn.004093c0
mov eax, dword [ebp - 0x218]
mov edx, 0x4b49e0
call fcn.004084e8
test eax, eax
jne 0x4b499c
mov bl, 2
jmp 0x4b499e
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b49c3
lea eax, [ebp - 0x218]
mov edx, 3
call fcn.00404184
ret

Function at 0x4b75cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4b75fb
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4b767a
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004b5e88
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4b7648
mov cx, word [esp]
sub cx, si
jmp 0x4b764a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4b7631
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4b7670
mov cx, word [esp]
sub cx, si
jmp 0x4b7672
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4b7659
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4b76d7
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004b72a0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4b76c2
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4b76d7
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4b75d6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bdc0c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4d1030
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4bdc2e
shr eax, 1
xor eax, 0xedb88320
jmp 0x4bdc30
shr eax, 1
dec edx
jne 0x4bdc1c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4bdc15
mov byte [0x4d1430], 1
pop esi
pop ebx
ret

Function at 0x4bdc4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4d1430], 0
jne 0x4bdc63
call fcn.004bdc0c
mov eax, edi
dec eax
test eax, eax
jl 0x4bdc8c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4d1030]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4bdc6d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4c06ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4c071d
dec al
je 0x4c0759
dec al
je 0x4c079d
dec al
je 0x4c0808
jmp 0x4c0892
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4c0892
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, 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 0x4c072d
jmp 0x4c0892
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c0892
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4c0769
jmp 0x4c0892
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c0892
mov esi, 1
mov al, 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 0x4c07cb
xor ebp, ebp
jmp 0x4c07dc
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4c07e5
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4c07ad
jmp 0x4c0892
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c0892
mov esi, 1
mov al, 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 0x4c0860
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, 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
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004bdc94
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4c081c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xfe03be
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, word [esp + 2]
clc
jmp 0xfe03ca
jne 0xfe0391
mov al, 0xe7
jmp 0xfe0482
Function at 0x401079
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push str.__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push 0x2d1080
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret

Function at 0x401302
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push ebx
push esi
push edi
lea eax, [ebp - 0x238]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
xor esi, esi
mov word [ebp - 0xc], si
xor eax, eax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
movzx eax, word [ebp + eax*2 - 0x238]
cmp ax, 0x41
je 0x4013ea
cmp ax, 0x42
je 0x4013ea
cmp ax, si
je 0x4013fb
movzx eax, ax
push eax
lea eax, [ebp - 0xc]
push 0x402088
push eax
call ebx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x440]
push str.__s
push eax
mov dword [ebp - 0x10], esi
call ebx
add esp, 0x18
push esi
push esi
push 3
push esi
push 3
push 0x80000000
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4013ea
push esi
lea eax, [ebp - 0x10]
push eax
push 0x20
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push 0x74004
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jne 0x4013ea
lea eax, [ebp - 0xc]
push eax
call fcn.00401079
cmp eax, dword [ebp + 8]
pop ecx
je 0x401402
add dword [ebp - 4], 4
cmp dword [ebp - 4], 0x104
jl 0x401337
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x4013fd
Function at 0x401407
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40142c
mov dword [section..data], 1
xor edi, edi
xor esi, esi
inc esi
push esi
push edi
call fcn.004011a4
test eax, eax
pop ecx
pop ecx
je 0x401491
push esi
push edi
lea eax, [esp + 0x18]
push str.DeviceHarddisk_dPartition_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
push edi
call fcn.00401302
add esp, 0x18
test eax, eax
jne 0x40148b
and word [esp + 8], ax
and word [esp + 0xc], ax
mov word [esp + 0xa], 0x3a
call fcn.0040104f
mov word [esp + 8], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
inc esi
cmp esi, 0x1e
jl 0x401431
inc edi
cmp edi, 0xa
jl 0x40142e
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4014ce
Capabilities:
Accept command line arguments

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x401041
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2 - 2]
movzx ecx, word [eax]
cmp cx, 0x20
je 0x401039
cmp cx, 9
jne 0x401041
and word [eax], 0
dec eax
dec eax
jmp 0x40102a
mov eax, esi
pop esi
ret
call section..text
jmp 0x401018
push esi
push 0x22
pop esi
call 0x401045
cmp word [eax], si
jne 0x4014b1
inc eax
inc eax
jmp 0x4014b4
push 0x20
pop esi
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
pop esi
je 0x4014cd
and word [eax], 0
add eax, 2
jmp 0x401045
ret
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x40149f