joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180139050
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.1800f8b90
test r14, r14
je 0x1801390db
lea r8, [rsp + 0xe0]
mov r9d, 0x103
or edx, 0xffffffff
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1800eca20
lea r13, [rsp + 0xe0]
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8d, 0x1f3
mov byte [rsp + 0x1f0], r12b
call fcn.1800f8b90
test rbx, rbx
je 0x180139123
lea r8, [rsp + 0x1f0]
mov r9d, 0xf9
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.1800ecbf0
lea r12, [rsp + 0x1f0]
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], WSAGetLastError
lea r8d, [rdx + 0x60]
call fcn.1800f8b90
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 0x1801391c4
test rsi, rsi
je 0x180139197
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x1801391b1
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1801391cd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1801391cd
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.1800f98f0
add rsp, 0x408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18013a200
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.1800f8b90
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.1800f8b90
test r13, r13
je 0x18013a2ba
lea r8, [rsp + 0x2f0]
mov r9d, 0x1f4
or edx, 0xffffffff
mov rcx, r13
mov dword [rsp + 0x20], r15d
call fcn.1800ecbe0
lea rbp, [rsp + 0x2f0]
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xe0], r15w
call fcn.1800f8b90
test rbx, rbx
je 0x18013a30b
lea r8, [rsp + 0xe0]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.1800ecbe0
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 0x18013a383
test rsi, rsi
je 0x18013a356
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x18013a370
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18013a38e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18013a38e
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.1800f98f0
add rsp, 0x6f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18013b3b0
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1f90
call fcn.1800fb440
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.1800efe20
or r8d, 0xffffffff
xor edx, edx
mov rcx, r14
call fcn.1800e9fe0
call fcn.18014f980
mov rbx, qword [0x18023ce38]
test rbx, rbx
je 0x18013b51f
cmp esi, 0xffffffff
jne 0x18013b43f
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.1800f8b90
lea r8, [rsp + 0x20]
mov edx, 0x1f40
lea rcx, [rsp + 0x40]
call rbx
test eax, eax
je 0x18013b516
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x18013b50f
lea rbx, [rsp + 0x40]
mov r12d, eax
nop dword [rax + rax]
cmp esi, 0xfffffffe
je 0x18013b4a4
mov rax, qword [rdi]
mov edx, dword [rbx]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
cmp esi, eax
jne 0x18013b506
test ebp, ebp
jne 0x18013b4c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rbp + 1]
lea rdx, str.SeDebugPrivilege
call fcn.1800f8b70
mov ebp, 1
mov r8d, dword [rbx]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.1800f0080
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.1800ea230
nop
lea rcx, [rsp + 0x28]
call fcn.1800e5c00
add rbx, 4
dec r12
jne 0x18013b490
mov eax, 1
jmp 0x18013b521
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.1800f98f0
add rsp, 0x1f90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18013c310
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.180139ee0
lea rcx, [rsp + 0x28]
call fcn.18013a9f0
nop
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18013bd80
test eax, eax
je 0x18013c4a3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov r8d, 1
lea rdx, str.SeDebugPrivilege
call fcn.1800f8b70
xor r13d, r13d
mov ebx, r13d
lea rcx, [rsp + 0x28]
call fcn.18013aa00
mov ebp, eax
test eax, eax
jle 0x18013c486
mov dword [rsp + 0x50], r13d
xor edx, edx
mov r8d, 0x2ac
lea rcx, [rsp + 0x54]
call fcn.1800f8b90
mov edx, ebx
lea rcx, [rsp + 0x28]
call fcn.18013bac0
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r8d, 0xa0
call fcn.1800fa600
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 0x18013c435
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x18013c41a
lea rdx, str.System_Idle_Process
jmp 0x18013c42b
cmp eax, 4
je 0x18013c424
cmp eax, 8
jne 0x18013c435
lea rdx, str.System
lea rcx, [rsp + 0x20]
call fcn.1800e5dc0
mov r8d, 0x103
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xf4]
call fcn.1800f8dd0
mov r8, r12
lea rdx, [rsp + 0xf4]
mov rcx, rdi
call fcn.18013c870
test eax, eax
je 0x18013c472
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180139ef0
nop
lea rcx, [rsp + 0x20]
call fcn.1800e5c00
inc ebx
cmp ebx, ebp
jl 0x18013c3b0
mov rdx, rsi
mov rcx, rdi
call fcn.18013bff0
nop
lea rcx, [rsp + 0x28]
call fcn.18013bad0
mov eax, 1
jmp 0x18013c4af
lea rcx, [rsp + 0x28]
call fcn.18013bad0
xor eax, eax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1800f98f0
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18013c9d0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x18013c9ee
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 0x18013ca0e
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 0x18013ca20
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.18014e4e0
mov r11, qword [0x18023cce0]
test r11, r11
jne 0x18013ca4d
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 0x18013ca80
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 0x18013ca99
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 0x18013cac0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.18014e4e0
mov r11, qword [0x18023cce0]
test r11, r11
jne 0x18013caed
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 0x18013cb20
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 0x18013cb39
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 0x18013cb60
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.18014e4e0
mov r11, qword [0x18023cce0]
test r11, r11
je 0x18013cba4
xor edx, edx
mov r8d, esi
lea ecx, [rdx + 1]
call r11
mov rsi, rax
test rax, rax
jne 0x18013cbb6
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 0x18013cbd0
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 0x18013ce30
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.1800f8b90
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.1800e9640
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800f98f0
add rsp, 0x250
pop rbx
ret

Function at 0x18013d1d0
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.18014e4e0
cmp qword [0x18023cce0], 0
je 0x18013d236
lea rcx, [rsp + 0x28]
call fcn.1800efe00
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 0x18013d23a
lea rcx, [rsp + 0x28]
call fcn.1800efe10
xor eax, eax
jmp 0x18013d2a9
xor edi, edi
xor esi, esi
cmp dword [rsp + 0x30], esi
jle 0x18013d29d
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 0x18013d271
test rax, rax
je 0x18013d290
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 0x18013d29d
jmp 0x18013d250
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.1800efe10
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 0x18013d2d0
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.18014e4e0
cmp qword [0x18023cce0], 0
je 0x18013d336
lea rcx, [rsp + 0x28]
call fcn.1800efe00
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 0x18013d33a
lea rcx, [rsp + 0x28]
call fcn.1800efe10
xor eax, eax
jmp 0x18013d3a9
xor edi, edi
xor esi, esi
cmp dword [rsp + 0x30], esi
jle 0x18013d39d
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 0x18013d371
test rax, rax
je 0x18013d390
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 0x18013d39d
jmp 0x18013d350
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.1800efe10
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 0x18013d3d0
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.1800efe00
nop
mov rax, qword [r12]
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, r12
call qword [rax + 0xb0]
test eax, eax
jne 0x18013d433
lea rcx, [rsp + 0x28]
call fcn.1800efe10
xor eax, eax
jmp 0x18013d4cf
xor esi, esi
mov ebx, esi
cmp dword [rsp + 0x30], ebx
jle 0x18013d4c0
mov edi, esi
test esi, esi
jne 0x18013d464
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rsi + 1]
lea rdx, str.SeDebugPrivilege
call fcn.1800f8b70
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.18013c870
test eax, eax
je 0x18013d4aa
mov rax, qword [rsp + 0x28]
mov r8d, dword [rdi + rax]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.1800f0080
nop
lea rcx, [rsp + 0x60]
call fcn.1800e5c00
inc ebx
add rdi, 4
cmp ebx, dword [rsp + 0x30]
jl 0x18013d443
lea rcx, [rsp + 0x28]
call fcn.1800efe10
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 0x18013eed0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
jne 0x18013eed9
xor eax, eax
jmp 0x18013ef21
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x18013eee7
xor eax, eax
jmp 0x18013ef21
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x18013eefa
xor eax, eax
jmp 0x18013ef21
cmp word [rax + 0x14], 0
jne 0x18013ef05
xor eax, eax
jmp 0x18013ef21
test edx, edx
je 0x18013ef18
mov ecx, 0x8664
cmp word [rax + 4], cx
je 0x18013ef18
xor eax, eax
jmp 0x18013ef21
mov eax, 1
jmp 0x18013ef21
repz ret

Function at 0x18013f350
Capabilities:
Parse pe header

Disassembly:
mov edx, 1
jmp fcn.18013eed0
Function at 0x1801441a0
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 0x18014422a
lea rdx, [rdi + 0xf0]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x28]
call fcn.1800f0bb0
nop
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rdi + 0x128]
call fcn.180187090
lea rdx, [rdi + 0xd8]
lea rcx, [rdi + 0x128]
call fcn.1801871f0
mov dword [rdi + 0x140], r12d
lea rcx, [rsp + 0x28]
call fcn.1800f0c30
cmp qword [rbp + 0x30], 0
je 0x180144240
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x30]
jmp 0x180144278
mov ebx, r12d
cmp dword [rdi + 0x130], ebx
jle 0x180144286
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 0x180144278
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x130]
jl 0x180144250
jmp 0x180144286
mov rcx, rbp
call fcn.180143820
mov r12d, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r13d
cmp dword [rdi + 0x148], eax
jae 0x1801442a6
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 0x180146cb0
Capabilities:
Terminate thread

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

Function at 0x180149ab0
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 0x180149b33
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
mov dword [0x18023c980], 1
call fcn.1800f8b90
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x180149b23
cmp dword [rsp + 0x24], 5
jb 0x180149b23
mov rax, qword [str.GlobalOCULAR_]
mov qword [0x18023c978], rax
jmp 0x180149b3a
mov rax, qword [str.OCULAR_]
mov qword [0x18023c978], rax
jmp 0x180149b3a
mov rax, qword [0x18023c978]
test ebx, ebx
cmovne rax, qword [str.OCULAR_]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800f98f0
add rsp, 0x150
pop rbx
ret
Function at 0x18014c5e0
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 0x18014c74b
cmp qword [rcx + 0x10], 0
je 0x18014c74b
mov edx, ebx
call fcn.18014c520
test eax, eax
je 0x18014c753
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 0x18014c6a4
cmp dword [rsp + 0x80], ebp
je 0x18014c6a4
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x80]
jmp 0x18014c6cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r12d, r12d
jne 0x18014c6e9
test eax, eax
je 0x18014c6e9
cmp eax, 0x3e5
je 0x18014c6e9
cmp eax, 0x217
je 0x18014c6e9
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 0x18014c71a
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, 0xf0000001
mov ecx, 0xf0000003
cmp ebx, 0x102
cmove eax, ecx
jmp 0x18014c6c6
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 0x18014c6cb
mov eax, 0xf0000001
mov dword [rcx + 0x24], eax
xor eax, eax
jmp 0x18014c6d3
Function at 0x18014c760
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 0x18014c8cb
cmp qword [rcx + 0x18], 0
je 0x18014c8cb
mov edx, ebx
call fcn.18014c520
test eax, eax
je 0x18014c8d3
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 0x18014c824
cmp dword [rsp + 0x80], ebp
jbe 0x18014c824
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x80]
jmp 0x18014c84b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r12d, r12d
jne 0x18014c869
test eax, eax
je 0x18014c869
cmp eax, 0x3e5
je 0x18014c869
cmp eax, 0x217
je 0x18014c869
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 0x18014c89a
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, 0xf0000001
mov ecx, 0xf0000003
cmp ebx, 0x102
cmove eax, ecx
jmp 0x18014c846
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 0x18014c84b
mov eax, 0xf0000001
mov dword [rcx + 0x24], eax
xor eax, eax
jmp 0x18014c853

Function at 0x18014cbc0
Capabilities:
Write file on windows

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

Function at 0x18014cbf0
Capabilities:
Read file on windows

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