joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a4f0
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0
push 4
or edi, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x45a525
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x45a530
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x1c
ret
cmp dword [esp + 0x10], ebx
je 0x45a554
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x45a530
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x1c
ret
mov edi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x45b420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dfe10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 3
mov word [esi], ax
call fcn.004798f0
mov dword [ebp + 0xc], 3
mov dword [ebp - 0x18], edi
mov edi, 4
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x18]
push eax
push str.Start
push str.SYSTEMCurrentControlSet_servicesUSBSTOR
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
cmp dword [ebp + 0xc], edi
sete cl
mov dword [esi + 8], ecx
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45b5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dfdb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 3
mov word [esi], ax
call fcn.004798f0
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x18]
push eax
push str.WriteProtect
push str.SYSTEMCurrentControlSetControlStorageDevicePolicies
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
cmp dword [ebp + 0xc], edi
setne cl
mov dword [esi + 8], ecx
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45b970
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x45b9d2
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x20]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 2
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45ba25
push 0x80020013
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45c500
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0xcc
push 0xffffffffffffffff
push 0x5cef90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6d26f8]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
call fcn.0045a570
add esp, 4
test al, al
je 0x45c5da
mov edx, dword [ebp - 0x18]
mov dword [0x6eac4c], edx
cmp dword [ebp + 0xe0], esi
jne 0x45c577
call fcn.0042ad50
cmp eax, esi
je 0x45c577
mov dword [0x6eac4c], eax
mov ecx, dword [0x6eac4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x45c5da
xor edx, edx
mov word [ebp], dx
push 0xc6
push esi
lea eax, [ebp + 2]
push eax
call fcn.005985f0
add esp, 0xc
mov dword [ebp - 0x14], 0x64
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x45c5d4
mov eax, dword [ebp - 0x14]
cmp eax, esi
jbe 0x45c5d4
xor ecx, ecx
mov word [ebp + eax*2], cx
lea edx, [ebp]
mov edi, 0x6eb450
call fcn.0040b9c0
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.0059393a
add ebp, 0xcc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45e520
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db580
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040b8a0
mov bl, 1
mov byte [ebp - 4], bl
xor ecx, ecx
mov edx, 0x69c074
lea esi, [ebp - 0x18]
call fcn.00437bc0
cmp eax, 0xffffffff
je 0x45e59a
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov edx, esi
call fcn.00437e90
mov byte [ebp - 4], 2
mov edi, esi
call fcn.0040daa0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0040b950
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 0x24]
call fcn.0040b8a0
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x1c]
call fcn.00439db0
mov ebx, eax
call fcn.00439e30
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00435770
add esp, 4
test al, al
jne 0x45e6dd
lea ecx, [ebp - 0x18]
push ecx
call fcn.0042ff00
add esp, 4
test al, al
je 0x45e5f1
lea edx, [ebp - 0x18]
push edx
call fcn.0042fff0
add esp, 4
jmp 0x45e6dd
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45e625
test al, 0x10
je 0x45e625
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x1c]
push ecx
push 1
lea edx, [ebp - 0x12]
push edx
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.0047d990
add esp, 0x14
jmp 0x45e6dd
push 1
lea esi, [ebp - 0x1c]
call fcn.0040bd40
sub esp, 0x1c
mov dword [ebp - 0x20], esp
mov ecx, esp
call fcn.0040b2d0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x18]
call fcn.0040bd40
sub esp, 0x1c
mov dword [ebp - 0x24], esp
mov ecx, esp
call fcn.0040b2d0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
call fcn.00476000
add esp, 0x3c
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x69c078
call fcn.0040b8a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.00499ba0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.0040b950
test bl, bl
je 0x45e6b9
lea edx, [ebp - 0x11]
push edx
push 1
push 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.00417570
lea ecx, [ebp - 0x20]
call fcn.0040b720
cmp byte [ebp - 0x11], 0
jne 0x45e6c3
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x69c080
call fcn.0040ba40
test eax, eax
jne 0x45e6dd
mov ecx, dword [ebp - 0x18]
call fcn.0042e6e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b950
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040b950
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x45fa10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dfb2a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6d26f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x20], edx
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
push edx
call fcn.0040b8a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.0040b8a0
mov ebx, 2
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x34]
test eax, eax
jne 0x45faf1
push 1
sub esp, 0x1c
mov dword [ebp - 0x40], esp
mov eax, dword [ebp - 0x3c]
mov ecx, esp
call fcn.0040b2d0
mov byte [ebp - 4], 3
sub esp, 0x1c
mov dword [ebp - 0x44], esp
mov eax, dword [ebp - 0x38]
mov ecx, esp
call fcn.0040b2d0
mov byte [ebp - 4], 4
mov byte [ebp - 4], bl
call fcn.00476000
add esp, 0x3c
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x69c080
call fcn.0040ba40
test eax, eax
jne 0x45fb13
mov ecx, dword [ebp - 0x38]
call fcn.0042e6e0
jmp 0x45fb13
cmp eax, 1
jne 0x45fb00
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45fb13
cmp eax, ebx
jne 0x45fb13
call fcn.004798f0
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.00489290
lea eax, [ebp - 0x34]
push eax
call fcn.00416f80
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x34]
call fcn.00418010
test al, al
je 0x45fb3a
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0041a660
mov byte [ebp - 4], bl
lea edx, [ebp - 0x34]
push edx
call fcn.00416fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040b950
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040b950
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059393a
mov esp, ebp
pop ebp
ret 0x34
Function at 0x45fba0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dface
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6d26f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x54]
push eax
call fcn.0041d3b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0041d3b0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x88]
push edx
call fcn.0041d3b0
mov byte [ebp - 4], 3
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0042f7b0
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0042f7b0
lea edx, [ebp + 0x2c]
push edx
lea ecx, [ebp - 0x88]
call fcn.0042fa10
add esp, 0xc
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x48]
sar eax, 2
cmp edi, eax
jae 0x45fd1f
lea esi, [ebp - 0x88]
call fcn.00467500
cmp dword [eax], 0
jne 0x45fcd3
push 1
lea esi, [ebp - 0x6c]
call fcn.00467500
mov eax, dword [eax]
sub esp, 0x1c
mov dword [ebp - 0x8c], esp
mov ecx, esp
call fcn.0040b2d0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x54]
call fcn.00467500
mov eax, dword [eax]
sub esp, 0x1c
mov dword [ebp - 0x70], esp
mov ecx, esp
call fcn.0040b2d0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
call fcn.00476000
add esp, 0x3c
call fcn.00467500
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x6c]
call fcn.00467500
push eax
mov ecx, 0x69c080
call fcn.0040ba40
test eax, eax
jne 0x45fd19
lea esi, [ebp - 0x54]
call fcn.00467500
mov ecx, dword [eax]
call fcn.0042e6e0
inc edi
jmp 0x45fc2a
lea esi, [ebp - 0x88]
call fcn.00467500
cmp dword [eax], 1
jne 0x45fcf1
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
jmp 0x45fc2a
lea esi, [ebp - 0x88]
call fcn.00467500
cmp dword [eax], 2
jne 0x45fd19
call fcn.004798f0
mov ebx, eax
lea esi, [ebp - 0x54]
call fcn.00467500
mov edx, eax
mov ecx, ebx
call fcn.00489290
inc edi
jmp 0x45fc2a
lea ecx, [ebp - 0x34]
push ecx
call fcn.00416f80
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x34]
call fcn.00418010
test al, al
je 0x45fd60
xor edi, edi
mov dword [ebp - 0x3c], edi
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x60]
sar edx, 2
cmp edi, edx
jae 0x45fd60
lea esi, [ebp - 0x6c]
call fcn.00467500
push eax
lea ecx, [ebp - 0x34]
call fcn.0041a660
inc edi
jmp 0x45fd3c
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
call fcn.00416fe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
push ecx
call fcn.00438b40
mov byte [ebp - 4], 1
lea edx, [ebp - 0x6c]
push edx
call fcn.0041cd80
mov byte [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
call fcn.0041cd80
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059393a
mov esp, ebp
pop ebp
ret 0x34
Function at 0x45fdd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8328
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], 1
jne 0x45fe44
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
push ebx
lea esi, [ebp - 0x14]
call fcn.0040ce40
push eax
push ebx
push 0x20006
push 1
push ebx
push ebx
push str.SOFTWAREClasses_avhnoralert
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x45fe54
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45fe54
push str.SOFTWAREClasses_avhnoralert
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x462410
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d24f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040b8a0
mov byte [ebp - 4], 1
lea edi, [ebp - 0x14]
call fcn.0040bc80
mov eax, dword [ebp - 0x14]
mov esi, eax
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x462494
mov byte [ebp - 4], bl
mov ecx, edi
call fcn.0040b950
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0040b950
mov dword [ebp - 4], 0xffffffff
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x463f00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5c70
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x463f54
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x464000
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d24a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x24]
call fcn.0040b8a0
mov esi, eax
mov bl, 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0040b8a0
mov byte [ebp - 4], 2
mov esi, dword [esi]
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0040b950
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040b950
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x464830
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cede0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, 0x5c
mov esi, dword [ebp + 8]
call fcn.00437c10
mov esi, eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b7e0
mov byte [ebp - 4], 1
mov edi, edi
cmp esi, 0xffffffff
je 0x464928
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov edx, dword [ebp + 8]
call fcn.00437e90
mov byte [ebp - 4], 2
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
cmp eax, esi
je 0x4648e9
lea ebx, [esi + 0xc]
cmp dword [ebx], 0
jl 0x4648dd
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4648dd
call fcn.0040f770
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4648d5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
mov eax, dword [edx + 4]
call eax
add edi, 0x10
mov dword [ebp - 0x14], edi
jmp 0x4648e9
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [ebp - 0x14]
call fcn.0040f6d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040b950
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x464928
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x464928
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, 0x5c
lea esi, [ebp - 0x14]
call fcn.00437c10
mov esi, eax
jmp 0x464880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040b950
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466180
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5c30
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4661e2
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x20]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 2
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x466235
push 0x80020013
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x466580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d2468
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0040b8a0
mov dword [esp + 0x18], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.00441df0
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 0x24

Function at 0x4665e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d2438
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, dword [esp + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
mov eax, 3
push ecx
mov ecx, dword [esp + 0x30]
mov word [esi], ax
call fcn.0040b8a0
mov dword [esp + 0x18], 0
mov dword [esp + 0x18], 0xffffffff
mov ecx, edi
call fcn.00441d00
mov dword [esi + 8], eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x28

Function at 0x466de0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0060
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [0x6eb47c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
push 0
push 0x45c390
push 0
push 0
call fcn.005957cb
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14