joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b230
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [ebp + 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
jne 0x44b26d
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebp
pop ecx
ret 4
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44b29a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 4
test edi, edi
jne 0x44b2b8
push esi
mov dword [esp + 0x10], 0x54f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 4
push ebx
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [esp + 0x18]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x14]
push ecx
mov esi, eax
push edi
push esi
push edx
mov dword [ebp + 4], esi
mov dword [ebp + 0x434], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44b2f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x44b319
cmp dword [esp + 0x10], edi
je 0x44b304
mov ebx, 0x1e
jmp 0x44b319
xor eax, eax
test edi, edi
jbe 0x44b319
lea ebx, [ebx]
xor byte [eax + esi], 0x67
inc eax
cmp eax, edi
jb 0x44b310
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x44b393
mov esi, dword [ebp + 4]
mov eax, edi
shr eax, 1
test esi, esi
je 0x44b369
cmp eax, 0x7fffffff
ja 0x44b369
mov edx, eax
mov ecx, esi
test eax, eax
je 0x44b354
jmp 0x44b340
cmp word [ecx], 0
je 0x44b350
add ecx, 2
sub edx, 1
jne 0x44b340
jmp 0x44b354
test edx, edx
jne 0x44b365
mov ebx, 0x80070057
xor eax, eax
mov ecx, ebx
test ebx, ebx
jl 0x44b36e
add eax, eax
jmp 0x44b370
sub eax, edx
jmp 0x44b35b
mov ecx, 0x80070057
xor eax, eax
test ecx, ecx
jl 0x44b393
add eax, 2
lea ecx, [eax + 4]
cmp ecx, edi
ja 0x44b393
mov edx, dword [esi + eax]
sub edi, eax
lea ecx, [esi + eax + 4]
sub edi, 4
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edi
mov esi, dword [esp + 0x18]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 4
Function at 0x44b550
Capabilities:
Check if file exists
Create directory
Get file attributes
Link many functions at runtime

Disassembly:
push esi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlNtStatusToDosError
push eax
mov dword [0x6ea794], eax
call esi
mov dword [0x6ea9a0], eax
mov eax, dword [0x6ea794]
push str.ZwQueryInformationFile
push eax
call esi
mov ecx, dword [0x6ea794]
push str.ZwCreateFile
push ecx
mov dword [0x6ea9b0], eax
call esi
mov edx, dword [0x6ea794]
push str.RtlInitUnicodeString
push edx
mov dword [0x6ea9a8], eax
call esi
mov dword [0x6ea9a4], eax
mov eax, dword [0x6ea794]
push str.ZwSetInformationFile
push eax
call esi
mov ecx, dword [esp + 8]
mov dword [0x6ea9ac], eax
push ecx
mov eax, SysReAllocString
mov ecx, 0x104
mov edx, 0x6ea798
call fcn.00449930
pop esi
test eax, eax
jge 0x44b5e9
xor edx, edx
mov word [0x6ea798], dx
lea eax, [edx + 0x57]
ret
push 0x6ea798
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44b610
push 0
push 0x6ea798
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44b610
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
ret

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

Disassembly:
sub esp, 0x210
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
push ebx
xor esi, esi
call ebp
cmp eax, 0xffffffff
jne 0x44b8c0
mov esi, 3
mov dword [esp + 8], 0
test ebx, ebx
je 0x44b8a5
push edi
lea edi, [esp + 0xc]
mov ecx, 0x104
mov edx, ebx
call fcn.004498f0
pop edi
test eax, eax
jl 0x44b8aa
mov ecx, dword [esp + 8]
add ecx, ecx
jmp 0x44b8ac
mov eax, 0x80070057
xor ecx, ecx
test eax, eax
jne 0x44b8c0
shr ecx, 1
je 0x44b8c0
cmp word [ebx + ecx*2], 0x5c
je 0x44b8d9
sub ecx, 1
jne 0x44b8b4
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0059393a
add esp, 0x210
ret
lea esi, [ebx + ecx*2]
test esi, esi
je 0x44b939
push 0x6ea798
mov eax, SysReAllocString
mov ecx, 0x104
lea edx, [esp + 0x10]
call fcn.00449930
push esi
lea esi, [esp + 0x10]
call fcn.004498b0
mov eax, esi
push eax
call ebp
cmp eax, 0xffffffff
je 0x44b939
mov ecx, esi
push ecx
mov eax, SysReAllocString
mov ecx, 0x104
mov edx, ebx
call fcn.00449930
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0059393a
add esp, 0x210
ret
mov ecx, dword [esp + 0x214]
pop esi
pop ebp
xor ecx, esp
mov eax, 3
call fcn.0059393a
add esp, 0x210
ret
Function at 0x44c4b0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x680
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x67c], eax
mov eax, dword [esp + 0x684]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
push 0x6ea798
mov eax, SysReAllocString
mov ecx, 0x104
lea edx, [esp + 0x27c]
call fcn.00449930
lea edi, [esp + 0x10]
mov ecx, 0x104
lea edx, [esp + 0x278]
call fcn.004498f0
test eax, eax
jl 0x44c528
mov eax, dword [esp + 0x10]
mov ecx, 0x104
sub ecx, eax
lea edx, [esp + eax*2 + 0x278]
push str..Q
mov eax, closesocket
call fcn.00449930
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44c5e5
mov edi, dword [sym.imp.RPCRT4.dll_UuidFromStringW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x104
lea eax, [esp + 0x54]
jmp 0x44c560
cmp word [eax], 0
je 0x44c570
add eax, 2
sub ecx, 1
jne 0x44c560
jmp 0x44c5ce
test ecx, ecx
je 0x44c5ce
mov eax, 0x104
sub eax, ecx
add eax, eax
shr eax, 1
sub eax, 4
lea esi, [eax + eax]
push esi
lea eax, [esp + 0x5a]
push eax
lea ecx, [esp + 0x488]
push ecx
call fcn.005986a0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x484]
xor edx, edx
push ecx
mov word [esp + esi + 0x488], dx
call edi
test eax, eax
jne 0x44c5ce
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00476240
add esp, 8
test al, al
je 0x44c5e5
lea ecx, [esp + 0x28]
push ecx
push ebx
call ebp
test eax, eax
jne 0x44c552
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x68c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0059393a
add esp, 0x680
ret
Function at 0x44cbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf28c
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 + 0x1c]
push esi
call fcn.0041d3b0
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [esi + 0x18]
push eax
call fcn.0041d3b0
mov byte [esp + 0x14], 1
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x48]
push ecx
call fcn.00456520
mov byte [esp + 0x14], 3
lea edx, [esi + 0x68]
push edx
call fcn.00445790
mov byte [esp + 0x14], 4
mov dword [esi + 0x9c], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x88], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x451110
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x5cf213
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
mov dword [esp + 4], 0x6ebe20
call fcn.00424d80
mov dword [esp + 0x1a4], 0
push 0x6ebe44
mov dword [0x6ebe20], 0x69bbb8
call fcn.0040b7e0
mov byte [esp + 0x1a4], 1
push 0x6ebe50
mov dword [0x6ebe4c], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x190
lea eax, [esp + 0xc]
push 0
push eax
mov dword [0x6ebe48], 0
call fcn.005985f0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esp + 0x1a4], 0xffffffff
mov eax, 0x6ebe20
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0059393a
add esp, 0x1a4
ret
Function at 0x4512f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x5d5ff9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040b7e0
mov dword [esp + 0x24], esi
push 0x100000
mov dword [esp + 0x18], 1
call fcn.0059409d
add esp, 4
push 0x100000
mov ebp, eax
push esi
push ebp
call fcn.005985f0
mov edi, dword [sym.imp.WS2_32.dll_recv]
add esp, 0xc
lea ebx, [ebx]
push 0
mov ecx, 0x100000
sub ecx, esi
push ecx
lea edx, [esi + ebp]
push edx
push ebx
call edi
test eax, eax
jle 0x451379
add esi, eax
jmp 0x451360
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov byte [esi + ebp], 0
call fcn.0040b670
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00429380
add esp, 8
mov byte [esp + 0x24], 2
mov edi, dword [esp + 0x2c]
call fcn.0040daa0
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x18]
call fcn.0040b950
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
call fcn.0040b720
push ebp
call fcn.00593fc0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
Function at 0x4513f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5cf1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x88], 1
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push 0x13
xor ebx, ebx
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x451451
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45145b
mov eax, dword [esp + 0x18]
mov esi, eax
cmp eax, ebx
jne 0x45145d
mov esi, edi
push 0x44
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.005985f0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x14]
mov eax, 1
push ecx
mov dword [esp + 0x38], 0x44
mov word [esp + 0x68], ax
call fcn.0040b7e0
mov byte [esp + 0x88], 2
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push edx
push eax
push str._s__s
lea edi, [esp + 0x20]
call fcn.00421d60
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4514de
mov ecx, dword [eax - 0xc]
push ecx
mov edx, edi
push edx
call fcn.0040db00
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x451572
cmp dword [0x6d138c], 3
jl 0x45151f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcessAsUser____i
push str.RunProcessWaitR
push 3
call fcn.00552bc2
add esp, 0x10
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x14]
call fcn.0040b950
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x90]
call fcn.0040b950
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x94]
call fcn.0040b950
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x14]
call fcn.0040b950
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x90]
call fcn.0040b950
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x94]
call fcn.0040b950
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
Function at 0x453390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf1a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, 3
mov dword [esp + 0x14], ecx
lea eax, [esi + 0x68]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
push eax
call fcn.004458f0
mov cl, 2
mov byte [esp + 0x14], cl
lea eax, [esi + 0x48]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
push eax
call fcn.00456570
mov byte [esp + 0x14], 1
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x18]
push ecx
call fcn.00438b40
mov dword [esp + 0x14], 0xffffffff
push esi
call fcn.00438b40
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4562d0
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x5d29a2
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0xd8], eax
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0xf0], esi
mov edi, ecx
push edi
mov ecx, str.SYSTEM
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
call fcn.0040b8a0
mov dword [esp + 0xf0], esi
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [esp + 0xc], esi
cmp eax, 0xffffffff
je 0x4563c2
lea ecx, [esp + 0xc]
push ecx
push eax
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x4563c2
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x4563b7
push 0xc6
lea ecx, [esp + 0x22]
xor eax, eax
push esi
push ecx
mov word [esp + 0x28], ax
call fcn.005985f0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x18], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x4563b1
mov eax, dword [esp + 0x10]
cmp eax, esi
jbe 0x4563b1
xor ecx, ecx
lea edx, [esp + 0x1c]
mov word [esp + eax*2 + 0x1c], cx
call fcn.0040b9c0
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0059393a
add esp, 0xe8
ret
Function at 0x457d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf0f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
sub esp, 0x1c
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x24], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
add esi, 0xffffffe4
mov word [ecx + 4], ax
push eax
mov eax, esi
call fcn.0040d430
mov dword [esp + 0x30], 0
mov dword [esp + 0x30], 0xffffffff
mov ecx, esi
mov edx, esi
mov esi, dword [esp + 0x38]
call fcn.00457e30
add esp, 0x1c
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x458bc0
Capabilities:
Create thread
Delete file
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e019a
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x458dd6
call fcn.0042b0b0
call fcn.00458a40
lea eax, [esp + 0x10]
push str._journal
push eax
mov ecx, 0x6eaef0
call fcn.0041c860
add esp, 8
mov dword [esp + 0x48], 0
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
or ebx, 0xffffffff
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x10]
call fcn.0040b720
lea ecx, [esp + 0x10]
push str._shm
push ecx
mov ecx, 0x6eaef0
call fcn.0041c860
add esp, 8
mov dword [esp + 0x48], 1
mov eax, dword [eax]
push eax
call esi
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x10]
call fcn.0040b720
lea edx, [esp + 0x10]
push str._wal
push edx
mov ecx, 0x6eaef0
call fcn.0041c860
add esp, 8
mov dword [esp + 0x48], 2
mov eax, dword [eax]
push eax
call esi
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x10]
call fcn.0040b720
lea eax, [esp + 0x10]
push eax
call fcn.004306b0
add esp, 4
mov dword [esp + 0x48], 3
mov edi, 0x6eaef8
call fcn.0040daa0
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x10]
call fcn.0040b950
cmp dword [0x6d138c], 1
jl 0x458d2d
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
push ecx
call fcn.0040b840
mov dword [esp + 0x4c], 4
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x50], ebx
call fcn.00405ba0
mov dword [esp + 0x50], 5
mov eax, dword [eax]
push eax
push str.HddId:__s
push str.AVSuiteService::Process
push 1
call fcn.00552bc2
add esp, 0x18
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x10]
call fcn.0040b720
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ecx, [esp + 0x24]
push ecx
call fcn.0042d500
add esp, 4
mov dword [esp + 0x48], 6
mov esi, eax
call fcn.00458df0
mov dword [esp + 0x48], ebx
lea edx, [esp + 0x24]
push edx
call fcn.0042d950
call fcn.00495df0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
push 0
push 0
push eax
push 0x458b40
push 0
push 0
mov dword [esp + 0x34], ecx
call fcn.005957cb
add esp, 0x18
push ebx
push 0
lea edx, [esp + 0x24]
push edx
push 2
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x458dd6
call fcn.004798f0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x458dd6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x458dd6
mov eax, dword [esp + 0x20]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459330
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2919
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, 0x692fd0
call fcn.0040b8a0
mov dword [ebp - 4], ebx
mov esi, 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push str.SELECT_c_value_FROM_global_params_WHERE_c_name____
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
call fcn.004a86e0
mov byte [ebp - 4], 2
push str.LastBackup
push esi
lea eax, [ebp - 0x1c]
call fcn.004a8580
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004a8370
mov byte [ebp - 4], 3
cmp byte [ebp - 0x28], bl
jne 0x4593ce
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0xc]
call fcn.0040b9c0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x30]
call fcn.004a7e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004a8140
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
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 0x45a2f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5d28be
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x234], eax
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov dword [esp + 0x250], 0
lea edi, [esp + 0x258]
call fcn.0040bc80
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
or edi, 0xffffffff
mov dword [esp + 0x14], esi
cmp esi, edi
je 0x45a375
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45a3af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x250], edi
lea ecx, [esp + 0x258]
call fcn.0040b950
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0059393a
add esp, 0x244
ret
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x45a3c0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.0040b8a0
mov byte [esp + 0x250], 1
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x45a3fd
mov ecx, esi
lea eax, [esp + 0x10]
call fcn.004121d0
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push edx
call fcn.00594468
add esp, 8
test esi, esi
jl 0x45a4d8
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x45a4d8
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [edx + esi*2], cx
mov ecx, dword [esp + 0x258]
test ecx, ecx
je 0x45a482
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x45a482
push ecx
push eax
call fcn.0059472a
add esp, 8
test eax, eax
je 0x45a482
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x45a482
mov eax, dword [esp + 0x20]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45a482
push 0
push esi
call ebp
push esi
call edi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x250], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a4aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45a3c0
mov eax, dword [esp + 0x14]
push eax
call edi
mov dword [esp + 0x250], 0xffffffff
jmp 0x45a37c
push 0x80070057
call fcn.00403d10
int3