joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431fb0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564068
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c3484]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43202b
test al, 0x10
je 0x43202b
push esi
mov edi, 1
call fcn.0043cf10
add esp, 4
test eax, eax
jne 0x43204e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43204e
push esi
test edi, edi
jne 0x432046
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43204e
push esi
push str.DeleteFile:_s_suceesss
call fcn.00434480
add esp, 8
jmp 0x43204e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x431ffc
push esi
push str.DeleteFile:_s_suceesss
call fcn.00434480
add esp, 8
jmp 0x43204e
call fcn.0043cf10
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4320cf
push esi
lea ecx, [ebp - 0x10]
call fcn.0040d740
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x43208e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040b500
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x43209a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.0042e400
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4320bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434040
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x4340a4
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x434096
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x434096
push edx
call fcn.0040b500
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x43408f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x4340a3
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.0040ec60
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43410a
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x43410a
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4340f1
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x43410a
jg 0x434102
cmp dword [ebp - 8], 0x40000000
jbe 0x43410a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x436000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5647eb
mov eax, dword fs:[0]
push eax
sub esp, 0xa48
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xa4c], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xa50], ebx
test ebx, ebx
jne 0x43604a
xor eax, eax
jmp 0x4361f2
mov ecx, dword [eax + 0x38]
sub ecx, dword [eax + 0x34]
mov eax, 0x14f38f63
imul ecx
push 0x208
sar edx, 7
lea eax, [ebp - 0x420]
mov esi, edx
shr esi, 0x1f
add esi, edx
push 0
push eax
mov dword [ebp - 0xa54], esi
call fcn.004c14d0
add esp, 0xc
call fcn.00437860
lea ecx, [ebp - 0xa3d]
test eax, eax
je 0x436093
call fcn.00435590
jmp 0x436098
call fcn.00435670
push eax
push ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor ebx, ebx
test esi, esi
jle 0x4361ed
xor edi, edi
mov dword [ebp - 0xa48], edi
nop dword [eax]
push 0x61c
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.004c14d0
mov eax, dword [ebp - 0xa4c]
mov ecx, 0x187
push 0x208
push 0
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x218]
add esi, edi
lea edi, [ebp - 0xa3c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004c14d0
add esp, 0x18
lea eax, [ebp - 0xa3c]
push eax
push dword [ebp - 0xa50]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436145
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist
call fcn.00434480
add esp, 8
jmp 0x4361ce
call fcn.0040b820
mov ecx, eax
test ecx, ecx
je 0x436210
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa44], eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push str.__dll__s____entry_s__s
push eax
call fcn.0040f720
push dword [ebp - 0x424]
mov esi, dword [ebp - 0xa44]
lea eax, [ebp - 0x420]
push 1
push 0
push esi
push eax
call fcn.0042f820
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4361ce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xa48]
inc ebx
add edi, 0x61c
mov dword [ebp - 0xa48], edi
cmp ebx, dword [ebp - 0xa54]
jl 0x4360c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408070
int3
Function at 0x439d40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564f80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5c3484]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x439e21
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push 0x580a0c
push eax
mov dword [ebp - 4], 0
call fcn.0040f720
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 0x64
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov eax, 0x63
mov dword [ebp - 0x1c], 0x439e40
cmovl eax, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.0043b5e0
add esp, 4
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x1c], 0
add esi, 0xfffffff0
mov dword [ebp - 0x18], 0
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439e0d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00408070
int3
Function at 0x43a3f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0045fbe0
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x804]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x57fefc
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1004]
push eax
call fcn.0043d550
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.004c14d0
add esp, 0x10
lea eax, [ebp - 0x1804]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x1804]
push 0x57fefc
push eax
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x2004]
push eax
call fcn.0043d550
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
Function at 0x43a4e0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56502b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 1
push 0
push eax
mov dword [ebp - 0x230], 0x104
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x234]
push eax
push str.InstallDate
push str.SOFTWAREPCjiami
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SOFTWAREPCjiami
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a580
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.InstallDate
push str.SOFTWAREPCjiami
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x228]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x228], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x43a6dc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
movzx eax, word [ebp - 0x21c]
push eax
movzx eax, word [ebp - 0x21e]
push eax
movzx eax, word [ebp - 0x220]
push eax
movzx eax, word [ebp - 0x222]
push eax
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 0
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.0040f720
mov esi, dword [ebp - 0x22c]
add esp, 0x20
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.LastUninstallDate
push str.SOFTWAREPCjiami
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREPCjiami
push SysReAllocString
call edi
push str..blpfs
push SysReAllocString
call edi
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts.blpfsUserChoice
push SysReAllocString
call fcn.004323d0
add esp, 0xc
push str.Progid
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts.blpfsUserChoice
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts.blpfs
push SysReAllocString
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a6c1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408070
int3
Function at 0x43bb30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x43bc0b
test ecx, ecx
je 0x43bc0b
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x43bc0b
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x43bc0b
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x43bbf6
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
call fcn.004ef32c
add esp, 0xc
test eax, eax
je 0x43bc1e
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x43bba0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x4c0]
call fcn.0043c920
xor ecx, ecx
test edi, edi
je 0x43bc3c
cmp edi, 0x7fffffff
jbe 0x43bc41
mov ecx, 0x80070057
test ecx, ecx
js 0x43bc77
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x43bc5f
cmp word [eax], 0
je 0x43bc5f
add eax, 2
sub esi, 1
jne 0x43bc51
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x43bc79
xor esi, esi
test ecx, ecx
js 0x43bcca
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x43bcbd
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7fffffff
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x43bcbd
movzx eax, word [edi + ecx]
test ax, ax
je 0x43bcbd
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x43bca4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
Function at 0x43bce0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43bd58
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret

Function at 0x43be10
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0045fbe0
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x43bf4a
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jl 0x43bf4a
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43bf4a
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x43bf1f
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004c14d0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.004c1cfa
add esp, 0x14
test eax, eax
je 0x43bee4
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x43bee4
mov ecx, 1
jmp 0x43bee6
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
lea eax, [ebp - 0x804]
cmovne eax, edx
push eax
push edi
push ebx
call fcn.0043c920
mov edi, dword [ebp - 0x1008]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x43beff
push edi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0043bb30
add esp, 0xc
mov edi, eax
jmp 0x43bf05
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
Function at 0x43c5c0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5aa250
push 0x4c3170
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.0045fbe0
mov eax, dword [0x5c3484]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
test esi, esi
je 0x43c794
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c616
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x43c794
mov dword [ebp - 4], 0
call fcn.0043bce0
mov dword [ebp - 4], 0xfffffffe
jmp 0x43c65c
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.004c14d0
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.004c14d0
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x43c794
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.004eadf4
lea eax, [ebp - 0x224]
push eax
call fcn.004e9f32
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x43c794
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.0043be10
add esp, 0xc
test eax, eax
je 0x43c787
lea eax, [ebp - 0xa24]
push eax
call fcn.004e9f32
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c748
test dx, dx
je 0x43c744
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c748
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c722
xor eax, eax
jmp 0x43c74d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43c787
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43c773
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa24]
push eax
push 0x580cd4
call fcn.00434480
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x43c6e4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret 4
Function at 0x43c7c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5aa290
push 0x4c3170
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x5c3484]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x43c8f2
cmp word [esi], 0
je 0x43c8f2
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004c14d0
push esi
push 0x580e18
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.0043c990
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.004c14d0
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x57e918
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x43c8b9
cmp dword [ebp + 0x18], 0
je 0x43c8b9
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x43c8ce
test esi, esi
je 0x43c8de
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x43c8de
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43c8fb
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x43ca10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x43ca2c
pop edi
pop ebp
ret 4
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x43cf10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.0045fbe0
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x43cf40
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.004c14d0
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004eadf4
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0045fbca
mov esp, ebp
pop ebp
ret