joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180138b20
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x408
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
mov rdi, qword [rsp + 0x470]
xor r15d, r15d
mov rbp, rcx
mov rbx, r8
mov r14, rdx
lea rcx, [rsp + 0xe1]
mov r12d, r15d
xor edx, edx
mov r8d, 0x103
mov rsi, r9
mov r13d, r15d
mov byte [rsp + 0xe0], r12b
call fcn.1800f8660
test r14, r14
je 0x180138bab
lea r8, [rsp + 0xe0]
mov r9d, 0x103
or edx, 0xffffffff
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1800ec4f0
lea r13, [rsp + 0xe0]
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8d, 0x1f3
mov byte [rsp + 0x1f0], r12b
call fcn.1800f8660
test rbx, rbx
je 0x180138bf3
lea r8, [rsp + 0x1f0]
mov r9d, 0xf9
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.1800ec6c0
lea r12, [rsp + 0x1f0]
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], WSAGetLastError
lea r8d, [rdx + 0x60]
call fcn.1800f8660
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov rdx, r12
mov rcx, r13
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x50], r15
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
test eax, eax
je 0x180138c94
test rsi, rsi
je 0x180138c67
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x180138c81
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180138c9d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180138c9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 8], eax
mov eax, ebx
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180139cd0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6f8
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
mov rsi, qword [rsp + 0x760]
mov rdi, qword [rsp + 0x768]
xor r15d, r15d
mov r13, r8
mov r12, rcx
mov r14, rdx
lea r8d, [r15 + 0x60]
lea rcx, [rsp + 0x78]
xor edx, edx
mov rbx, r9
mov ebp, r15d
mov dword [rsp + 0x70], WSAGetLastError
call fcn.1800f8660
xor eax, eax
lea rcx, [rsp + 0x2f2]
xor edx, edx
mov r8d, 0x3e6
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x2f0], r15w
call fcn.1800f8660
test r13, r13
je 0x180139d8a
lea r8, [rsp + 0x2f0]
mov r9d, 0x1f4
or edx, 0xffffffff
mov rcx, r13
mov dword [rsp + 0x20], r15d
call fcn.1800ec6b0
lea rbp, [rsp + 0x2f0]
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xe0], r15w
call fcn.1800f8660
test rbx, rbx
je 0x180139ddb
lea r8, [rsp + 0xe0]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.1800ec6b0
lea r11, [rsp + 0xe0]
mov qword [rsp + 0x80], r11
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov rcx, r14
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x180139e53
test rsi, rsi
je 0x180139e26
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x180139e40
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180139e5e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180139e5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
mov eax, ebx
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x6f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18013ae80
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1f90
call fcn.1800faf10
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x1f80], rax
mov esi, r9d
mov r14, r8
mov r13, rdx
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, r13
call fcn.1800ef8f0
or r8d, 0xffffffff
xor edx, edx
mov rcx, r14
call fcn.1800e9ab0
call fcn.18014f450
mov rbx, qword [0x18023ce38]
test rbx, rbx
je 0x18013afef
cmp esi, 0xffffffff
jne 0x18013af0f
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rdi
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov esi, eax
mov rbx, qword [0x18023ce38]
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x40], ebp
xor edx, edx
mov r8d, 0x1f3c
lea rcx, [rsp + 0x44]
call fcn.1800f8660
lea r8, [rsp + 0x20]
mov edx, 0x1f40
lea rcx, [rsp + 0x40]
call rbx
test eax, eax
je 0x18013afe6
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x18013afdf
lea rbx, [rsp + 0x40]
mov r12d, eax
nop dword [rax + rax]
cmp esi, 0xfffffffe
je 0x18013af74
mov rax, qword [rdi]
mov edx, dword [rbx]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
cmp esi, eax
jne 0x18013afd6
test ebp, ebp
jne 0x18013af95
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rbp + 1]
lea rdx, str.SeDebugPrivilege
call fcn.1800f8640
mov ebp, 1
mov r8d, dword [rbx]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.1800efb50
mov r11, qword [rdi]
mov r8d, dword [rbx]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [r11 + 0x80]
nop
lea r8, [rsp + 0x28]
mov edx, dword [r14 + 8]
mov rcx, r14
call fcn.1800e9d00
nop
lea rcx, [rsp + 0x28]
call fcn.1800e56d0
add rbx, 4
dec r12
jne 0x18013af60
mov eax, 1
jmp 0x18013aff1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 8], eax
xor eax, eax
mov rcx, qword [rsp + 0x1f80]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x1f90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18013bde0
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x310
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x350], rbx
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov r12, r9
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.1801399b0
lea rcx, [rsp + 0x28]
call fcn.18013a4c0
nop
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18013b850
test eax, eax
je 0x18013bf73
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov r8d, 1
lea rdx, str.SeDebugPrivilege
call fcn.1800f8640
xor r13d, r13d
mov ebx, r13d
lea rcx, [rsp + 0x28]
call fcn.18013a4d0
mov ebp, eax
test eax, eax
jle 0x18013bf56
mov dword [rsp + 0x50], r13d
xor edx, edx
mov r8d, 0x2ac
lea rcx, [rsp + 0x54]
call fcn.1800f8660
mov edx, ebx
lea rcx, [rsp + 0x28]
call fcn.18013b590
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r8d, 0xa0
call fcn.1800fa0d0
mov r11, qword [rdi]
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [r11 + 0x80]
nop
mov rax, qword [rsp + 0x20]
cmp dword [rax - 8], 0
jne 0x18013bf05
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x18013beea
lea rdx, str.System_Idle_Process
jmp 0x18013befb
cmp eax, 4
je 0x18013bef4
cmp eax, 8
jne 0x18013bf05
lea rdx, str.System
lea rcx, [rsp + 0x20]
call fcn.1800e5890
mov r8d, 0x103
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xf4]
call fcn.1800f88a0
mov r8, r12
lea rdx, [rsp + 0xf4]
mov rcx, rdi
call fcn.18013c340
test eax, eax
je 0x18013bf42
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1801399c0
nop
lea rcx, [rsp + 0x20]
call fcn.1800e56d0
inc ebx
cmp ebx, ebp
jl 0x18013be80
mov rdx, rsi
mov rcx, rdi
call fcn.18013bac0
nop
lea rcx, [rsp + 0x28]
call fcn.18013b5a0
mov eax, 1
jmp 0x18013bf7f
lea rcx, [rsp + 0x28]
call fcn.18013b5a0
xor eax, eax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1800f93c0
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18013c4a0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x18013c4be
mov dword [rcx + 8], 0x57
add rsp, 0x20
pop rbx
ret
mov edx, r8d
mov rcx, rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
test eax, eax
jne 0x18013c4de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x18013c4f0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.18014dfb0
mov r11, qword [0x18023cce0]
test r11, r11
jne 0x18013c51d
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov r8d, edi
mov qword [rsp + 0x30], rsi
lea ecx, [rdx + 2]
call r11
mov rsi, rax
test rax, rax
jne 0x18013c550
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsp + 0x30]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
cmp eax, 0xffffffff
jne 0x18013c569
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor eax, eax
cmp edi, 0xffffffff
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x18013c590
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.18014dfb0
mov r11, qword [0x18023cce0]
test r11, r11
jne 0x18013c5bd
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov r8d, edi
mov qword [rsp + 0x30], rsi
lea ecx, [rdx + 2]
call r11
mov rsi, rax
test rax, rax
jne 0x18013c5f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsp + 0x30]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
cmp eax, 0xffffffff
jne 0x18013c609
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor eax, eax
cmp edi, 0xffffffff
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x18013c630
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
mov rbx, rcx
call fcn.18014dfb0
mov r11, qword [0x18023cce0]
test r11, r11
je 0x18013c674
xor edx, edx
mov r8d, esi
lea ecx, [rdx + 1]
call r11
mov rsi, rax
test rax, rax
jne 0x18013c686
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, eax
test eax, eax
jne 0x18013c6a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x18013c900
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor eax, eax
mov rbx, rdx
lea rcx, [rsp + 0x32]
mov dword [rsp + 0x20], eax
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], ax
call fcn.1800f8660
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1800e9110
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x250
pop rbx
ret

Function at 0x18013cca0
Capabilities:
Suspend thread

Disassembly:
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov ebx, edx
mov r12, rcx
call fcn.18014dfb0
cmp qword [0x18023cce0], 0
je 0x18013cd06
lea rcx, [rsp + 0x28]
call fcn.1800ef8d0
nop
mov rax, qword [r12]
lea r8, [rsp + 0x28]
mov edx, ebx
mov rcx, r12
call qword [rax + 0xd0]
mov ebp, eax
test eax, eax
jne 0x18013cd0a
lea rcx, [rsp + 0x28]
call fcn.1800ef8e0
xor eax, eax
jmp 0x18013cd79
xor edi, edi
xor esi, esi
cmp dword [rsp + 0x30], esi
jle 0x18013cd6d
nop word [rax + rax]
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + rsi*4]
xor edx, edx
lea ecx, [rdx + 2]
call qword [0x18023cce0]
mov rbx, rax
test rsi, rsi
jne 0x18013cd41
test rax, rax
je 0x18013cd60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
inc rsi
cmp edi, dword [rsp + 0x30]
jge 0x18013cd6d
jmp 0x18013cd20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.1800ef8e0
mov eax, ebp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
Function at 0x18013cda0
Capabilities:
Resume thread

Disassembly:
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov ebx, edx
mov r12, rcx
call fcn.18014dfb0
cmp qword [0x18023cce0], 0
je 0x18013ce06
lea rcx, [rsp + 0x28]
call fcn.1800ef8d0
nop
mov rax, qword [r12]
lea r8, [rsp + 0x28]
mov edx, ebx
mov rcx, r12
call qword [rax + 0xd0]
mov ebp, eax
test eax, eax
jne 0x18013ce0a
lea rcx, [rsp + 0x28]
call fcn.1800ef8e0
xor eax, eax
jmp 0x18013ce79
xor edi, edi
xor esi, esi
cmp dword [rsp + 0x30], esi
jle 0x18013ce6d
nop word [rax + rax]
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + rsi*4]
xor edx, edx
lea ecx, [rdx + 2]
call qword [0x18023cce0]
mov rbx, rax
test rsi, rsi
jne 0x18013ce41
test rax, rax
je 0x18013ce60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
inc rsi
cmp edi, dword [rsp + 0x30]
jge 0x18013ce6d
jmp 0x18013ce20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.1800ef8e0
mov eax, ebp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret

Function at 0x18013cea0
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov ebx, r9d
mov r13, r8
mov rbp, rdx
mov r12, rcx
lea rcx, [rsp + 0x28]
call fcn.1800ef8d0
nop
mov rax, qword [r12]
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, r12
call qword [rax + 0xb0]
test eax, eax
jne 0x18013cf03
lea rcx, [rsp + 0x28]
call fcn.1800ef8e0
xor eax, eax
jmp 0x18013cf9f
xor esi, esi
mov ebx, esi
cmp dword [rsp + 0x30], ebx
jle 0x18013cf90
mov edi, esi
test esi, esi
jne 0x18013cf34
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rsi + 1]
lea rdx, str.SeDebugPrivilege
call fcn.1800f8640
mov esi, 1
mov rax, qword [rsp + 0x28]
mov r9, qword [r12]
mov r8d, dword [rdi + rax]
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [r9 + 0x80]
nop
mov r8, r13
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.18013c340
test eax, eax
je 0x18013cf7a
mov rax, qword [rsp + 0x28]
mov r8d, dword [rdi + rax]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.1800efb50
nop
lea rcx, [rsp + 0x60]
call fcn.1800e56d0
inc ebx
add rdi, 4
cmp ebx, dword [rsp + 0x30]
jl 0x18013cf13
lea rcx, [rsp + 0x28]
call fcn.1800ef8e0
mov eax, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x18013e9a0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
jne 0x18013e9a9
xor eax, eax
jmp 0x18013e9f1
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x18013e9b7
xor eax, eax
jmp 0x18013e9f1
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x18013e9ca
xor eax, eax
jmp 0x18013e9f1
cmp word [rax + 0x14], 0
jne 0x18013e9d5
xor eax, eax
jmp 0x18013e9f1
test edx, edx
je 0x18013e9e8
mov ecx, 0x8664
cmp word [rax + 4], cx
je 0x18013e9e8
xor eax, eax
jmp 0x18013e9f1
mov eax, 1
jmp 0x18013e9f1
repz ret

Function at 0x18013ee20
Capabilities:
Parse pe header

Disassembly:
mov edx, 1
jmp fcn.18013e9a0
Function at 0x180143c70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rbp, rdx
mov rdi, rcx
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
cmp dword [rdi + 0x140], r12d
je 0x180143cfa
lea rdx, [rdi + 0xf0]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x28]
call fcn.1800f0680
nop
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rdi + 0x128]
call fcn.180186b60
lea rdx, [rdi + 0xd8]
lea rcx, [rdi + 0x128]
call fcn.180186cc0
mov dword [rdi + 0x140], r12d
lea rcx, [rsp + 0x28]
call fcn.1800f0700
cmp qword [rbp + 0x30], 0
je 0x180143d10
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x30]
jmp 0x180143d48
mov ebx, r12d
cmp dword [rdi + 0x130], ebx
jle 0x180143d56
mov rsi, r12
nop
mov rax, qword [rdi + 0x128]
mov rcx, qword [rsi + rax]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x30]
test eax, eax
jne 0x180143d48
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x130]
jl 0x180143d20
jmp 0x180143d56
mov rcx, rbp
call fcn.1801432f0
mov r12d, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r13d
cmp dword [rdi + 0x148], eax
jae 0x180143d76
mov dword [rdi + 0x148], eax
mov ecx, dword [rbp + 0x18]
mov dword [rdi + 0x14c], ecx
mov eax, r12d
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret

Function at 0x180146780
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x180146798
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, rbx
mov dword [rbx + 0x44], 0
add rsp, 0x20
pop rbx
jmp fcn.1800f3920

Function at 0x180149580
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x18023c980], 0
mov ebx, ecx
jne 0x180149603
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
mov dword [0x18023c980], 1
call fcn.1800f8660
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x1801495f3
cmp dword [rsp + 0x24], 5
jb 0x1801495f3
mov rax, qword [str.GlobalOCULAR_]
mov qword [0x18023c978], rax
jmp 0x18014960a
mov rax, qword [str.OCULAR_]
mov qword [0x18023c978], rax
jmp 0x18014960a
mov rax, qword [0x18023c978]
test ebx, ebx
cmovne rax, qword [str.OCULAR_]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x150
pop rbx
ret
Function at 0x18014c0b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rsi, qword [rcx + 8]
mov ebx, r9d
mov r12d, r8d
mov r13, rdx
mov rdi, rcx
test rsi, rsi
je 0x18014c21b
cmp qword [rcx + 0x10], 0
je 0x18014c21b
mov edx, ebx
call fcn.18014bff0
test eax, eax
je 0x18014c223
mov rcx, qword [rdi + 0x10]
xor eax, eax
mov qword [rsp + 0x88], rbp
xor ebp, ebp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r11, qword [rdi + 0x10]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x80]
mov r8d, r12d
mov rdx, r13
mov rcx, rsi
mov qword [rsp + 0x50], r11
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12d, eax
test eax, eax
je 0x18014c174
cmp dword [rsp + 0x80], ebp
je 0x18014c174
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x80]
jmp 0x18014c19b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r12d, r12d
jne 0x18014c1b9
test eax, eax
je 0x18014c1b9
cmp eax, 0x3e5
je 0x18014c1b9
cmp eax, 0x217
je 0x18014c1b9
mov eax, 0xf0000001
mov dword [rdi + 0x24], eax
xor eax, eax
mov rbp, qword [rsp + 0x88]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
mov ebx, eax
test eax, eax
je 0x18014c1ea
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, 0xf0000001
mov ecx, 0xf0000003
cmp ebx, 0x102
cmove eax, ecx
jmp 0x18014c196
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x30], ebp
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov rcx, qword [rdi + 0x10]
mov ebx, eax
mov dword [rdi + 0x24], ebp
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test ebx, ebx
cmovne ebp, dword [rsp + 0x30]
mov eax, ebp
jmp 0x18014c19b
mov eax, 0xf0000001
mov dword [rcx + 0x24], eax
xor eax, eax
jmp 0x18014c1a3
Function at 0x18014c230
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rsi, qword [rcx + 8]
mov ebx, r9d
mov r12d, r8d
mov r13, rdx
mov rdi, rcx
test rsi, rsi
je 0x18014c39b
cmp qword [rcx + 0x18], 0
je 0x18014c39b
mov edx, ebx
call fcn.18014bff0
test eax, eax
je 0x18014c3a3
mov rcx, qword [rdi + 0x18]
xor eax, eax
mov qword [rsp + 0x88], rbp
xor ebp, ebp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r11, qword [rdi + 0x18]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x80]
mov r8d, r12d
mov rdx, r13
mov rcx, rsi
mov qword [rsp + 0x50], r11
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r12d, eax
test eax, eax
je 0x18014c2f4
cmp dword [rsp + 0x80], ebp
jbe 0x18014c2f4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x80]
jmp 0x18014c31b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r12d, r12d
jne 0x18014c339
test eax, eax
je 0x18014c339
cmp eax, 0x3e5
je 0x18014c339
cmp eax, 0x217
je 0x18014c339
mov eax, 0xf0000001
mov dword [rdi + 0x24], eax
xor eax, eax
mov rbp, qword [rsp + 0x88]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
mov ebx, eax
test eax, eax
je 0x18014c36a
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, 0xf0000001
mov ecx, 0xf0000003
cmp ebx, 0x102
cmove eax, ecx
jmp 0x18014c316
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x30], ebp
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov rcx, qword [rdi + 0x18]
mov ebx, eax
mov dword [rdi + 0x24], ebp
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test ebx, ebx
cmovne ebp, dword [rsp + 0x30]
mov eax, ebp
jmp 0x18014c31b
mov eax, 0xf0000001
mov dword [rcx + 0x24], eax
xor eax, eax
jmp 0x18014c323

Function at 0x18014c690
Capabilities:
Write file on windows

Disassembly:
cmp dword [rcx + 0x1c], 6
mov rax, rcx
je 0x18014c69d
or eax, 0xffffffff
ret
test r8d, r8d
jg 0x18014c6a5
xor eax, eax
ret
mov r9d, dword [rax + 8]
add rcx, 0x70
jmp fcn.18014c230

Function at 0x18014c6c0
Capabilities:
Read file on windows

Disassembly:
cmp dword [rcx + 0x1c], 6
mov rax, rcx
je 0x18014c6cd
or eax, 0xffffffff
ret
test r8d, r8d
jne 0x18014c6d5
xor eax, eax
ret
mov r9d, dword [rax + 0xc]
add rcx, 0x70
jmp fcn.18014c0b0