joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4064dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 9
call esi
test al, al
jns 0x40654a
push 0x11
call esi
test al, al
js 0x40654a
push 0x10
call esi
test al, al
js 0x40654a
push 0x12
call esi
test al, al
js 0x40654a
mov esi, dword [sym.imp.USER32.dll_GetFocus]
push 5
lea eax, [ebp - 8]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
push 4
lea eax, [ebp - 8]
push str.Rich
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x40654a
push eax
push eax
push 0x44e
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ax, 0x800
je 0x40656e
push str.PB_WindowID
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
je 0x40656e
dec eax
push eax
push dword [0x40b424]
call fcn.00406f90
mov eax, dword [eax + 8]
jmp 0x406570
xor eax, eax
pop esi
leave
ret 4

Function at 0x406733
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x4067a6
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call sub.MSVCRT.dll_strlen
add esp, 0x10
lea eax, [ebp + eax - 0x108]
jmp 0x406788
lea ecx, [eax - 1]
mov dl, byte [ecx]
cmp dl, 0x20
je 0x406786
cmp dl, 0x5c
je 0x406786
cmp dl, 0x2f
jne 0x406792
mov eax, ecx
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x406772
mov byte [eax], 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
jmp 0x4067a8
xor eax, eax
leave
ret 4

Function at 0x4067b0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [esi + 0x14], eax
mov dword [esp + 4], eax
jne 0x4067e5
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4
Function at 0x406a70
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [0x40b434]
push esi
push eax
push ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00406f90
mov esi, eax
test esi, esi
je 0x406b42
mov ecx, dword [esp + 0x14]
test ecx, ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
je 0x406afa
cmp byte [ecx], 0
je 0x406afa
cmp dword [esi + 4], 0
mov eax, ecx
push edi
lea edi, [eax + 1]
je 0x406ae0
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x406ac0
sub eax, edi
push eax
push ecx
push esi
call fcn.00406c30
mov dword [esp + 0xc], eax
jmp 0x406af9
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x406ae0
push 0
lea edx, [esp + 0x10]
push edx
sub eax, edi
push eax
mov eax, dword [esi]
push ecx
push eax
call ebp
pop edi
cmp dword [esi + 4], 0
je 0x406b1d
push 2
push 0x4090e8
push esi
call fcn.00406c30
mov ecx, eax
mov eax, dword [esp + 8]
pop ebp
add eax, ecx
pop esi
add esp, 8
ret 8
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
push 0x4090e8
push edx
call ebp
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
pop ebp
add eax, ecx
pop esi
add esp, 8
ret 8
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 8

Function at 0x406b50
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
mov dword [esp + 4], eax
je 0x406b99
cmp byte [esi], al
je 0x406b99
mov eax, dword [esp + 0xc]
mov ecx, dword [0x40b434]
push eax
push ecx
call fcn.00406f90
test eax, eax
je 0x406bc7
cmp dword [eax + 4], 0
mov ecx, esi
push edi
lea edi, [ecx + 1]
je 0x406ba0
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x406b85
sub ecx, edi
push ecx
push esi
push eax
call fcn.00406c30
pop edi
pop esi
pop ecx
ret 8
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x406ba0
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
sub ecx, edi
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8

Function at 0x406bd0
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov dword [esp + 4], eax
je 0x406c29
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x406c28
mov eax, dword [esp + 0x10]
mov ecx, dword [0x40b434]
push eax
push ecx
call fcn.00406f90
test eax, eax
je 0x406c24
cmp dword [eax + 4], 0
je 0x406c12
push esi
push edi
push eax
call fcn.00406c30
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc
Function at 0x406c30
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x406c65
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
push 0
neg eax
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov edx, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x406cde
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
sub ecx, 1
je 0x406ccb
sub ecx, 1
je 0x406cb6
sub ecx, 2
je 0x406ca3
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.004067b0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x406d0b
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x407260
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
or esi, 0xffffffff
test eax, eax
je 0x407415
push ebx
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
je 0x407414
mov eax, dword [0x40b0d8]
push ebp
push 0x1000
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x40740c
push edi
nop
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x1000
push ebp
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, dword [esp + 0x1c]
cmp edx, 8
mov eax, ebp
mov edi, edx
jb 0x4073ce
mov ebp, edx
shr ebp, 3
lea ebx, [ebx]
movzx ebx, byte [eax]
xor ebx, esi
and ebx, 0xff
add eax, 1
mov ecx, esi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x409100]
movzx ebx, byte [eax]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x409100]
movzx ebx, byte [eax + 1]
xor ebx, ecx
and ebx, 0xff
add eax, 1
shr ecx, 8
xor ecx, dword [ebx*4 + 0x409100]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x409100]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x409100]
movzx ebx, byte [eax + 1]
xor ebx, ecx
add eax, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x409100]
movzx ebx, byte [eax + 1]
add eax, 1
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x409100]
movzx ebx, byte [eax + 1]
add eax, 1
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x409100]
add eax, 1
sub edi, 8
sub ebp, 1
mov esi, ecx
jne 0x4072f0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x4073ef
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x409100]
add eax, 1
sub edi, 1
jne 0x4073d2
cmp edx, 0x1000
je 0x4072c0
mov edx, dword [0x40b0d8]
push ebp
push 0
push edx
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop ebx
mov eax, esi
not eax
pop esi
add esp, 8
ret 4

Function at 0x407420
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x401b04
Capabilities:
Get file size

Disassembly:
push 0x1c
push 0x4345a0
call fcn.00425230
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], esi
push esi
push esi
push esi
mov ebx, dword [ebp + 8]
push ebx
call dword [0x451e40]
cmp eax, 0xffffffff
je 0x401c5d
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x44ed04], eax
push 2
pop edi
cmp eax, edi
jb 0x401c72
mov dword [ebp - 0x24], esi
push esi
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x451e3c]
test eax, eax
je 0x401c5d
xor eax, eax
cmp byte [ebp - 0x1b], 0x5a
sete al
xor ecx, ecx
cmp byte [ebp - 0x1c], 0x4d
sete cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x24], edi
sete cl
test ecx, eax
je 0x401b90
mov dword [ebp - 0x28], edi
jmp 0x401c72
push esi
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x451e3c]
test eax, eax
je 0x401c4e
xor eax, eax
cmp byte [ebp - 0x1b], 0x4b
sete al
xor ecx, ecx
cmp byte [ebp - 0x1c], 0x50
sete cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x24], edi
sete cl
test ecx, eax
je 0x401c57
push esi
push esi
push 0x1a
push ebx
call dword [0x451e40]
cmp eax, 0xffffffff
je 0x401c4e
push esi
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x451e3c]
test eax, eax
je 0x401c4e
cmp dword [ebp - 0x24], edi
jne 0x401c57
movzx eax, word [ebp - 0x1c]
add eax, 0x1e
mov dword [ebp - 0x2c], eax
push esi
push esi
push eax
push ebx
call dword [0x451e40]
cmp eax, 0xffffffff
je 0x401c4e
push esi
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x451e3c]
test eax, eax
je 0x401c4e
xor eax, eax
cmp byte [ebp - 0x1b], 0x5a
sete al
xor ecx, ecx
cmp byte [ebp - 0x1c], 0x4d
sete cl
and eax, ecx
xor ecx, ecx
cmp dword [ebp - 0x24], edi
sete cl
test ecx, eax
je 0x401c57
mov dword [ebp - 0x28], 3
jmp 0x401c57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x21
jmp 0x401c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp eax, 0x21
jne 0x401c72
mov dword [ebp - 0x28], 1
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.004253ca
pop ecx
pop ecx
jmp 0x401c9e
mov eax, dword [ebp - 0x28]
call fcn.0042526b
ret

Function at 0x401ca7
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x44de90]
push esi
push edi
mov esi, 0x104
mov dword [ebp + 0x88], eax
xor edi, edi
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
mov dword [ebp - 0x80], edi
call fcn.00425190
add esp, 0xc
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
push edi
push dword [ebp + 0x94]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 4
lea eax, [ebp - 0x7c]
push str.NTFS
push eax
call fcn.00427839
mov ecx, dword [ebp + 0x88]
add esp, 0xc
neg eax
sbb al, al
pop edi
inc al
pop esi
call fcn.00425221
add ebp, 0x8c
leave
ret
Function at 0x402619
Capabilities:
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0x14c
mov eax, dword [0x44de90]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp + 0xc8], eax
mov eax, dword [ebp + 0xd8]
push esi
push edi
mov edi, dword [ebp + 0xd4]
or eax, 0x10
push eax
push edi
call ebx
mov esi, eax
push edi
and esi, 1
call fcn.00425700
mov dword [ebp - 0x80], eax
add eax, 5
cmp eax, 0x4000
pop ecx
jbe 0x40266e
xor eax, eax
jmp 0x4026f3
push 0x434624
push edi
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x7c], eax
je 0x4026f1
mov eax, dword [ebp - 0x4c]
mov ecx, eax
and ecx, 0xffff
cmp ecx, 0x2e
je 0x4026d7
and eax, 0xffffff
cmp eax, 0x2e2e
je 0x4026d7
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x80]
lea eax, [eax + edi + 1]
push eax
call fcn.00425600
test byte [ebp - 0x78], 0x10
pop ecx
pop ecx
push dword [ebp + 0xd8]
push edi
je 0x4026d3
call fcn.00402619
pop ecx
pop ecx
jmp 0x4026d5
call ebx
and esi, eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40268e
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [ebp + 0xc8]
pop edi
pop esi
pop ebx
call fcn.00425221
add ebp, 0xcc
leave
ret

Function at 0x402966
Capabilities:
Encode data using xor

Disassembly:
push esi
xor eax, eax
xor esi, esi
cmp dword [esp + 0xc], eax
jbe 0x40298c
push 7
push eax
call fcn.00402949
pop ecx
pop ecx
mov ecx, dword [esp + 8]
movsx ecx, byte [esi + ecx]
xor eax, ecx
inc esi
cmp esi, dword [esp + 0xc]
jb 0x402971
pop esi
ret
Function at 0x402c52
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402c77
xor eax, eax
jmp 0x402c8a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x402c8d
Capabilities:
Check for time delay via gettickcount
Enumerate processes
Get common file path
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2c4]
sub esp, 0x344
mov eax, dword [0x44de90]
push ebx
push esi
push edi
push 0x41
pop ecx
mov dword [ebp + 0x2c0], eax
xor eax, eax
push 0x41
mov byte [ebp + 0x1b8], 0
lea edi, [ebp + 0x1b9]
rep stosd dword es:[edi], eax
pop ecx
mov byte [ebp + 0xb0], al
lea edi, [ebp + 0xb1]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp + 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x1b8]
push eax
call fcn.00425700
pop ecx
lea ecx, [ebp + 0x1b8]
dec ecx
cmp byte [eax + ecx], 0x5c
je 0x402d0d
lea eax, [ebp + 0x1b8]
push 0x43462c
push eax
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp + 0x1b8]
push eax
lea eax, [ebp + 0xb0]
push eax
call fcn.00425600
lea eax, [ebp + 0xb0]
push str.dllcache_
push eax
call fcn.00425610
push dword [ebp + 0x2cc]
lea eax, [ebp + 0x1b8]
push eax
call fcn.00425610
push dword [ebp + 0x2cc]
lea eax, [ebp + 0xb0]
push eax
call fcn.00425610
lea eax, [ebp + 0xb0]
push eax
call fcn.00402774
push str.Removing_malicious_module._It_may_take_some_time..._n
call fcn.00419ab0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x28
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x1b8]
push eax
call fcn.00402745
test al, al
pop ecx
jne 0x402da5
lea eax, [ebp + 0xb0]
push eax
call fcn.00402745
test al, al
pop ecx
je 0x402e7e
call ebx
sub eax, dword [ebp - 0x80]
cmp eax, 0x7530
ja 0x402e73
lea eax, [ebp + 0x1b8]
push eax
call fcn.00402be4
lea eax, [ebp + 0xb0]
push eax
call fcn.00402be4
lea eax, [ebp + 0x1b8]
push eax
call fcn.0042387a
lea eax, [ebp + 0xb0]
push eax
call fcn.0042387a
add esp, 0x10
push 0
push 2
mov dword [ebp - 0x78], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x7c], eax
je 0x402e4f
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call sub.KERNEL32.dll_Process32First
jmp 0x402e4b
push dword [ebp + 0x2cc]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x402e3f
push dword [ebp - 0x70]
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call esi
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402e0e
push dword [ebp - 0x7c]
call esi
lea eax, [ebp + 0x1b8]
push eax
call fcn.0041b113
lea eax, [ebp + 0xb0]
push eax
call fcn.0041b113
pop ecx
pop ecx
jmp 0x402d7f
push str.Timeout_n
call fcn.00425036
pop ecx
mov ecx, dword [ebp + 0x2c0]
pop edi
pop esi
pop ebx
call fcn.00425221
add ebp, 0x2c4
leave
ret
Function at 0x402e94
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x44de90]
push edi
push 0x41
mov dword [ebp + 0x88], eax
pop ecx
xor eax, eax
mov byte [ebp - 0x80], 0
lea edi, [ebp - 0x7f]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x80]
push eax
call fcn.00425700
cmp byte [ebp + eax - 0x81], 0x5c
pop ecx
pop edi
je 0x402ef0
lea eax, [ebp - 0x80]
push 0x43462c
push eax
call fcn.00425610
pop ecx
pop ecx
push dword [ebp + 0x94]
lea eax, [ebp - 0x80]
push eax
call fcn.00425610
lea eax, [ebp - 0x80]
push eax
call fcn.00420113
mov ecx, dword [ebp + 0x88]
add esp, 0xc
call fcn.00425221
add ebp, 0x8c
leave
ret

Function at 0x402f1e
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0xb90]
sub esp, 0xc10
mov eax, dword [0x44de90]
push str.Detect_malicious_autoruns_started._n
mov dword [ebp + 0xb8c], eax
call fcn.00425036
pop ecx
push ebx
push esi
mov dword [ebp - 0x78], 0x5c3a43
push edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x402f64
cmp eax, 2
jne 0x4030c3
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x78c]
push eax
call fcn.00425600
lea eax, [ebp + 0x78c]
push 0x434870
push eax
call fcn.00425610
lea eax, [ebp + 0x78c]
push 0x43486c
push eax
call fcn.004260e7
mov edi, eax
add esp, 0x18
test edi, edi
mov dword [ebp - 0x80], edi
je 0x4030c3
jmp 0x403091
push edi
lea eax, [ebp - 0x74]
push 0x400
push eax
call fcn.00426066
mov esi, 0x434868
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00425fe0
add esp, 0x14
test eax, eax
je 0x403091
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00425f2e
push esi
push 0
call fcn.00425f2e
and dword [ebp - 0x7c], 0
mov esi, eax
push 0x434864
push esi
call fcn.00425fe0
add esp, 0x18
test eax, eax
jne 0x40301d
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x38c]
push eax
call fcn.00425600
lea eax, [ebp - 0x78]
push eax
call fcn.00425700
add esp, 0xc
mov dword [ebp - 0x7c], eax
push esi
xor ebx, ebx
call fcn.00425700
test eax, eax
pop ecx
jbe 0x403063
movsx edi, byte [ebx + esi]
push edi
call fcn.00425f05
test eax, eax
pop ecx
jne 0x403054
push edi
call fcn.00425edc
test eax, eax
pop ecx
jne 0x403054
mov ecx, dword [ebp - 0x7c]
mov al, byte [ebx + esi]
inc dword [ebp - 0x7c]
mov byte [ebp + ecx + 0x38c], al
push esi
inc ebx
call fcn.00425700
cmp ebx, eax
pop ecx
jb 0x40302a
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax + 0x38c], 0
lea eax, [ebp + 0x38c]
push eax
call fcn.00420113
test eax, eax
pop ecx
je 0x403091
push dword [ebp + 0xb98]
push eax
call fcn.00425100
test eax, eax
pop ecx
pop ecx
je 0x40309d
test byte [edi + 0xc], 0x10
je 0x402fab
jmp 0x4030c3
lea eax, [ebp + 0x78c]
push eax
push str.Malicious_autorun_detected:__s_n
call fcn.00425036
push edi
call fcn.00425e5d
lea eax, [ebp + 0x78c]
push eax
call fcn.0041b113
add esp, 0x10
inc byte [ebp - 0x78]
cmp byte [ebp - 0x78], 0x5a
jle 0x402f4c
mov ecx, dword [ebp + 0xb8c]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.00425221
add ebp, 0xb90
leave
ret
Function at 0x4030e8
Capabilities:
Copy file
Delete file
Get common file path
Move file
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x44de90]
and dword [ebp + 0x194], 0
push edi
mov dword [ebp + 0x3a4], eax
push 0x104
lea eax, [ebp + 0x2a0]
push eax
mov byte [ebp - 0x7d], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x2a0]
push 0x434960
push eax
call fcn.00425610
lea eax, [ebp + 0x2a0]
push eax
lea eax, [ebp + 0x88]
push str._s.tmp
push eax
call fcn.00424fde
lea eax, [ebp + 0x2a0]
push eax
lea eax, [ebp - 0x7c]
push str._s.inf
push eax
call fcn.00424fde
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x20
lea eax, [ebp - 0x7c]
push eax
call edi
test eax, eax
je 0x403178
xor eax, eax
inc eax
jmp 0x403274
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea eax, [ebp + 0x88]
push eax
lea eax, [ebp + 0x2a0]
push eax
call ebx
lea eax, [ebp + 0x88]
push eax
lea ecx, [ebp + 0x18c]
call fcn.00418400
lea ecx, [ebp + 0x18c]
call fcn.00418539
lea ecx, [ebp + 0x18c]
call fcn.004183da
test eax, eax
jne 0x403217
push esi
lea ecx, [ebp + 0x18c]
call fcn.00418412
push eax
push dword [ebp + 0x29c]
push 0x12
push 0x434604
call fcn.00401833
mov esi, eax
add esp, 0x10
test esi, esi
je 0x403216
cmp byte [esi - 4], 0x41
je 0x403216
cmp byte [esi - 2], 0x70
je 0x403216
push str.Trojan.Win32.Patched.bb_n
lea eax, [ebp + 0x2a0]
push eax
push str._s_tinfected_t_s_n
call fcn.00419ab0
add esp, 0xc
mov byte [esi - 4], 0x41
mov byte [esi - 2], 0x70
mov byte [ebp - 0x7d], 1
pop esi
lea ecx, [ebp + 0x18c]
call fcn.004183de
cmp byte [ebp - 0x7d], 0
je 0x403262
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
lea eax, [ebp + 0x2a0]
push eax
lea eax, [ebp + 0x88]
push eax
call ebx
test eax, eax
je 0x403262
lea eax, [ebp + 0x2a0]
push eax
push str._s_twill_be_disinfected_after_reboot_n
call fcn.00419ab0
pop ecx
pop ecx
lea eax, [ebp + 0x88]
push eax
call edi
cmp byte [ebp - 0x7d], 0
pop ebx
jne 0x40328d
xor eax, eax
mov ecx, dword [ebp + 0x3a4]
pop edi
call fcn.00425221
add ebp, 0x3a8
leave
ret
call fcn.004262b5
call fcn.00426376
test eax, eax
jne 0x403288
push str._nTo_finalize_removal_of_infection_and_avoid_loosing_of_data_program_will_reboot_your_PC_now._nClose_all_programs_and_choose_Y_to_restart_or_N_to_continue._n.
call fcn.00425036
mov dword [esp], 0x44dc28
call fcn.00426157
pop ecx
call fcn.004262b5
xor ecx, ecx
cmp eax, 0x79
sete cl
xor edx, edx
cmp eax, 0x59
sete dl
or ecx, edx
je 0x4032cb
call fcn.0042095f
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]