joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4305f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.00432c40
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.0042fab0
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x43065a
mov al, byte [edi + ecx]
test al, al
je 0x43065a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x430641
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x43067b
inc eax
sub ecx, 1
jne 0x430670
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x4306d0
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x4306c5
lea edi, [ebp - 0x84]
mov eax, SysReAllocString
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x4306c4
mov bl, byte [edi + ecx]
test bl, bl
je 0x4306c4
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x4306b0
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.00432c40
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x489594
push str.SoftwareComMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x43078a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x430754
test cl, cl
je 0x430750
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x430754
add eax, 2
add esi, 2
test cl, cl
jne 0x430734
xor eax, eax
jmp 0x430759
sbb eax, eax
or eax, 1
test eax, eax
je 0x43078a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430766
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareComMaster
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430793
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x489594
push str.SoftwareComMaster
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x44ff60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xc]
sub esp, 8
cmp dword [edx - 0xc], 0
push esi
lea esi, [ecx + 0xc]
jne 0x450010
mov dword [ebp - 4], 0x104
mov ecx, 1
mov dword [ebp - 8], 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x44ffa7
push 0x104
mov ecx, esi
call fcn.00410500
mov edx, dword [esi]
cmp dword [edx - 8], 0x104
jl 0x45002b
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + 0x208], cx
lea eax, [ebp - 4]
push eax
push edx
lea eax, [ebp - 8]
push eax
push 0x485e7c
push str.SOFTWARELDSGameMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [esi]
test eax, eax
jne 0x44ffea
xor ecx, ecx
jmp 0x44fffc
push dword [eax - 8]
push eax
call fcn.0044043a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45002b
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x45002b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov edx, dword [esi]
lea eax, [edx - 0x10]
push eax
call fcn.00407840
add esp, 4
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004068b0
int3

Function at 0x450040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x10]
sub esp, 8
cmp dword [edx - 0xc], 0
push esi
lea esi, [ecx + 0x10]
jne 0x4500f0
mov dword [ebp - 4], 0x104
mov ecx, 1
mov dword [ebp - 8], 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x450087
push 0x104
mov ecx, esi
call fcn.00410500
mov edx, dword [esi]
cmp dword [edx - 8], 0x104
jl 0x45010b
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + 0x208], cx
lea eax, [ebp - 4]
push eax
push edx
lea eax, [ebp - 8]
push eax
push str.SUBPID
push str.SOFTWARELDSGameMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [esi]
test eax, eax
jne 0x4500ca
xor ecx, ecx
jmp 0x4500dc
push dword [eax - 8]
push eax
call fcn.0044043a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45010b
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x45010b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov edx, dword [esi]
lea eax, [edx - 0x10]
push eax
call fcn.00407840
add esp, 4
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004068b0
int3
Function at 0x451e00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x49302c
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x451f09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x451ed6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.LDSGameMasterSetupMainWnd
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x451ec4
push str.LDSGameMasterSetupDesktopTips
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
movzx ecx, ax
test cx, cx
je 0x451ec4
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push 0
push 0
push 0x8c88
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x451f09
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
push edi
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x451ef4
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x451f01
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.004519f0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c75e
mov esp, ebp
pop ebp
ret

Function at 0x452640
Capabilities:
Delete directory

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, dword [eax]
je 0x452665
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
lea esi, [eax + 4]
mov eax, dword [esi]
push dword [eax + 8]
call ebx
mov ecx, dword [edi]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x452651
pop esi
pop ebx
mov ecx, edi
pop edi
jmp fcn.004525b0
Function at 0x4526a0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [0x493150]
mov dword [ebp - 0xc], eax
mov eax, dword [0x493154]
mov dword [ebp - 8], eax
mov ax, word [ecx]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xorps xmm0, xmm0
cmp eax, 3
je 0x4526ea
movlpd qword [ebp - 0xc], xmm0
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
jmp 0x45271b
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0x14], xmm0
push eax
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x452715
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
jmp 0x45271b
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
shl eax, 0x14
cdq
cmp esi, edx
pop esi
jb 0x452740
ja 0x45272d
cmp ecx, eax
jb 0x452740
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret

Function at 0x452750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e996
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x814]
mov dword [ebp - 0x818], eax
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x452873
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x814]
call fcn.00406bc0
test al, al
jne 0x4527fc
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.00424960
lea eax, [ebp - 0x818]
mov dword [ebp - 4], 1
push eax
push ecx
lea eax, [ebp - 0x814]
mov dword [ebp - 0x818], 0
mov ecx, esp
push eax
call fcn.0042a780
call fcn.004532d0
mov edx, dword [ebp - 0x814]
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x452852
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
test esi, esi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004068b0
int3
Function at 0x452970
Capabilities:
Get disk information
Get disk size
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x493150]
mov dword [ebp - 0xc], eax
mov eax, dword [0x493154]
push esi
mov si, word [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push edi
push eax
mov word [ebp - 0xc], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x452a9c
cmp dword [ebp + 0xc], 0
jne 0x452a68
movzx eax, si
xorps xmm0, xmm0
push eax
push str.__c:
lea eax, [ebp - 0x2c]
movq qword [ebp - 0x40], xmm0
push 0x10
push eax
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x2c]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x452a68
push 0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 0x28
lea eax, [ebp - 0x60]
mov dword [ebp - 0x38], 0
push eax
push 0xc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x30], 0x183bd4
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x452a55
cmp dword [ebp - 0x64], 0x28
jne 0x452a55
mov esi, 1
jmp 0x452a57
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x452a68
cmp dword [ebp - 0x44], 7
je 0x452a9c
lea eax, [ebp - 0x6c]
xorps xmm0, xmm0
push eax
push 0
push 0
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x6c], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x452a9c
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
xor edx, edx
pop esi
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x452ab0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.0042cec0
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.00432c40
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x452ba6
test edi, edi
je 0x452ba6
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x452ba6
cmp eax, 0x3fff
ja 0x452ba6
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x452ba6
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x483fd8
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x452ba6
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.00432c40
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.00453650
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0042c75e
mov esp, ebp
pop ebp
ret

Function at 0x452bc0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x800
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x80c]
cdq
mov edi, eax
mov ebx, edx
mov ax, word [ebp - 0x80c]
shld ebx, edi, 0x14
shl edi, 0x14
test ax, ax
je 0x452cb0
movzx ecx, ax
nop word [eax + eax]
mov eax, dword [0x493150]
mov dword [ebp - 0xc], eax
mov eax, dword [0x493154]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x452c89
lea eax, [ebp - 0x814]
xorps xmm0, xmm0
push eax
push 0
push 0
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x814], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x452c89
cmp dword [ebp - 0x810], ebx
ja 0x452cc3
jb 0x452c89
cmp dword [ebp - 0x814], edi
ja 0x452cc3
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x452c90
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2]
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x452c30
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
mov ax, word [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x453f30
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b8000
push 0x431fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4be5b4]
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 - 0x460], ecx
mov dword [ebp - 0x45c], 0xffffffff
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x45c], edi
cmp edi, 0xffffffff
je 0x454066
push 0x22c
push 0
lea eax, [ebp - 0x458]
push eax
call fcn.00432c40
add esp, 0xc
mov dword [ebp - 0x458], 0x22c
lea eax, [ebp - 0x458]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x454066
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SoftMgrInst.exe
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45404f
push dword [ebp - 0x450]
push eax
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45404f
push 0x210
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.00432c40
add esp, 0xc
push 0x108
lea eax, [ebp - 0x22c]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov eax, dword [ebp - 0x460]
push dword [eax + 0x34]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45404c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
lea eax, [ebp - 0x458]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x453fd2
jmp 0x45406c
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
call fcn.004540a5
mov eax, 1
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.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x454870
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.0042cec0
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4548a0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
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.00432c40
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.0046efe4
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.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x454930
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x454b43
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454b43
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454963
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x454b43
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.00432c40
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00432c40
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push 0x49316c
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4549e4
test al, 1
je 0x4549e4
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x454b29
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x454b1d
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x454a98
cmp word [ebp - 0x638], 0x2e
jne 0x454a57
mov ax, word [ebp - 0x636]
test ax, ax
je 0x454b02
cmp ax, 0x2e
jne 0x454a57
cmp word [ebp - 0x634], 0
je 0x454b02
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.00454930
add esp, 4
jmp 0x454b00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x454aef
test al, 1
je 0x454aef
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x454a20
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x454b60
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x454b9d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454b9d
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x454b98
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x454b9d
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x455a30
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b80f0
push 0x431fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4be5b4]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x250], 0xffffffff
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x250], edi
cmp edi, 0xffffffff
je 0x455b29
push 0x22c
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.00432c40
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x455b29
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x455b16
push dword [ebp - 0x240]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x455b10
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
mov esi, dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x455ad1
jmp 0x455b2f
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
call fcn.00455b63
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.0042c75e
mov esp, ebp
pop ebp
ret