joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447454
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
mov esi, edx
lea edx, [ebp - 0x438]
call fcn.00402977
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.00402977
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
pop esi
test eax, eax
jne 0x4474cb
cmp byte [ebp + 8], al
je 0x4474c7
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422cc3
pop ecx
pop ecx
test eax, eax
je 0x4474c3
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
lea ecx, [ebp - 0x438]
call fcn.004486d2
test al, al
je 0x4474c7
lea ecx, [ebp - 0x22c]
call fcn.004486d2
test al, al
je 0x447575
cmp byte [ebp + 8], 0
je 0x4474c7
lea eax, [ebp - 0x438]
push str..
push eax
call fcn.004223d4
lea eax, [ebp - 0x438]
push eax
call fcn.004223bb
xor ecx, ecx
mov word [ebp + eax*2 - 0x436], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.004223bb
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
add esp, 0x10
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
leave
ret
lea ecx, [ebp - 0x22c]
call fcn.004477c8
test al, al
je 0x4474c7
lea ecx, [ebp - 0x22c]
call fcn.004486d2
test al, al
jmp 0x4474f1
Function at 0x44759a
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call fcn.00431100
push ebx
push esi
mov esi, edx
xor ebx, ebx
lea edx, [ebp - 0x640]
mov byte [ebp - 1], bl
call fcn.00402977
lea edx, [ebp - 0x850]
mov ecx, esi
call fcn.00402977
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x640]
call fcn.00448665
lea ecx, [ebp - 0x640]
mov byte [ebp - 3], al
call fcn.004486d2
mov esi, str..
test al, al
je 0x4475ff
lea eax, [ebp - 0x640]
push esi
push eax
call fcn.004223d4
pop ecx
pop ecx
lea ecx, [ebp - 0x850]
call fcn.004486d2
test al, al
je 0x44761d
lea eax, [ebp - 0x850]
push esi
push eax
call fcn.004223d4
pop ecx
pop ecx
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0xca8]
push eax
lea eax, [ebp - 0xeb0]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.00423430
add esp, 0x14
lea eax, [ebp - 0xaa0]
push eax
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x4477b8
cmp al, 1
jne 0x4477b8
test byte [ebp - 0xaa0], 0x10
jne 0x44778a
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x10b8]
push eax
lea edx, [ebp - 0xca8]
lea ecx, [ebp - 0xa74]
call fcn.00447d8f
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00422403
lea eax, [ebp - 0xeb0]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004223d4
lea eax, [ebp - 0xa74]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004223d4
add esp, 0x18
lea ecx, [ebp - 0x430]
call fcn.0040244f
test al, al
je 0x44771d
cmp byte [ebp + 8], bl
je 0x4477ad
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
lea eax, [ebp - 0x430]
push eax
je 0x44773e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0xc], 1
lea eax, [ebp - 0x430]
jne 0x447773
cmp byte [ebp - 3], bl
jne 0x447751
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x447782
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4477bb
jmp 0x447786
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4477ad
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x447782
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4477ad
mov byte [ebp - 1], 1
lea eax, [ebp - 0xaa0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x447669
mov al, bl
mov byte [ebp - 2], al
jmp 0x447669
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x4477c4
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x4477c8
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov edx, ecx
push ebx
push esi
push 0x104
lea ecx, [ebp - 0x20c]
call fcn.00403d09
lea eax, [ebp - 0x20c]
push eax
call fcn.004223bb
pop ecx
pop ecx
push 0x5c
pop ebx
test eax, eax
je 0x44780e
cmp word [ebp + eax*2 - 0x20e], bx
jne 0x44780e
xor ecx, ecx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44789b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x447842
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x447847
mov al, 1
jmp 0x4478a1
cmp eax, 3
jne 0x44789f
lea ecx, [ebp - 0x20c]
call fcn.00402a3b
mov esi, eax
push ebx
push esi
call fcn.00423c27
pop ecx
pop ecx
test eax, eax
jne 0x44786a
push esi
call fcn.00420c3e
pop ecx
jmp 0x44789f
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
call fcn.004477c8
push esi
mov bl, al
call fcn.00420c3e
pop ecx
test bl, bl
je 0x447897
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov al, bl
jmp 0x4478a1
test al, 0x10
jne 0x44783e
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x4478a5
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x678
push ebx
xor ebx, ebx
push esi
lea edx, [esp + 0x18]
mov byte [esp + 0xf], bl
call fcn.00402977
lea ecx, [esp + 0x18]
call fcn.004486d2
test al, al
je 0x4478e0
lea eax, [esp + 0x18]
push str..
push eax
call fcn.004223d4
pop ecx
pop ecx
push ebx
push ebx
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00423430
add esp, 0x14
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [esp + 0xe], al
cmp esi, 0xffffffff
je 0x447993
cmp al, 1
jne 0x447993
test byte [esp + 0x228], 0x10
jne 0x447974
mov byte [esp + 0xf], al
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00422403
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004223d4
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004223d4
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x447997
lea eax, [esp + 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov al, byte [esp + 0xe]
jne 0x44791c
mov al, bl
mov byte [esp + 0xe], al
jmp 0x44791c
mov bl, byte [esp + 0xf]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4479b6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 2
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x234], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [ebp + 8]
mov ecx, ebx
mov byte [esi], 0
call fcn.0044841d
mov ebx, eax
jmp 0x447a77
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x447a7c
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00423430
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.004223d4
push dword [ebp - 8]
lea eax, [ebp - 0x438]
push eax
call fcn.00422687
add esp, 0x24
test eax, eax
jne 0x447a61
mov eax, dword [ebp - 0x22c]
jmp 0x447a6f
test ebx, ebx
je 0x447a77
mov eax, dword [ebp - 0x22c]
cmp ebx, eax
jne 0x447a77
mov ecx, dword [ebp - 4]
mov byte [esi], 1
mov dword [ecx], eax
cmp byte [esi], 0
je 0x4479ff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x447a8a
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor esi, esi
push esi
mov eax, 0x80
push eax
push 3
push esi
push 3
mov ebx, edx
push eax
push ecx
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, eax
mov dword [ebp - 8], edx
cmp edx, 0xffffffff
jne 0x447abb
xor al, al
jmp 0x447b04
push 0xa
pop ecx
xor eax, eax
push esi
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x447ab7
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447b09
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4c336c]
sub esp, 0x1c
cmp byte [eax + 0x25], 0
jne 0x447b21
mov eax, 0x80004005
leave
ret
push ebx
push esi
xor esi, esi
push esi
mov eax, 0x80
push eax
push 3
push esi
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x447b84
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x10], 7
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
test esi, esi
jne 0x447b8b
mov eax, 0x80004005
jmp 0x447b93
xor eax, eax
cmp byte [ebp - 0x14], al
setne al
pop esi
pop ebx
leave
ret
Function at 0x448136
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
mov edi, ecx
push eax
push edi
mov ebx, edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x44815b
xor al, al
jmp 0x448303
push esi
call fcn.00420bca
pop ecx
push eax
mov dword [ebp - 4], eax
push esi
xor eax, eax
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov esi, dword [ebp + 8]
push esi
call fcn.004223bb
xor ecx, ecx
push 2
add eax, 0x1a
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420bca
mov edi, eax
push 0x49ec84
push edi
call fcn.00422403
push 0x49ec84
push esi
call fcn.00422cc3
add esp, 0x18
test eax, eax
je 0x448247
push str.StringFileInfo_
push edi
call fcn.004223d4
push 0x49ec84
push esi
call fcn.004230e6
add esp, 0x10
test eax, eax
jne 0x44823e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x44821a
mov eax, dword [ebp - 0x10]
push 0
mov esi, dword [eax]
push esi
push 4
lea ecx, [edi + 0x20]
pop edx
call fcn.00408ec6
push 0
shr esi, 0x10
push esi
push 4
lea ecx, [edi + 0x28]
pop edx
call fcn.00408ec6
mov esi, dword [ebp + 8]
add esp, 0x10
jmp 0x448227
push str.04090000
push edi
call fcn.004223d4
pop ecx
pop ecx
push 0x49ec84
push edi
call fcn.004223d4
push esi
push edi
call fcn.004223d4
add esp, 0x10
jmp 0x448247
push esi
push edi
call fcn.004223d4
pop ecx
pop ecx
push str.DefaultLangCodepage
push esi
call fcn.00422687
pop ecx
pop ecx
test eax, eax
jne 0x448282
push 8
lea eax, [edi + 0x20]
push eax
push ebx
call fcn.004236d0
push dword [ebp - 4]
xor eax, eax
mov word [ebx + 0x10], ax
call fcn.00420c3e
push edi
call fcn.00420c3e
add esp, 0x14
mov al, 1
jmp 0x448303
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4482f0
push 0x49ec84
push esi
call fcn.00422cc3
pop ecx
pop ecx
test eax, eax
jne 0x4482d2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, cx
push eax
movzx eax, dx
shr ecx, 0x10
push ecx
push eax
shr edx, 0x10
push edx
push str._u._u._u._u
push ebx
call fcn.00422e0b
add esp, 0x18
jmp 0x4482ec
push 0x200
push dword [ebp - 8]
push ebx
call fcn.004236d0
add esp, 0xc
xor eax, eax
mov word [ebx + 0x400], ax
mov byte [ebp - 0xc], 1
push dword [ebp - 4]
call fcn.00420c3e
push edi
call fcn.00420c3e
mov al, byte [ebp - 0xc]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448349
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
lea eax, [ebp - 0x298]
push esi
push edi
push eax
push 0x101
mov edi, edx
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x44840c
push 0x100
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x44840c
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
je 0x4483a9
mov eax, edx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x4483a0
cmp esi, ecx
jle 0x4483bc
push str.0.0.0.0
push edi
call fcn.00422403
pop ecx
pop ecx
jmp 0x448404
push 4
push dword [edx + esi*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.00420560
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00423cd0
or edx, 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.0044902b
mov esi, eax
push esi
push edi
call fcn.00422403
push esi
call fcn.00420c3e
add esp, 0x14
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x448419
push 0x49ebf0
push edi
call fcn.00422403
pop ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x448601
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xc], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x44865a
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 8]
neg eax
sbb eax, eax
and dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, 1
sete al
pop ebx
leave
ret

Function at 0x4486d2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4486e5
test al, 0x10
je 0x4486e5
mov al, 1
ret
xor al, al
ret
Function at 0x44870b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [0x4c44d9], 0
test edi, edi
je 0x44875d
mov byte [0x4c44da], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
push eax
xor ecx, ecx
push ecx
lea eax, [ebp - 0xc]
push eax
push 0x448b53
push ecx
push ecx
mov dword [ebp - 8], edi
call fcn.0042390a
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0x18
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
or ebx, 0xffffffff
mov edi, eax
test esi, esi
je 0x44878a
push ebx
push esi
mov byte [0x4c44da], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4c44d9], 1
cmove edi, ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44892b
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push esi
mov esi, edx
lea edx, [ebp - 0x438]
call fcn.00402977
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.00402977
lea ecx, [ebp - 0x438]
call fcn.004486d2
test al, al
jne 0x448965
xor al, al
jmp 0x448b05
lea ecx, [ebp - 0x22c]
call fcn.004486d2
xor esi, esi
test al, al
je 0x448a37
cmp byte [ebp + 8], 0
je 0x44895e
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4489d6
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422cc3
pop ecx
pop ecx
test eax, eax
je 0x4489cf
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
jmp 0x448b05
mov al, 1
jmp 0x448b05
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x438]
push esi
push eax
call fcn.00423430
lea eax, [ebp - 0x22c]
push 0x49ec84
push eax
call fcn.004223d4
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004223d4
add esp, 0x24
cmp word [ebp - 0x63c], si
je 0x448a37
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004223d4
pop ecx
pop ecx
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x438]
call fcn.00448665
test al, al
je 0x448a7c
push 1
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x438]
call fcn.00447454
pop ecx
test al, al
je 0x44895e
mov dl, 1
lea ecx, [ebp - 0x438]
call fcn.00448cfc
test al, al
jmp 0x4489c7
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422cc3
pop ecx
pop ecx
test eax, eax
je 0x44895e
lea eax, [ebp - 0x438]
push eax
call fcn.004223bb
xor ecx, ecx
mov word [ebp + eax*2 - 0x436], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.004223bb
pop ecx
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
mov eax, 0x614
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], esi
mov dword [ebp - 6], esi
mov dword [ebp - 0xe], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop esi
leave
ret

Function at 0x448cfc
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
mov bl, dl
lea edx, [ebp - 0x22c]
call fcn.00402977
lea ecx, [ebp - 0x22c]
call fcn.004486d2
test al, al
je 0x448d84
lea eax, [ebp - 0x22c]
push eax
test bl, bl
jne 0x448d3a
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x448d84
call fcn.004223bb
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop ebx
leave
ret
Function at 0x448d87
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push str.SeShutdownPrivilege
lea ecx, [ebp - 0x10]
mov esi, edx
call fcn.00447392
push ecx
lea ecx, [ebp - 0x10]
call fcn.0043c930
test al, al
jne 0x448db1
xor esi, esi
jmp 0x448e01
cmp ebx, 0x20
je 0x448df3
cmp ebx, 0x40
je 0x448def
push 0
test bl, 0xb
jne 0x448dcb
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x448dff
pop ecx
push 1
pop edx
push 0
pop eax
test bl, 0x14
cmovne ecx, edx
push esi
test bl, 2
cmovne eax, edx
push eax
push ecx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
jmp 0x448dff
xor eax, eax
jmp 0x448df6
xor eax, eax
inc eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0043c376
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x448e0f
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
test esi, esi
js 0x448eab
jne 0x448e26
push 0
jmp 0x448ea5
cmp esi, 0xf
jae 0x448ea4
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x448ea4
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
fild qword [ebp - 0x28]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fstp qword [ebp - 0x20]
divsd xmm0, qword [ebp - 0x20]
mulsd xmm0, qword [0x4b3768]
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
call fcn.00472b06
cmp eax, esi
jb 0x448e43
jmp 0x448eab
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
leave
ret

Function at 0x448fcc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 8]
push eax
push 0x1f4
push 2
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x449027
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret