joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55bf8c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov ebx, ecx
test ebx, ebx
js 0x55bfbf
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x55bfb8
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d24
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x401120]
call fcn.004055a0
xor eax, eax
push ebp
push 0x55c14d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x55c115
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x55c174
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404bfc
mov eax, dword [ebp - 0x158]
call fcn.00404d34
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x55c109
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x55c0ee
test al, 2
jne 0x55c0ee
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x55c174
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404ad0
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404bfc
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.005509a0
call fcn.0041f184
test al, al
je 0x55c0ac
or edi, 0xffffffff
jmp 0x55c0bb
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00550b3c
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.00550904
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404ad0
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x55c041
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x55c004
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c154
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.0040488c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x401120]
call fcn.00405478
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x55d2b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55d347
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
mov eax, dword [0x598370]
cmp dword [eax + 4], 0x60000
jl 0x55d2e8
or dword [ebp - 4], 0x400000
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0055d3dc
mov eax, dword [ebp - 8]
call fcn.0055b168
test al, al
je 0x55d318
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x55d318
and dword [ebp - 4], 0xfffbffff
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x428]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d34e
lea eax, [ebp - 8]
call fcn.00404868
ret

Function at 0x560e08
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00404d34
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x560e49
dec eax
je 0x560e2b
sub eax, 2
je 0x560e49
jmp 0x560e5a
mov al, byte [ebx]
call fcn.00552310
test al, al
je 0x560e5a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.00403b70
jmp 0x560e5a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.00403b70
pop esi
pop ebx
pop ebp
ret

Function at 0x560e60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x560f0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3f8], 0
jne 0x560eae
push 0x465
mov eax, dword [ebp - 4]
call fcn.00463814
mov ecx, eax
mov dl, 1
mov eax, dword [0x55d578]
call fcn.0055d5e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
call fcn.0055daac
lea eax, [ebp - 8]
mov edx, 0x560f24
call fcn.00404900
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x560ef9
test bl, 1
je 0x560ef2
lea eax, [ebp - 8]
call fcn.00404d8c
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.00560e08
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x560ed6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560f16
lea eax, [ebp - 8]
call fcn.00404868
ret
Function at 0x561aa8
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404d24
xor eax, eax
push ebp
push 0x561bc6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x561b99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d34
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x561b76
test byte [ebp - 0x14c], 0x10
jne 0x561b59
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404ad0
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00409650
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x561b1c
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x561b82
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561ba0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x566734
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x566742
je 0x566747
jmp 0x56676c
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x566767
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x598394]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x56a3f4
Capabilities:
Get hostname

Disassembly:
add esp, 0xfffffefc
lea eax, [esp + 4]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004031e8
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, 0x59b294
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
add esp, 0x104
ret
Function at 0x56c404
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x58], eax
xor eax, eax
push ebp
push 0x56c567
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x44
call fcn.004031e8
mov dword [ebp - 0x44], 0x44
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 3]
mov ecx, dword [eax*4 + 0x597cd0]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [ebp - 0x58]
call fcn.00404b88
mov eax, dword [ebp - 0x58]
call fcn.00404d34
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00404d34
push eax
call sub.kernel32.dll_CreateProcessA
call fcn.004102b8
mov ebx, eax
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x56c4f4
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 3]
mov ecx, dword [eax*4 + 0x597cd0]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [ebp - 0x68]
call fcn.00404b88
mov eax, dword [ebp - 0x68]
call fcn.00404d34
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 6
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x56c57c
call fcn.0040b344
mov eax, dword [ebp - 0x5c]
call fcn.0056bbb4
pop ecx
jmp 0x56c53f
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 3]
mov ecx, dword [eax*4 + 0x597cd0]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [ebp - 0x70]
call fcn.00404b88
mov eax, dword [ebp - 0x70]
call fcn.00404d34
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 6
lea edx, [ebp - 0x64]
xor ecx, ecx
mov eax, 0x56c59c
call fcn.0040b344
mov eax, dword [ebp - 0x6c]
call fcn.0056bbb4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c56e
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0040488c
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0040488c
ret
Function at 0x56c804
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x56c979
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004031e8
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], si
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004094b0
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x56c990
call fcn.00404e78
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404d94
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0040a798
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 4]
call fcn.00404900
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d34
mov esi, eax
push esi
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, ebx
call fcn.00404d34
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x56c8d8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_WaitForInputIdle
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x56c956
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x60]
mov eax, ebx
call fcn.0040a988
mov eax, dword [ebp - 0x60]
call fcn.00404d34
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x56c921
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_WaitForInputIdle
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x56c956
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x68]
call fcn.00409d24
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x56c9a0
call fcn.00404b88
mov ecx, dword [ebp - 0x64]
mov dl, 1
mov eax, dword [0x4087f8]
call fcn.0040e748
call fcn.00404204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c980
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.0040488c
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x56d6e8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d24
xor eax, eax
push ebp
push 0x56d827
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x10], 0
jne 0x56d80c
mov eax, dword [ebp - 4]
call fcn.0040a33c
test al, al
jne 0x56d80c
lea eax, [ebp - 0xc]
mov ecx, 0x56d840
mov edx, dword [ebp - 4]
call fcn.00404b88
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 8]
mov eax, ebx
call fcn.0056b570
cmp dword [ebp - 8], 0
je 0x56d78f
push 0x56d84c
push dword [ebp - 8]
push 0x56d85c
push 0x56d868
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00409cec
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00404bfc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x84]
call fcn.0042435c
mov eax, dword [ebp - 4]
call fcn.0040a374
mov eax, dword [ebp - 4]
call fcn.0040a33c
test al, al
jne 0x56d7e6
mov al, byte [0x56d87c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x56d888
mov edx, 0x56d8ac
mov eax, ebx
call fcn.00570fc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x56d8c8
call fcn.00410070
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x4087f8]
call fcn.0040e748
call fcn.00404204
mov ebx, 0x10
cmp byte [ebp + 0xc], 0
je 0x56d7f4
or ebx, 1
cmp byte [ebp + 8], 0
je 0x56d7fd
or ebx, 2
push ebx
mov eax, dword [ebp - 4]
call fcn.00404d34
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d82e
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040488c
ret

Function at 0x573a34
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x573afd
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x59b240]
push 0x573b14
lea eax, [ebp - 0xc]
call fcn.0056bb1c
push dword [ebp - 0xc]
push 0x573b20
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404bfc
push 0
mov eax, dword [ebp - 4]
call fcn.00404d34
mov ebx, eax
push ebx
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402c28
mov eax, dword [ebp - 0x10]
call fcn.00404d34
push eax
call sub.kernel32.dll_CopyFileA
mov edx, 0x573b30
mov eax, dword [ebp - 4]
call fcn.00576570
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00409d24
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 0x573b3c
call fcn.00404b88
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
push ebx
push 0x573b40
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x573b04
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040488c
ret
Function at 0x573bb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d24
mov eax, dword [ebp + 0xc]
call fcn.00404d24
xor eax, eax
push ebp
push 0x573cd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
cmp word [eax + 0x42], 0
je 0x573c31
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov ecx, 0x573ce8
mov edx, 0x573cfc
call fcn.00575f28
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404b44
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax - 4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
cmp byte [ebp + 8], 0
je 0x573c3b
xor ebx, ebx
jmp 0x573c40
mov ebx, 1
sub esi, 1
jb 0x573c4c
je 0x573c81
dec esi
je 0x573ca5
jmp 0x573cad
push ebx
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a798
mov eax, dword [ebp - 0xc]
call fcn.00404d34
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
call fcn.00404d34
push eax
push 0x573d08
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x573cad
push dword [ebp - 4]
push 0x573d18
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404bfc
mov eax, dword [ebp - 0x10]
mov edx, ebx
call fcn.0056c804
jmp 0x573cad
mov eax, dword [ebp - 4]
call fcn.0040a6b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x573cd7
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040488c
lea eax, [ebp + 0xc]
call fcn.00404868
ret
Function at 0x5750a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x15c], ebx
mov ebx, ecx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x158]
mov edx, dword [0x4087d8]
call fcn.00405374
xor eax, eax
push ebp
push 0x575346
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x5751c2
mov eax, dword [ebp - 0x160]
cmp word [eax + 0x42], 0
je 0x57515c
lea eax, [ebp - 0x188]
push eax
mov ecx, 0x57535c
mov edx, 0x575374
mov eax, dword [ebp - 0x160]
call fcn.00575f28
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 0x164]
call fcn.00404b44
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0x38]
mov ebx, dword [ebp - 0x160]
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
xor eax, eax
mov dword [ebp - 0x182], eax
xor eax, eax
mov dword [ebp - 0x182], eax
mov dword [ebp - 0x17e], 3
lea eax, [ebp - 0x18c]
mov ecx, 0x57538c
mov edx, dword [ebp - 0x164]
call fcn.00404b88
mov eax, dword [ebp - 0x18c]
call fcn.00404d34
mov dword [ebp - 0x17a], eax
mov eax, 0x575390
mov dword [ebp - 0x176], eax
mov word [ebp - 0x172], 0x414
lea eax, [ebp - 0x182]
push eax
call sub.shell32.dll_SHFileOperationA
jmp 0x5752fc
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x164]
call fcn.00404900
mov eax, dword [ebp - 0x160]
cmp word [eax + 0x42], 0
je 0x575228
lea eax, [ebp - 0x190]
push eax
mov ecx, 0x57535c
mov edx, 0x575374
mov eax, dword [ebp - 0x160]
call fcn.00575f28
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 0x15c]
call fcn.00404b44
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0x38]
mov ebx, dword [ebp - 0x160]
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x15c]
call fcn.00404b3c
mov edx, dword [ebp - 0x15c]
cmp byte [edx + eax - 1], 0x5c
jne 0x57525d
mov eax, dword [ebp - 0x15c]
call fcn.00404b3c
mov edx, eax
lea eax, [ebp - 0x15c]
mov ecx, 1
call fcn.00404dd4
lea eax, [ebp - 0x194]
mov ecx, 0x57539c
mov edx, dword [ebp - 0x15c]
call fcn.00404b88
mov eax, dword [ebp - 0x194]
lea ecx, [ebp - 0x158]
mov edx, 0x3f
call fcn.0040a5e0
test eax, eax
jne 0x5752da
xor eax, eax
push ebp
push 0x5752d3
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.00574fa0
pop ecx
jmp 0x5752ab
push ebp
call fcn.00574fa0
pop ecx
lea eax, [ebp - 0x158]
call fcn.0040a64c
test eax, eax
je 0x5752a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5752da
lea eax, [ebp - 0x158]
call fcn.0040a688
ret
mov eax, dword [ebp - 0x164]
call fcn.00574e68
test al, al
je 0x5752fc
mov cl, 1
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x160]
call fcn.005750a8
mov eax, dword [ebp - 0x164]
call fcn.0040a33c
mov ebx, eax
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57534d
lea eax, [ebp - 0x194]
mov edx, 4
call fcn.0040488c
lea eax, [ebp - 0x15c]
call fcn.00404868
lea eax, [ebp - 0x158]
mov edx, dword [0x4087d8]
call fcn.00405444
ret
Function at 0x575f6c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x576043
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [esi + 0x42], 0
je 0x575fc0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x57605c
mov edx, 0x576074
mov eax, esi
call fcn.00575f28
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.00404b44
mov edx, dword [ebp - 0x24]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x44]
call dword [esi + 0x40]
xor edx, edx
mov eax, ebx
call fcn.0040a510
xor eax, eax
mov dword [ebp - 0x1f], eax
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], 3
lea eax, [ebp - 0x28]
mov ecx, 0x57608c
mov edx, ebx
call fcn.00404b88
mov eax, dword [ebp - 0x28]
call fcn.00404d34
mov dword [ebp - 0x17], eax
mov eax, 0x576090
mov dword [ebp - 0x13], eax
mov word [ebp - 0xf], 0x14
lea eax, [ebp - 0x1f]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete byte [ebp - 1]
mov eax, ebx
call fcn.0040a31c
test al, al
je 0x576028
mov edx, 0x57609c
mov eax, ebx
call fcn.00576570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57604a
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040488c
ret

Function at 0x5760e4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404ad0
add esp, 0x10c
pop ebx
ret

Function at 0x576120
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x57616b
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404dd4
add esp, 0x100
pop ebx
ret

Function at 0x576174
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
je 0x5761c5
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404ad0
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x5761db
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404dd4
jmp 0x5761db
mov ecx, 0x5761ec
mov dl, 1
mov eax, dword [0x4087f8]
call fcn.0040e748
call fcn.00404204
add esp, 0x108
pop ebx
ret
Function at 0x576290
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x5762d7
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404dd4
add esp, 0x100
pop ebx
ret

Function at 0x57638c
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffe8
call fcn.005762e0
cmp al, 3
je 0x5763ad
push esp
push 0xf00ff
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x576400
call fcn.005762e0
cmp al, 3
je 0x5763f7
lea eax, [esp + 0xc]
push eax
push 0x576404
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 2
call sub.user32.dll_ExitWindowsEx
add esp, 0x18
ret