joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52507c
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x52508c
call sub.user32.dll_FindWindowA
ret
Function at 0x542264
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x54227c
mov eax, ebx
call fcn.00541af8
cmp dword [ebx + 0x68], 0
jne 0x542289
mov eax, ebx
call fcn.00541a54
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x542439
cmp dword [ebx + 0x68], 0
je 0x542439
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.005418c4
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0055b988
cmp eax, dword [esp]
je 0x54230b
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0055b99c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5422e7
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.0055b988
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x542300
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x54231e
mov eax, dword [eax + 0x18]
call fcn.00471b0c
mov esi, eax
jmp 0x542321
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x542336
or esi, 0xffffffff
jmp 0x542340
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0046a908
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.0046a92c
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0046a954
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0046a978
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406c08
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00471b0c
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00471b0c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00471b0c
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042ea4c
call fcn.0042a2ac
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00471b0c
push eax
call dword [0x5b1250]
push 4
mov eax, dword [ebx + 0x68]
call fcn.00471b0c
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5426a0
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ff4
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x54288c
push 0
push 0x542894
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x54288c
push 0
push 0x5428a4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x54288c
push 0
push 0x5428b4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x54288c
push 0
push 0x5428c4
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x54288c
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x54288c
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x54288c
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x54288c
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x54288c
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x542878
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x54286e
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x54286e
test byte [esp + 0x1d], 0xd
jne 0x54286e
mov al, byte [esp + 0x1c]
and al, 8
cmp al, 8
je 0x54286e
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x54286e
cmp dword [esp + 0xc], 0
je 0x54286e
mov eax, dword [0x5af014]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0x10]
jne 0x54286e
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x54284a
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x542878
lea eax, [esp + 0x28]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
call fcn.00406c4c
jmp 0x542878
cmp ebx, dword [esp + 4]
jl 0x5427ae
push 0x8000
push 0
push esi
push edi
call sub.kernel32.dll_VirtualFreeEx
push edi
call sub.kernel32.dll_CloseHandle
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x54ebb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x54ec21
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5ae778]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x54ec0b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0054eb9c
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x54e990]
call fcn.0054ec4c
mov dword [0x5ae7dc], eax
mov eax, dword [ebp - 4]
call fcn.0054eb4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54ec28
lea eax, [ebp - 8]
call fcn.004063f4
ret

Function at 0x54ee08
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
lea eax, [ebp - 0x160]
xor ecx, ecx
mov edx, 0x160
call fcn.00402ff4
push 0x4001
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push 0x54eea8
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x5ae770], eax
cmp dword [0x5ae770], 0
je 0x54eea1
cmp dword [0x5ae774], 0
jne 0x54eea1
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b76ac]
call fcn.004b7f48
mov dword [0x5ae774], eax
mov edx, dword [0x5ae770]
mov eax, dword [0x5ae774]
call fcn.004788fc
mov eax, dword [0x5ae774]
mov byte [eax + 0x42], 1
mov dl, 1
mov eax, dword [0x5ae774]
call fcn.004b960c
push 0xffffffffffffffff
mov eax, dword [0x5ae774]
call fcn.00478938
push eax
call sub.comctl32.dll_ImageList_SetBkColor
mov esp, ebp
pop ebp
ret

Function at 0x55c340
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.0040a030
test al, al
je 0x55c3c7
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00402ff4
or esi, 0x100
test esi, esi
jns 0x55c37b
call fcn.004035a8
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.004049ac
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x55c3c7
mov dl, 1
mov eax, dword [0x428218]
call fcn.0043004c
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00430458
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x55c3c7
mov eax, esp
call fcn.00410cd0
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x578e64
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x1c], 0
je 0x578f08
mov eax, dword [0x5af248]
cmp dword [eax], 2
jne 0x578f08
push 0
push 0x2000000
push 4
push 0
push 3
push 0x80000000
mov eax, dword [ebx + 0x10]
call fcn.00404e48
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
push 0
push 0x2000000
push 4
push 0
push 3
push 0x40000000
mov eax, dword [ebx + 0x14]
call fcn.00404e48
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp esi, 0xffffffff
je 0x578efc
cmp ebx, 0xffffffff
je 0x578efc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetFileTime
test eax, eax
je 0x578efc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push esi
call sub.kernel32.dll_CloseHandle
push ebx
call sub.kernel32.dll_CloseHandle
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x57a2ec
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x57a379
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
call sub.kernel32.dll_GetFileTime
test eax, eax
je 0x57a335
lea eax, [ebp - 8]
push eax
push 0
push 0
push edi
call sub.kernel32.dll_SetFileTime
test eax, eax
jne 0x57a35e
lea eax, [ebp - 0xc]
call fcn.005a8458
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x30]
call fcn.005795c0
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x5aec18]
mov edx, dword [edx]
mov eax, ebx
call fcn.0057a388
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a380
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404c10
ret

Function at 0x580bd0
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406bec
push esi
push 0
push 0x419
mov eax, ebx
call fcn.00471b0c
push eax
call sub.user32.dll_SendMessageA
mov eax, esi
mov ecx, dword [ebx + 0x280]
mov edx, dword [ebx + 0x27c]
call fcn.00406c4c
pop esi
pop ebx
ret
Function at 0x58ee1c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x58ee24
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x58ef56
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402b44
mov eax, dword [ebp - 0x10]
call fcn.004049ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jbe 0x58ef3b
mov eax, ebx
call fcn.00402784
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x58ef34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402b44
mov eax, dword [ebp - 0x14]
call fcn.004049ac
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x58ef64
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov ebx, dword [ebp - 0xc]
push 0x58ef70
mov eax, dword [ebx + 8]
call fcn.00407ca0
movzx eax, ax
lea edx, [ebp - 0x18]
call fcn.00409930
push dword [ebp - 0x18]
push 0x58ef80
lea edx, [ebp - 0x1c]
movzx eax, word [ebx + 8]
call fcn.00409930
push dword [ebp - 0x1c]
push 0x58ef80
mov eax, dword [ebx + 0xc]
call fcn.00407ca0
movzx eax, ax
lea edx, [ebp - 0x20]
call fcn.00409930
push dword [ebp - 0x20]
push 0x58ef80
lea edx, [ebp - 0x24]
movzx eax, word [ebx + 0xc]
call fcn.00409930
push dword [ebp - 0x24]
mov eax, esi
mov edx, 8
call fcn.0040486c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ef3b
mov eax, dword [ebp - 8]
call fcn.004027a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ef5d
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004044e4
ret
Function at 0x591f50
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x591f58
xor eax, eax
push ebp
push 0x592102
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, 0x592118
call fcn.0048d2c8
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
call fcn.00416f64
push 0
push 0
push 0x59213c
push 0x592150
push 0x59215c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00412a28
add esp, 0x1c
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x28]
call fcn.0041704c
push 0x20
push 0x59217c
push 0x592188
push 0x5921b4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00412a28
add esp, 0x18
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x38]
call fcn.0041704c
push 0x5921c4
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00412a28
add esp, 0xc
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x70]
call fcn.00416b28
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 4]
mov ecx, 0x5921d0
call fcn.00406438
jmp 0x592076
lea eax, [ebp - 0x84]
push eax
push 0x5921e0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00412a28
add esp, 0xc
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x90]
call fcn.00415e28
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
lea edx, [ebp - 0x8c]
xor ecx, ecx
mov eax, 0x5921f0
call fcn.0040ac54
mov edx, dword [ebp - 0x84]
mov eax, dword [0x5af10c]
call fcn.00404514
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x592011
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592109
lea eax, [ebp - 0xa0]
call fcn.00412a20
lea eax, [ebp - 0x90]
call fcn.004044c0
lea eax, [ebp - 0x84]
call fcn.004044c0
lea eax, [ebp - 0x80]
call fcn.00412a20
lea eax, [ebp - 0x70]
call fcn.004063f4
lea eax, [ebp - 0x6c]
mov edx, dword [0x401118]
mov ecx, 2
call fcn.0040533c
lea eax, [ebp - 0x4c]
call fcn.004063f4
lea eax, [ebp - 0x48]
mov edx, dword [0x401128]
mov ecx, 4
call fcn.0040533c
lea eax, [ebp - 4]
call fcn.004063f4
ret
Function at 0x5988e4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov byte [ebx + 0x4ad], dl
mov byte [ebx + 0x4ae], 0
cmp byte [ebx + 0x4ad], 0
je 0x598979
mov eax, dword [0x5af0e0]
mov eax, dword [eax]
cmp byte [eax + 0x64], 0
je 0x59894b
mov dl, 1
mov eax, ebx
call fcn.00485e38
mov byte [ebx + 0x4ae], 1
xor edx, edx
mov eax, ebx
call fcn.00484d40
mov dl, 1
mov eax, dword [ebx + 0x41c]
call fcn.0043a748
mov dl, 1
mov eax, dword [ebx + 0x454]
call fcn.00498bcc
xor edx, edx
mov eax, ebx
call fcn.00599f50
jmp 0x5989be
mov eax, ebx
call fcn.00471b0c
push eax
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, ebx
call fcn.00471b0c
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebx + 0x57], 0
jne 0x5989be
mov dl, 1
mov eax, ebx
call fcn.00484d40
pop ebx
pop ebp
ret
xor edx, edx
mov eax, ebx
call fcn.00485e38
mov dl, 1
mov eax, ebx
call fcn.00484d40
xor edx, edx
mov eax, dword [ebx + 0x454]
call fcn.00498bcc
xor edx, edx
mov eax, dword [ebx + 0x41c]
call fcn.0043a748
mov eax, dword [ebx + 0x4c8]
test eax, eax
je 0x5989b6
mov dl, 1
call fcn.00484d40
xor eax, eax
mov dword [ebx + 0x4c8], eax
pop ebx
pop ebp
ret
Function at 0x5a1c04
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov byte [ebx + 0x499], dl
mov byte [ebx + 0x49a], 0
cmp byte [ebx + 0x499], 0
je 0x5a1c99
mov eax, dword [0x5af0e0]
mov eax, dword [eax]
cmp byte [eax + 0x64], 0
je 0x5a1c6b
mov dl, 1
mov eax, ebx
call fcn.00485e38
mov byte [ebx + 0x49a], 1
xor edx, edx
mov eax, ebx
call fcn.00484d40
mov dl, 1
mov eax, dword [ebx + 0x344]
call fcn.0043a748
mov dl, 1
mov eax, dword [ebx + 0x3a8]
call fcn.00498bcc
xor edx, edx
mov eax, ebx
call fcn.005a2fbc
jmp 0x5a1cde
mov eax, ebx
call fcn.00471b0c
push eax
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, ebx
call fcn.00471b0c
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebx + 0x57], 0
jne 0x5a1cde
mov dl, 1
mov eax, ebx
call fcn.00484d40
pop ebx
pop ebp
ret
xor edx, edx
mov eax, ebx
call fcn.00485e38
mov dl, 1
mov eax, ebx
call fcn.00484d40
xor edx, edx
mov eax, dword [ebx + 0x3a8]
call fcn.00498bcc
xor edx, edx
mov eax, dword [ebx + 0x344]
call fcn.0043a748
mov eax, dword [ebx + 0x4b8]
test eax, eax
je 0x5a1cd6
mov dl, 1
call fcn.00484d40
xor eax, eax
mov dword [ebx + 0x4b8], eax
pop ebx
pop ebp
ret

Function at 0x5a7e60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040499c
xor eax, eax
push ebp
push 0x5a7f11
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040914c
mov eax, dword [ebp - 8]
call fcn.004049ac
push eax
call sub.kernel32.dll_GetDriveTypeA
movzx eax, ax
cmp eax, 6
ja case.default.0x5a7ea6
jmp dword [eax*4 + 0x5a7ead]
xor ebx, ebx
jmp 0x5a7ef6
xor ebx, ebx
jmp 0x5a7ef6
mov ebx, 1
jmp 0x5a7ef6
mov ebx, 2
jmp 0x5a7ef6
mov ebx, 3
jmp 0x5a7ef6
mov ebx, 4
jmp 0x5a7ef6
mov ebx, 5
jmp 0x5a7ef6
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a7f18
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044e4
ret

Function at 0x5a8054
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push 0
call sub.kernel32.dll_SetLastError
push 0
push 0
mov edx, 1
mov eax, esi
call fcn.00499628
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x5a80c2
push dword [ebp + 0xc]
push dword [ebp + 8]
xor edx, edx
mov eax, esi
call fcn.00499628
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x5a80c2
push esi
call sub.kernel32.dll_SetEndOfFile
test eax, eax
je 0x5a80c2
push dword [ebp - 4]
push dword [ebp - 8]
xor edx, edx
mov eax, esi
call fcn.00499628
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x5a80c2
mov bl, 1
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x5a8c18
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], ecx
mov edi, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405200
xor eax, eax
push ebp
push 0x5a8d2a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e48
push eax
mov eax, dword [0x5af24c]
mov eax, dword [eax]
call eax
test eax, eax
je 0x5a8d04
push 0x104
lea eax, [ebp - 0x212]
push eax
lea eax, [ebp - 0x212]
push eax
mov eax, dword [0x5aee40]
mov eax, dword [eax]
call eax
test eax, eax
je 0x5a8d04
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00404db0
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.00490894
mov eax, dword [ebp - 0x218]
call fcn.00404e48
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x5a8d04
push 0
lea eax, [ebp - 8]
push eax
push 0xc
push edi
push 0
push 0
push 0x2d1080
push esi
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8d31
lea eax, [ebp - 0x21c]
mov edx, 2
call fcn.00404c10
lea eax, [ebp - 4]
call fcn.00404bf8
ret

Function at 0x5a9320
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040499c
xor eax, eax
push ebp
push 0x5a93a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
mov edx, 0x1e
call fcn.00407cb4
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x5a93bc
mov edx, dword [ebp - 4]
call fcn.004047f8
mov eax, dword [ebp - 0x28]
call fcn.004049ac
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a93ad
lea eax, [ebp - 0x28]
call fcn.004044c0
lea eax, [ebp - 4]
call fcn.004044c0
ret
Function at 0x5a93ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040499c
mov eax, dword [ebp - 8]
call fcn.0040499c
lea edi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x5a94bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, edi
mov dword [edi], 0x3c
mov dword [edi + 4], 0x40
mov dword [edi + 8], esi
xor eax, eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004049ac
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x48]
mov ecx, 0x5a94d8
mov edx, dword [ebp - 8]
call fcn.004047f8
mov eax, dword [ebp - 0x48]
call fcn.004049ac
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1c], eax
xor eax, eax
mov dword [edi + 0x20], eax
push ebx
call sub.shell32.dll_ShellExecuteExA
push 0x1f4
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
mov eax, dword [0x5af014]
mov eax, dword [eax]
call fcn.0048b7a8
cmp ebx, 0x102
je 0x5a9476
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a94c4
lea eax, [ebp - 0x48]
call fcn.004044c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044e4
ret
Function at 0x4576f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
push edi
or ebp, 0xffffffff
jmp 0x457712
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x457719
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457708
mov eax, 1
add ebx, ebx
jne 0x45772b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x457720
jne 0x45773c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x457720
xor ecx, ecx
sub eax, 3
jb 0x457750
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4577c2
mov ebp, eax
add ebx, ebx
jne 0x45775b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x457768
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45778c
inc ecx
add ebx, ebx
jne 0x457778
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45776d
jne 0x457789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45776d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4577ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45779d
jmp 0x45770e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4577ac
add edi, ecx
jmp 0x45770e
pop esi
lea edi, [esi + 0x55000]
mov eax, dword [edi]
or eax, eax
je 0x45780b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x599f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x59a64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4577c9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x59a6c]
or eax, eax
je 0x457805
mov dword [ebx], eax
add ebx, 4
jmp 0x4577e6
call dword [esi + 0x59a68]
mov ebp, dword [esi + 0x59a70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45783f
sub esp, 0xffffff80
jmp 0x406dc0