joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b24d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ccb14
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2ac], 0xffffffff
push 0x5f8834
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0044a2d9
add esp, 0xc
mov dword [ebp - 4], 0
push 0x250
push 0
lea edx, [ebp - 0x2a8]
push edx
call fcn.00548bf0
add esp, 0xc
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403f32
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0xffffffff
jne 0x5b258a
mov dword [ebp - 0x2b0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403fae
mov eax, dword [ebp - 0x2b0]
jmp 0x5b26ac
push 0x5f8830
lea ecx, [ebp - 0x27c]
push ecx
call fcn.0056738a
add esp, 8
test eax, eax
je 0x5b25cf
push 0x5f8840
lea edx, [ebp - 0x27c]
push edx
call fcn.0056738a
add esp, 8
test eax, eax
je 0x5b25cf
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x27c]
cmp edx, 0x2e
jne 0x5b25d4
jmp 0x5b2659
push 0x5f883c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0044a2d9
add esp, 0xc
mov dword [ebp - 0x2b4], eax
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x2b8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0044a32b
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00403fae
mov eax, dword [ebp - 0x2a8]
and eax, 0x10
je 0x5b263e
lea ecx, [ebp - 0x28]
push ecx
call fcn.005b24d0
add esp, 4
jmp 0x5b264d
lea ecx, [ebp - 0x28]
call fcn.00403f32
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403fae
lea edx, [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x5b258a
mov ecx, dword [ebp - 0x2ac]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
call fcn.00403f32
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403fae
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret

Function at 0x5b2fb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.005b55e0
mov eax, dword [ebp + 8]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5b2fdf
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x5b2ff0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ccbf1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0xffffffff
jne 0x5b3038
jmp 0x5b3122
mov ecx, dword [ebp + 0xc]
call fcn.004be270
push 0x22c
push 0
lea eax, [ebp - 0x254]
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea ecx, [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x5b3115
mov ecx, dword [ebp + 8]
call fcn.00403d1a
push eax
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403f32
push eax
call fcn.00579d77
add esp, 0xc
test eax, eax
jne 0x5b30f6
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.005b3140
add esp, 8
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x264]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00446e8b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403fae
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x25c], eax
jmp 0x5b307a
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret
Function at 0x5b33d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
jne 0x5b3426
push 0
mov ecx, dword [ebp + 8]
call fcn.0040921d
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x5b34ec
push 0x22c
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x5b34c0
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x228]
jne 0x5b34a4
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040921d
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
jmp 0x5b34ec
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x23c], eax
jmp 0x5b3460
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5f872c
mov ecx, dword [ebp + 8]
call fcn.0040921d
mov edx, dword [ebp - 0x234]
or edx, 1
mov dword [ebp - 0x234], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret

Function at 0x5b3500
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x5b3532
xor eax, eax
jmp 0x5b35c0
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x5b35b1
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x228]
jne 0x5b3595
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
jmp 0x5b35c0
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x5b356c
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret
Function at 0x5b3650
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ccc6d
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x254]
call fcn.004bc1cd
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x5b36e7
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp + 8]
call fcn.004bfe90
mov ecx, dword [ebp - 0x244]
or ecx, 1
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004bc1c8
mov eax, dword [ebp + 8]
jmp 0x5b37bd
push 0x22c
push 0
lea edx, [ebp - 0x23c]
push edx
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x5b377d
mov ecx, dword [ebp + 0xc]
call fcn.00403d1a
push eax
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00403f32
push eax
call fcn.00579d77
add esp, 0xc
test eax, eax
jne 0x5b3761
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x254]
call fcn.004badca
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x248], eax
jmp 0x5b3721
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004bfe90
mov edx, dword [ebp - 0x244]
or edx, 1
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004bc1c8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret
Function at 0x5b37e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x5b3812
xor eax, eax
jmp 0x5b38ba
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x5b38ab
mov ecx, dword [ebp + 8]
call fcn.00403d1a
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403f32
push eax
call fcn.00579d77
add esp, 0xc
test eax, eax
jne 0x5b388f
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x5b38ba
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x5b384c
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret
Function at 0x5b3f90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ccd9a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.00408747
call fcn.005b1ef0
add esp, 0x18
mov dword [ebp - 0x90], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00548bf0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x60], dx
mov dword [ebp - 0x64], 1
push 0x5f8690
lea ecx, [ebp - 0x28]
call fcn.0040921d
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00446fa6
push 0x5f8688
lea ecx, [ebp - 0x28]
call fcn.00409b61
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00446fa6
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403f32
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x5b40d2
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x4c], esp
push 0x5f86ac
mov eax, dword [ebp + 0x10]
push eax
push edx
call fcn.0044a2d9
add esp, 0xc
call fcn.005b1ef0
add esp, 0x18
cmp dword [ebp + 0xc], 0
je 0x5b40cb
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x5b40c2
mov dword [ebp - 0x2c], 1
jmp 0x5b40c9
mov dword [ebp - 0x2c], 0
jmp 0x5b40d2
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x40], 0
je 0x5b40e2
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403fae
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret
Function at 0x5b45d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cce51
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3c
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x90], 0x3c
mov ecx, dword [ebp + 0x10]
call fcn.00403f32
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x8c], 0x440
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00408747
lea eax, [ebp - 0x40]
push eax
call fcn.005ad700
add esp, 0x1c
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
push 0x5f8518
lea ecx, [ebp - 0x28]
call fcn.0040921d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00446fa6
push 0x5f8550
lea ecx, [ebp - 0x28]
call fcn.00409b61
lea ecx, [ebp - 0x28]
call fcn.00403f32
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x14]
call fcn.00403f32
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x5b46fd
mov byte [ebp - 0x41], 1
cmp dword [ebp + 0xc], 0
je 0x5b46e6
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5b46e2
mov byte [ebp - 0x41], 0
jmp 0x5b46e6
mov byte [ebp - 0x41], 1
cmp dword [ebp - 0x48], 0
je 0x5b46fd
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], 0
movzx ecx, byte [ebp - 0x41]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403fae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403fae
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret
Function at 0x5b55e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x637280], 0
je 0x5b5603
mov eax, dword [0x637280]
jmp 0x5b56f8
mov dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x28]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x5b564a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x5b5640
mov dword [0x637280], 1
mov eax, dword [0x637280]
jmp 0x5b56f8
mov eax, dword [0x637280]
jmp 0x5b56f8
lea ecx, [ebp - 0x34]
push ecx
push 0x5f8730
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x5b5673
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x637280]
jmp 0x5b56f8
push 0x10
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + edx - 0x10], eax
mov dword [ebp + edx - 0xc], ecx
mov edx, 0xc
imul eax, edx, 0
mov dword [ebp + eax - 8], VariantCopy
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x5b56df
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x637280]
jmp 0x5b56f8
mov dword [0x637280], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x637280]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret
Function at 0x5b7830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd628
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x78]
call fcn.004c4640
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x78]
call fcn.004c62e0
lea ecx, [ebp - 0x78]
call fcn.004c6530
mov dword [eax], 1
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005b81d0
add esp, 8
test eax, eax
jne 0x5b78c0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004c46c0
mov eax, dword [ebp - 0xc0]
jmp 0x5b7996
lea ecx, [ebp - 0xb8]
call fcn.004c4670
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004065d3
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0xa0]
call fcn.004065d3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x78]
call fcn.004c6530
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], edx
push 0
push 0
lea eax, [ebp - 0xb8]
push eax
push 0x5b79b0
push 0
push 0
call fcn.00577219
add esp, 0x18
mov dword [ebp - 0xbc], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x5b7969
push 0
mov eax, dword [ebp - 0x7c]
push eax
push 0xd
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax]
call edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004c46e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004c46c0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret
Function at 0x5ba580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd9d7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x62a3b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x24]
test ecx, ecx
je 0x5ba5ba
xor al, al
jmp 0x5ba670
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x24], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004065d3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x10]
call fcn.005badc0
push 0x18
call fcn.00415ffa
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x5ba61e
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.005baa80
mov dword [ebp - 0x18], eax
jmp 0x5ba625
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x28
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 0x5ba6e0
push 0
push 0
call fcn.00577219
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x5ba666
mov dword [ebp - 0x1c], 1
jmp 0x5ba66d
mov dword [ebp - 0x1c], 0
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5badc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdae1
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d0], ecx
lea ecx, [ebp - 0x4cc]
call fcn.004c7ab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.004bdcc0
mov byte [ebp - 4], 1
push 0x5f92c8
lea ecx, [ebp - 0x28]
call fcn.0040921d
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x4d0]
add ecx, 4
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.005ad1b0
add esp, 0xc
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4d8]
call fcn.00403f32
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004bdee0
mov dword [ebp - 0x4dc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00403fae
cmp dword [ebp - 0x4dc], 0
je 0x5baf3b
lea ecx, [ebp - 0x4bc]
call fcn.004bde30
test eax, eax
jne 0x5baf28
lea ecx, [ebp - 0x4bc]
call fcn.004bdec0
test eax, eax
jne 0x5baf28
lea ecx, [ebp - 0x4e8]
push ecx
lea ecx, [ebp - 0x4bc]
call fcn.004c78f0
mov dword [ebp - 0x4e0], eax
mov edx, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e4], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4e4]
call fcn.0041f757
push eax
lea ecx, [ebp - 0x40]
call fcn.0040921d
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4f0]
push ecx
lea ecx, [ebp - 0x4cc]
call fcn.004c8030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00403fae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4e8]
call fcn.0040b035
lea ecx, [ebp - 0x4bc]
call fcn.004be040
test eax, eax
jne 0x5bae95
lea edx, [ebp - 0x4c4]
push edx
lea ecx, [ebp - 0x4cc]
call fcn.004c7af0
mov dword [ebp - 0x4c0], 0
jmp 0x5baf68
mov eax, dword [ebp - 0x4c0]
add eax, 1
mov dword [ebp - 0x4c0], eax
lea ecx, [ebp - 0x4cc]
call fcn.004c7ad0
sub eax, 5
cmp dword [ebp - 0x4c0], eax
jge 0x5bafa4
lea ecx, [ebp - 0x4c4]
call fcn.004c7a90
mov ecx, eax
call fcn.00403f32
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4c4]
call fcn.004c7a70
jmp 0x5baf59
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.004bdd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4cc]
call fcn.004c7a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542357
mov esp, ebp
pop ebp
ret