joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d23b
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x4bff5d
call fcn.00492deb
mov eax, dword [ebp + 0x218]
mov esi, dword [ebp + 0x214]
mov edi, dword [ebp + 0x21c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x220]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
push eax
push 0x4c9bdc
push 1
push ebx
push 0x4cc5ec
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x47d345
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00492200
push esi
call fcn.00492919
push eax
lea eax, [ebp]
push esi
push eax
call fcn.0048d090
add esp, 0x1c
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x24]
cmp edi, ebx
je 0x47d306
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
cmp dword [ebp - 0x18], ebx
je 0x47d317
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4cca5c
push eax
call dword [ecx]
test eax, eax
jl 0x47d345
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 2
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x47d345
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x47d355
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x47d366
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x20c
leave
ret
Function at 0x47eb72
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004933d0
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x47ec34
cmp eax, 0x3fff
ja 0x47ec34
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47ec34
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x4d8dcc
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47ec34
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
mov edi, dword [ebp + 0x10]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push edi
push esi
call fcn.0048e74d
xor eax, eax
add esp, 0x1c
mov word [esi + edi*2 - 2], ax
inc eax
jmp 0x47ec36
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048c64c
leave
ret

Function at 0x47ee2a
Capabilities:
Create directory

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x47ee4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x47ee4f
xor eax, eax
inc eax
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x47f43d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push ebx
push esi
mov esi, dword [ebp + 0x3ac]
push edi
mov edi, dword [ebp + 0x3b0]
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], edi
call fcn.00492200
mov eax, dword [ebp + 0x3b4]
push esi
add eax, eax
push str.CLSID_sInprocServer32
mov dword [ebp - 0x74], eax
mov ebx, 0x103
lea eax, [ebp + 0x198]
push ebx
push eax
mov dword [ebp - 0x7c], 1
call fcn.0048e74d
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x1c
lea eax, [ebp - 0x74]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
push str.CodeBase
lea eax, [ebp + 0x198]
push eax
mov edi, SysReAllocString
push edi
call esi
test eax, eax
jne 0x47f4e4
xor eax, eax
inc eax
jmp 0x47f5ac
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp + 0x198]
push eax
push edi
call esi
test eax, eax
je 0x47f4dc
push dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push str.CLSID_sLocalServer32
push ebx
push eax
call fcn.0048e74d
mov eax, dword [ebp + 0x3b4]
add eax, eax
add esp, 0x10
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp + 0x198]
push eax
push edi
call esi
test eax, eax
je 0x47f4dc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.00492200
push dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push str.CLSID_sTreatAs
push ebx
push eax
call fcn.0048e74d
add esp, 0x1c
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp + 0x198]
push eax
push edi
mov dword [ebp - 0x74], 0x208
call esi
test eax, eax
jne 0x47f5a4
push dword [ebp + 0x3b4]
lea eax, [ebp - 0x70]
push dword [ebp - 0x78]
push eax
call fcn.0047f43d
add esp, 0xc
jmp 0x47f5ac
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp + 0x3a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c64c
add ebp, 0x3a4
leave
ret
Function at 0x47ff5c
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2714]
mov eax, 0x2714
call fcn.004933d0
push 0xffffffffffffffff
push 0x4c00fc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x2710], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2720]
mov ebx, dword [ebp + 0x271c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4f5014]
mov dword [ebp - 0x14], eax
mov esi, 0x2710
xor edi, edi
push esi
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00492200
add esp, 0xc
push ebx
lea ecx, [ebp - 0x14]
call fcn.0047df82
lea eax, [ebp - 0x10]
push eax
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x5c
call fcn.0047dba0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.0047dc9f
push edi
push 0x80
push 3
push edi
push 3
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x48003f
lea ecx, [ebp - 0x14]
call fcn.0047a8f6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2710]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x2714
leave
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push edi
push 0x40
push dword [ebp - 0x10]
mov ebx, eax
sub ebx, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp ebx, edi
jbe 0x480085
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp]
cmp ebx, esi
jbe 0x48007a
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub ebx, esi
jne 0x48005d
jmp 0x480085
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
inc edi
jmp 0x480012
Function at 0x480096
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0xc
mov eax, 0x4c0134
call fcn.00492deb
mov eax, dword [0x4f5014]
mov edi, dword [ebp + 0x25c]
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], eax
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0047df82
push 0x4e0fa8
lea ecx, [ebp - 0x14]
call fcn.0047dc9f
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x480133
lea ecx, [ebp - 0x14]
call fcn.0047a8f6
lea ecx, [ebp - 0x10]
call fcn.0047a8f6
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x254
leave
ret
lea eax, [ebp + 0x2c]
push 0x4daccc
push eax
call fcn.004928e2
pop ecx
pop ecx
test eax, eax
je 0x48021b
lea eax, [ebp + 0x2c]
push 0x4d8df0
push eax
call fcn.004928e2
pop ecx
pop ecx
test eax, eax
je 0x48021b
cmp dword [ebp + 0x260], 0
jne 0x480184
lea eax, [ebp + 0x2c]
push str.desktop.ini
push eax
call fcn.0048c804
pop ecx
pop ecx
test eax, eax
je 0x48021b
push edi
lea ecx, [ebp - 0x10]
call fcn.0047df82
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x5c
call fcn.0047dba0
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0047dc9f
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4801c7
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp], 0x10
je 0x4801eb
push dword [ebp + 0x264]
push dword [ebp + 0x260]
push esi
call fcn.00480096
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x48021b
cmp dword [ebp + 0x264], 0
je 0x480214
lea eax, [ebp + 0x2c]
push str.index.dat
push eax
call fcn.0048c804
pop ecx
pop ecx
test eax, eax
jne 0x480214
lea eax, [ebp + 0x2c]
push eax
push edi
call fcn.0047ff5c
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x480133
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
inc esi
jmp 0x4800fe
Function at 0x48023d
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4802d7
cmp dword [ebp + 0xc], ebx
je 0x4802d7
cmp dword [ebp + 0x10], ebx
je 0x4802d7
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x4802d6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x4802d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x4802cd
push esi
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebx
je 0x4802cc
push ebx
lea eax, [ebp + 8]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov al, bl
pop ebx
leave
ret

Function at 0x48035b
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x480342
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x480592
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x118
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x74], eax
cmp dword [0x4f5050], 0xffffffff
jne 0x480754
push 0x110
lea eax, [ebp - 0x9c]
push 0
push eax
mov dword [0x4f5050], 0xfffffc18
mov dword [ebp - 0xa0], 0x114
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x480754
push 2
pop ecx
cmp dword [ebp - 0x90], ecx
jne 0x480754
mov eax, dword [ebp - 0x9c]
cmp eax, 5
jne 0x4806c9
cmp dword [ebp - 0x98], 0
jne 0x480629
mov dword [0x4f5050], 1
jmp 0x480754
cmp dword [ebp - 0x98], 1
jne 0x4806ae
push 0x7f
lea eax, [ebp - 0x8c]
push eax
push str.Service_Pack_1
call fcn.0048fcc3
add esp, 0xc
test eax, eax
jne 0x48065b
mov dword [0x4f5050], 3
jmp 0x480754
push 0x7f
lea eax, [ebp - 0x8c]
push eax
push str.Service_Pack_2
call fcn.0048fcc3
add esp, 0xc
test eax, eax
jne 0x480684
mov dword [0x4f5050], 4
jmp 0x480754
push 0x7f
lea eax, [ebp - 0x8c]
push eax
push str.Service_Pack_3
call fcn.0048fcc3
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
mov dword [0x4f5050], eax
jmp 0x480754
cmp dword [ebp - 0x98], ecx
jne 0x480754
mov dword [0x4f5050], 6
jmp 0x480754
cmp eax, 6
jne 0x480726
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x48071d
push 0x7f
lea eax, [ebp - 0x8c]
push eax
push str.Service_Pack_1
call fcn.0048fcc3
add esp, 0xc
test eax, eax
jne 0x4806fe
mov dword [0x4f5050], 8
jmp 0x480754
push 0x7f
lea eax, [ebp - 0x8c]
push eax
push str.Service_Pack_2
call fcn.0048fcc3
add esp, 0xc
neg eax
sbb eax, eax
add eax, 8
jmp 0x4806a4
cmp eax, 1
je 0x48072b
cmp eax, ecx
jmp 0x48073a
cmp eax, 7
jne 0x480737
mov dword [0x4f5050], 9
jmp 0x480754
cmp eax, 8
jne 0x480748
mov dword [0x4f5050], 0xa
jmp 0x480754
jbe 0x480754
mov dword [0x4f5050], 0x3e8
mov ecx, dword [ebp + 0x74]
mov eax, dword [0x4f5050]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x78
leave
ret
Function at 0x4808c7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00492200
xor eax, eax
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push esi
mov dword [ebp - 0x28], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x48096d
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], esi
jbe 0x480934
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
mov edi, dword [ebp + 0x14]
cmp edi, esi
je 0x48094f
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x48094f
mov dword [edi], 1
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
cmp ebx, 0x102
setne al
pop ebx
mov esi, eax
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x481063
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x624]
sub esp, 0x624
push 0xffffffffffffffff
push 0x4c0164
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.004933d0
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x620], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x62c]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x14], edi
cmp esi, edi
je 0x481144
push 0x206
mov word [ebp + 0x418], ax
lea eax, [ebp + 0x41a]
push edi
push eax
call fcn.00492200
push esi
call fcn.00492919
add esp, 0x10
cmp word [esi + eax*2 - 2], 0x5c
push esi
lea eax, [ebp + 0x418]
jne 0x4810f0
push 0x4cdb2c
jmp 0x4810f5
push 0x4cdb20
push 0x103
push eax
call fcn.0048e74d
add esp, 0x10
lea eax, [ebp + 0x418]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047a994
push 0x5c
push 0x2f
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.0048101a
lea eax, [ebp - 0x28]
push eax
push 0x1000
lea eax, [ebp - 0x102c]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x481167
lea ecx, [ebp - 0x18]
call fcn.0047a8f6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x620]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x624
leave
ret
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00492200
add esp, 0xc
mov ebx, 0x104
push ebx
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0047a994
mov edi, dword [ebp - 0x28]
xor eax, eax
push esi
mov word [ebp + 0x20c], ax
xor esi, esi
lea eax, [ebp + 0x20e]
push esi
push eax
shr edi, 2
call fcn.00492200
add esp, 0xc
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
cmp edi, esi
jbe 0x48125a
mov eax, dword [ebp - 0x10]
push dword [ebp + eax*4 - 0x102c]
push esi
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x48124e
lea ecx, [ebp - 0x2c]
push ecx
push 4
lea ecx, [ebp - 0x20]
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x481245
push ebx
lea eax, [ebp + 0x20c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp dword [ebp + 0x630], esi
jne 0x48122e
lea eax, [ebp + 0x20c]
push eax
push dword [ebp - 0x1c]
call fcn.0048c804
pop ecx
pop ecx
test eax, eax
je 0x481245
push dword [ebp - 0x18]
lea eax, [ebp + 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x481245
inc dword [ebp - 0x14]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jb 0x4811cd
lea ecx, [ebp - 0x1c]
call fcn.0047a8f6
mov edi, dword [ebp - 0x14]
jmp 0x48113a
Function at 0x481862
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x4c020a
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.004933d0
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x214]
xor edi, edi
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x481a10
lea eax, [ebp - 0x1c]
push eax
push 0x1000
lea eax, [ebp - 0x1038]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4818d6
or eax, 0xffffffff
jmp 0x481a12
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
shr esi, 2
call fcn.0048177a
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
cmp esi, edi
jbe 0x481989
push dword [ebp + edi*4 - 0x1038]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x481980
lea eax, [ebp - 0x38]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x481979
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00492200
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x481979
push dword [ebp - 0x18]
lea eax, [ebp]
push eax
call fcn.0048c804
pop ecx
pop ecx
test eax, eax
jne 0x481979
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.0048180f
jmp 0x481980
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x4818f2
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x28]
sar esi, 2
test esi, esi
jbe 0x4819ff
xor ecx, ecx
push 4
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048bc2e
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4819e3
xor edi, edi
test esi, esi
jbe 0x4819cc
push edi
lea ecx, [ebp - 0x34]
call fcn.00480be5
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
inc edi
cmp edi, esi
jb 0x4819b9
push dword [ebp + 0x218]
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push ebx
call fcn.0048cd90
pop ecx
xor edi, edi
test esi, esi
jbe 0x4819ff
push edi
lea ecx, [ebp - 0x34]
call fcn.00480be5
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x4819e9
lea ecx, [ebp - 0x34]
call fcn.00480f62
push dword [ebp - 0x34]
call fcn.0048c641
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x20c
leave
ret
Function at 0x482b28
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2c98]
mov eax, 0x2d18
call fcn.004933d0
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x2c94], eax
mov eax, dword [ebp + 0x2ca0]
push esi
xor esi, esi
mov dword [ebp - 0x7c], eax
cmp eax, esi
je 0x482c5d
cmp dword [ebp + 0x2ca4], esi
je 0x482c5d
push ebx
push edi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov edi, 0x2710
push dword [ebp - 0x74]
lea eax, [ebp + 0x2a94]
push 0x4cdd00
push 0x200
push eax
call fcn.0041d8b0
add esp, 0x10
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp + 0x2a94]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x482c49
push 0xc
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.00492200
push edi
lea eax, [ebp - 0x64]
push esi
push eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00492200
add esp, 0x18
push esi
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x64]
push eax
push 0xc
lea eax, [ebp - 0x70]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x482c3d
push 0x3e8
lea eax, [ebp + 0x26ac]
push esi
push eax
call fcn.00492200
lea eax, [ebp + 0x26ac]
push eax
push 1
push dword [ebp - 0x4c]
lea eax, [ebp - 0x64]
push eax
call fcn.00409cb3
add esp, 0x1c
lea eax, [ebp + 0x26ac]
push eax
push dword [ebp + 0x2ca4]
push dword [ebp - 0x7c]
call fcn.00482533
test eax, eax
jne 0x482c3d
mov dword [ebp - 0x78], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x78], esi
jne 0x482c56
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], 0x10
jl 0x482b74
mov eax, dword [ebp - 0x78]
pop edi
pop ebx
jmp 0x482c5f
xor eax, eax
mov ecx, dword [ebp + 0x2c94]
xor ecx, ebp
pop esi
call fcn.0048c64c
add ebp, 0x2c98
leave
ret