joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800104f0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x1800105b2
test rdx, rdx
je 0x1800105b2
mov rax, qword [0x180150c50]
mov qword [rsp + 0x30], rbp
mov ebp, dword [rdx]
test rax, rax
jne 0x180010564
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180010558
lea rdx, str.GetComputerNameExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180150c50], rax
jmp 0x18001055f
mov rax, qword [0x180150c50]
test rax, rax
je 0x180010589
mov r8, rbx
mov rdx, rsi
mov ecx, edi
call rax
mov r11d, eax
test eax, eax
je 0x180010589
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
jne 0x18001059a
mov rdx, rbx
mov rcx, rsi
mov dword [rbx], ebp
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov r11d, eax
mov eax, r11d
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x180011b30
Capabilities:
Check if file exists
Get disk size
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x450
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r12, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
test rcx, rcx
je 0x180011c37
test rdx, rdx
jne 0x180011b83
test r8, r8
jne 0x180011b83
test r9, r9
je 0x180011c37
mov word [rsp + 0x30], bx
xor edx, edx
mov r8d, 0x40e
lea rcx, [rsp + 0x32]
call fcn.18006f140
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.180042f80
nop
nop dword [rax + rax]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180011bde
test al, 0x10
je 0x180011bde
mov r9, r12
mov r8, rbp
mov rdx, rsi
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ebx, eax
test eax, eax
jne 0x180011c2d
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x30]
call fcn.18006f140
mov r8d, 0x207
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call fcn.18005d2c0
test eax, eax
je 0x180011c2d
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call fcn.180070e98
test eax, eax
je 0x180011c2d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.180040790
jmp 0x180011bb0
lea rcx, [rsp + 0x20]
call fcn.180040610
mov eax, ebx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18006f110
add rsp, 0x450
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180011cc0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2e0], rbx
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rdx
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.180042f80
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax - 8], 0
jne 0x180011d16
jmp 0x180011eef
mov edx, 0x5c
lea rcx, [rsp + 0x30]
call fcn.180041690
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180042ec0
nop
lea rdx, [0x1800e4268]
lea rcx, [rsp + 0x38]
call fcn.1800408e0
mov dword [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x24c
lea rcx, [rsp + 0x54]
call fcn.18006f140
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180011d89
lea rcx, [rsp + 0x38]
call fcn.180040610
nop
jmp 0x180011eef
lea rdx, [0x1800e1f10]
lea rcx, [rsp + 0x28]
call fcn.180042f80
nop
lea rdx, [0x1800e1f10]
lea rcx, [rsp + 0x20]
call fcn.180042f80
nop
nop dword [rax]
lea rdx, [0x1800e45f4]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x180011eae
lea rdx, [0x1800e45f0]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x180011eae
lea r9, [rsp + 0x7c]
mov r8, qword [rsp + 0x30]
lea rdx, [0x1800e38a8]
lea rcx, [rsp + 0x28]
call fcn.1800415c0
mov r11, qword [rsp + 0x28]
cmp dword [r11 - 8], 0
je 0x180011eae
lea r9, [rsp + 0x7c]
mov r8, rsi
lea rdx, [0x1800e38a8]
lea rcx, [rsp + 0x20]
call fcn.1800415c0
mov rcx, qword [rsp + 0x20]
call fcn.18000f7f0
mov ebx, eax
test byte [rsp + 0x50], 0x10
je 0x180011e67
cmp eax, 0xffffffff
jne 0x180011e51
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180011eae
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.180011cc0
cmp ebx, 0xffffffff
jne 0x180011eae
jmp 0x180011e9f
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x180011e9f
mov rcx, qword [rsp + 0x28]
call fcn.18000dd20
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x180011eae
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.180011850
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180011db0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x20]
call fcn.180040610
nop
lea rcx, [rsp + 0x28]
call fcn.180040610
nop
lea rcx, [rsp + 0x38]
call fcn.180040610
nop
lea rcx, [rsp + 0x30]
call fcn.180040610
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.18006f110
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180013f80
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rdi, r8
mov rsi, rdx
test ecx, ecx
jne 0x180013fe1
test r8, r8
je 0x180013fb7
xor edx, edx
mov rcx, r8
call fcn.18005f2e0
test eax, eax
je 0x180013fb7
mov rcx, rdi
call fcn.18005f810
test rbx, rbx
je 0x18001403a
xor edx, edx
mov rcx, rbx
call fcn.18005f2e0
test eax, eax
je 0x18001403a
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.18005f810
test rdx, rdx
je 0x18001403a
xor edx, edx
mov rcx, rsi
call fcn.18005f2e0
test eax, eax
je 0x18001403a
test rdi, rdi
je 0x180014017
mov rdx, rdi
mov rcx, rsi
call fcn.180013f00
test eax, eax
jne 0x180014017
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test rbx, rbx
je 0x18001403a
mov rdx, rbx
mov rcx, rsi
call fcn.180013f00
test eax, eax
jne 0x18001403a
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180014050
Capabilities:
Copy file

Disassembly:
test rcx, rcx
je 0x18001410c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test r9, r9
je 0x1800140a0
xor edx, edx
mov rcx, r9
call fcn.18005f2e0
test eax, eax
je 0x1800140a0
mov rdx, rbx
mov rcx, rbp
call fcn.180013f00
test eax, eax
jne 0x1800140f8
mov rcx, rbp
jmp 0x1800140ec
test rsi, rsi
je 0x1800140c7
xor edx, edx
mov rcx, rsi
call fcn.18005f2e0
test eax, eax
je 0x1800140c7
mov rdx, rbx
mov rcx, rsi
call fcn.180013f00
test eax, eax
jne 0x1800140f8
mov rcx, rsi
jmp 0x1800140ec
test rdi, rdi
je 0x1800140f8
xor edx, edx
mov rcx, rdi
call fcn.18005f2e0
test eax, eax
je 0x1800140f8
mov rdx, rbx
mov rcx, rdi
call fcn.180013f00
test eax, eax
jne 0x1800140f8
mov rcx, rdi
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
repz ret
Function at 0x180014330
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get file attributes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rsi, r9
mov rbx, r8
mov r13, rdx
mov rdi, rcx
test rcx, rcx
je 0x180014548
test rdx, rdx
je 0x180014548
xor r14d, r14d
mov r12d, r14d
mov ebp, r14d
mov qword [rax + 8], r14
mov qword [rax - 0x48], r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180014509
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x180014509
mov ebp, 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x1800f3538]
mov r8d, ebp
xor edx, edx
lea rcx, [0x1800f5a68]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x180014509
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0xa0]
test eax, eax
js 0x180014509
test rbx, rbx
je 0x18001441f
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x18001441f
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x58]
test eax, eax
js 0x180014509
test rsi, rsi
je 0x180014451
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180014451
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rsi
call qword [rax + 0x88]
test eax, eax
js 0x180014509
mov rdi, qword [rsp + 0xa0]
test rdi, rdi
je 0x180014485
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180014485
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x48]
test eax, eax
js 0x180014509
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x1800144b8
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x1800144b8
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
js 0x180014509
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [0x1800f4928]
call qword [rax]
test eax, eax
js 0x180014509
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.180042f80
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, ebp
mov rdx, qword [rsp + 0x38]
call qword [rax + 0x30]
test eax, eax
jns 0x1800144fc
jmp 0x1800144ff
mov r12d, ebp
lea rcx, [rsp + 0x38]
call fcn.180040610
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18001451e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x180014539
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x80], r14
test ebp, ebp
je 0x180014543
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, r12d
jmp 0x18001454a
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180015f80
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rsi, rcx
mov rcx, rdx
mov ebp, r8d
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp eax, 0xffffffff
je 0x18001606d
test al, 1
je 0x180015fd0
and ebx, 0xfffffffe
mov rcx, rdi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test bl, 0x10
je 0x18001606d
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x20], 0
call fcn.18006f140
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, str._s.bak_08X
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rdi
call fcn.180070f20
lea rcx, [rsp + 0x20]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18001605f
nop
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, str._s.bak_08X
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rdi
call fcn.180070f20
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
inc ebx
cmp ebx, 0xa
jge 0x1800160ab
cmp eax, 0xffffffff
jne 0x180016020
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rcx, rdi
mov ebx, eax
call fcn.180010060
mov eax, ebx
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.18006f110
mov rbx, qword [rsp + 0x268]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x180016088
Function at 0x180017690
Capabilities:
Get user security identifier

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x48
mov qword [rsp + 0x40], r13
xor r13d, r13d
mov rsi, rdx
mov r12, rcx
mov ebx, r13d
mov edi, r13d
mov qword [rdx], r13
test rcx, rcx
jne 0x1800176be
lea edi, [rcx + 1]
jmp 0x1800177d9
lea rax, [rsp + 0x80]
mov rdx, rcx
lea r9, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x78], r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x70], r13d
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x180017710
cmp eax, 0x7a
je 0x180017710
lea edi, [rbx + 2]
jmp 0x1800177c9
mov ecx, dword [rsp + 0x78]
mov qword [rsp + 0x88], rbp
call fcn.18006f3c0
mov ecx, dword [rsp + 0x70]
mov qword [rsi], rax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18006f3c0
mov rcx, qword [rsi]
mov rbp, rax
test rcx, rcx
je 0x1800177ab
test rax, rax
je 0x1800177ab
mov r8d, dword [rsp + 0x78]
xor edx, edx
call fcn.18006f140
mov r8d, dword [rsp + 0x70]
xor edx, edx
add r8, r8
mov rcx, rbp
call fcn.18006f140
mov r8, qword [rsi]
lea r11, [rsp + 0x80]
mov qword [rsp + 0x30], r11
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rdx, r12
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test eax, eax
jne 0x1800177b0
lea edi, [rax + 4]
jmp 0x1800177b0
mov edi, 3
test rbp, rbp
je 0x1800177bd
mov rcx, rbp
call fcn.18006f310
mov rbp, qword [rsp + 0x88]
test ebx, ebx
jne 0x1800177d9
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800177d9
call fcn.18006f310
mov qword [rsi], r13
cmp dword [0x180153b70], 0
mov r13, qword [rsp + 0x40]
je 0x180017827
mov rax, qword [rsi]
test r12, r12
lea rcx, [0x1800e5548]
cmovne rcx, r12
mov qword [rsp + 0x38], rax
lea r9, str.CKSecurity::GetSid_____ret:__d___myerror:__d___Name:__s___Sid:__08x_
mov qword [rsp + 0x30], rcx
lea r8, [0x1800e5490]
lea rcx, [0x180153288]
or edx, 0xffffffff
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call fcn.18006d360
mov eax, ebx
add rsp, 0x48
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800180b0
Capabilities:
Compare security identifiers

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor r14d, r14d
mov r13d, r8d
mov r12, rdx
mov rbp, rcx
mov esi, r14d
mov edi, r14d
mov ebx, r14d
test rcx, rcx
jne 0x1800180f0
lea edi, [rcx + 1]
jmp 0x1800181ac
xor eax, eax
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x5c], rax
lea r9d, [rax + 2]
lea r8d, [rax + 0xc]
mov qword [rsp + 0x5c], 8
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x180018124
lea edi, [rax + 2]
jmp 0x1800181ac
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1800181ac
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, rbp
mov qword [rsp + 0x50], r14
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x1800181a7
mov rdx, qword [rsp + 0x50]
test byte [rdx + 1], 0x10
jne 0x1800181a0
add rdx, 8
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x18001816f
inc ebx
cmp ebx, dword [rsp + 0x58]
jb 0x180018130
jmp 0x1800181ac
mov esi, 1
cmp r13d, 0x10000000
jne 0x1800181ac
mov rax, qword [rsp + 0x50]
cmp byte [rax], dil
jne 0x180018196
mov eax, dword [rax + 4]
and eax, 0x1f0000
cmp eax, 0x1f0000
je 0x1800181ac
mov edi, 5
mov esi, r14d
jmp 0x1800181ac
mov edi, 4
jmp 0x1800181ac
mov edi, 3
cmp dword [0x180153b70], r14d
je 0x1800181ed
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rbp
lea r9, str.CKSecurity::IsInAcl_____Inner___ret:__d___myerror:__d___Acl:__08x___Sid:__08x___Mask:__08x___Index:__d_
lea r8, [0x1800e5490]
lea rcx, [0x180153288]
or edx, 0xffffffff
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
call fcn.18006d360
mov eax, esi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18006f110
add rsp, 0x70
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180018c00
Capabilities:
Check os version
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x180018c61
lea rcx, [0x1800e2f40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x180018c61
lea rdx, str.GetUserDefaultUILanguage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180018c45
call rax
movzx ebx, ax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test bx, bx
je 0x180018c61
movzx eax, bx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
Function at 0x18001c9d0
Capabilities:
Read .ini file

Disassembly:
push rbp
lea rbp, [rsp - 0x870]
sub rsp, 0x970
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x980], rbx
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rbp + 0x860], rax
cmp dword [0x18015109c], 0
jne 0x18001cc33
mov dword [0x18015109c], 1
mov byte [rbp + 0x460], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp + 0x461]
call fcn.18006f140
mov dword [rsp + 0x30], 0
mov byte [rbp + 0x60], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp + 0x61]
call fcn.18006f140
mov byte [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x51]
call fcn.18006f140
call fcn.180005a40
mov r8, rax
lea r9, str.OAgent.ini
lea rdx, [0x1800e3014]
lea rcx, [rsp + 0x50]
call fcn.180070f20
lea r11, [rsp + 0x50]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x400
lea r9, [rbp + 0x60]
lea r8, [0x1800e2938]
lea rdx, [0x1800e8c9c]
lea rcx, str.AgentConfig
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x18001cae6
cmp byte [rbp + 0x45f], 0
jne 0x18001cae6
mov r8d, 0x400
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x60]
call fcn.18004e4b0
mov r11d, eax
mov dword [rsp + 0x30], eax
jmp 0x18001caeb
mov r11d, dword [rsp + 0x30]
test r11d, r11d
jne 0x18001cbf8
lea rcx, [rsp + 0x38]
call fcn.18004b170
nop
mov r9d, 0x20019
lea r8, str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.18004ab70
test rax, rax
je 0x18001cb6f
lea r8, [rsp + 0x30]
lea rdx, [0x1800e8ca0]
lea rcx, [rsp + 0x38]
call fcn.180049910
mov rbx, rax
test rax, rax
je 0x18001cb6f
mov eax, dword [rsp + 0x30]
cmp eax, 0x400
jae 0x18001cb5f
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x460]
call fcn.180070320
jmp 0x18001cb67
mov dword [rsp + 0x30], 0
mov rcx, rbx
call fcn.18006f310
lea rcx, [rsp + 0x38]
call fcn.1800497c0
nop
lea rcx, [rsp + 0x38]
call fcn.18004aaf0
mov r11d, dword [rsp + 0x30]
test r11d, r11d
jne 0x18001cbf8
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x60]
call fcn.18006f140
mov dword [rsp + 0x20], 0x400
lea r9, [rbp + 0x60]
lea r8, [0x1800e2938]
lea rdx, [0x1800e8ca0]
lea rcx, str.ED30_8AC4_11D5_8930_A730
call qword [sym.imp.KERNEL32.dll_GetProfileStringA]
test eax, eax
je 0x18001cbee
cmp byte [rbp + 0x45f], 0
jne 0x18001cbee
mov r8d, 0x400
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x60]
call fcn.18004e4b0
mov r11d, eax
jmp 0x18001cbf3
mov r11d, dword [rsp + 0x30]
test r11d, r11d
je 0x18001cc33
cmp r11d, 4
jbe 0x18001cc33
cmp dword [rbp + 0x460], 1
je 0x18001cc33
movzx eax, word [rbp + 0x47c]
lea eax, [rax + rax + 0x22]
test eax, eax
je 0x18001cc33
mov edx, r11d
sub rdx, 4
mov ecx, dword [0x180151098]
cmp rax, rdx
cmovbe ecx, dword [rbp + 0x468]
mov dword [0x180151098], ecx
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.18006f110
mov rbx, qword [rsp + 0x980]
add rsp, 0x970
pop rbp
ret
Function at 0x1800225b0
Capabilities:
Move file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov rsi, r9
mov rdi, r8
mov rbp, rdx
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call fcn.180065d20
mov ebx, eax
test eax, eax
jne 0x180022645
mov rcx, qword [0x1800f5df0]
mov qword [rsp + 0x20], rcx
mov r8, rdi
lea rdx, str._s.tmp
lea rcx, [rsp + 0x20]
call fcn.1800415c0
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
mov rcx, rbp
call fcn.180065d20
test eax, eax
je 0x180022639
lea r8d, [rbx + 5]
mov rdx, rdi
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
mov dword [rsi], 1
lea rcx, [rsp + 0x20]
call fcn.180040610
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180027150
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rbx, rcx
jne 0x1800271a6
mov rax, qword [rcx + 0x10]
cmp dword [rax - 8], 0
je 0x1800271a6
call fcn.18005d110
mov r8, qword [rbx + 0x10]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 8], rax
test rax, rax
je 0x1800271a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1800271ae
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x18002b3c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x18002b3d3
xor eax, eax
add rsp, 0x28
ret
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
xor ecx, ecx
call fcn.18004ea60
lea rdx, [0x1800ed648]
mov r8d, 9
mov ecx, eax
call fcn.18004ea60
lea rdx, str.OCULARAGENT3
mov r8d, SafeArrayCreate
mov ecx, eax
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.18004ea60