joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180059650
Capabilities:
Access the windows event log

Disassembly:
mov esi, dword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
mov eax, 0x278
call fcn.180032700
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rax, qword [0x1800bd650]
xor rax, rbp
mov qword [rbp + 0x210], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x1800596d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1800596d0
lea rbx, [rbp + 0x268]
call fcn.18003f58c
mov rdx, qword [rbp + 0x260]
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.18006e864
jmp 0x180059898
mov r8, qword [rbp + 0x260]
mov rcx, r8
call fcn.1800593a0
inc eax
mov edi, eax
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1800596f9
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.180032700
sub rsp, rcx
xor esi, esi
lea rbx, [rsp + 0x50]
test rbx, rbx
jne 0x180059720
lea rbx, str.no_stack_
jmp 0x1800597f3
mov r9d, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180059769
mov rdx, rsi
test rdi, rdi
je 0x180059769
nop word [rax + rax]
mov rax, qword [rbp + 0x260]
inc rdx
movsx ecx, byte [rdx + rax - 1]
mov word [rbx + rdx*2 - 2], cx
cmp rdx, rdi
jb 0x180059750
mov rdx, rsi
test rdi, rdi
je 0x1800597f3
mov r10d, 0x53
lea r9, [0x180000000]
lea r11d, [r10 + 0x20]
lea r12d, [r10 - 0x10]
lea r13d, [r10 + 0x10]
nop
cmp word [rbx + rdx*2], 0x25
jne case.0x1800597c2.47
lea r8, [rbx + rdx*2 + 2]
nop dword [rax]
movzx eax, word [r8]
add eax, 0xffffffd6
cmp eax, 0x49
ja case.0x1800597c2.47
cdqe
movzx eax, byte [r9 + rax + 0x598d0]
mov ecx, dword [r9 + rax*4 + 0x598b8]
add rcx, r9
jmp rcx
inc rdx
add r8, 2
jmp 0x1800597a0
mov word [rbx + rdx*2 + 2], r10w
jmp case.0x1800597c2.47
mov word [rbx + rdx*2 + 2], r11w
jmp case.0x1800597c2.47
mov word [rbx + rdx*2 + 2], r12w
jmp case.0x1800597c2.47
mov word [rbx + rdx*2 + 2], r13w
inc rdx
cmp rdx, rdi
jb 0x180059790
lea r9, [rbp + 0x268]
lea rcx, [rbp + 0x10]
mov r8, rbx
mov edx, 0xff
call fcn.1800315d8
mov word [rbp + 0x20e], si
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x18005987f
call fcn.180059520
test eax, eax
jle 0x18005987f
lea rdx, str.OPENSSL
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rsp + 0x40], rsi
mov ecx, 1
mov rbx, rax
lea rax, [rbp + 0x10]
mov edx, ecx
mov qword [rbp], rax
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x180059898
lea r8, str.OpenSSL:_FATAL
lea rdx, [rbp + 0x10]
mov r9d, reloc.WS2_32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x210]
xor rcx, rbp
call fcn.180030310
lea rsp, [rbp + 0x228]
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180059920
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.180032700
sub rsp, rax
mov r9, r8
mov r8d, edx
mov rdx, rcx
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.180059650
add rsp, 0x28
jmp fcn.180038e98
Function at 0x18005db90
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x20
call fcn.180032700
sub rsp, rax
mov rbx, r8
call fcn.18005d5a0
test eax, eax
js 0x18005ddce
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x18005dc19
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop dword [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x18005dbd0
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x18005ddcc
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x180000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x885a0]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
mov r9d, dword [rdi + rdx*4 + 0x891a0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x899a0]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x89da0]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
xor r9d, dword [rdi + rcx*4 + 0x895a0]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x885a0]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
mov r8d, dword [rdi + rdx*4 + 0x891a0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x899a0]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x895a0]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x89da0]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x885a0]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
mov r8d, dword [rdi + rdx*4 + 0x891a0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x899a0]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x895a0]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x89da0]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0x885a0]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
mov r8d, dword [rdi + rdx*4 + 0x899a0]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0x895a0]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x885a0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x891a0]
movzx ecx, byte [rdi + rax*4 + 0x885a0]
xor r8d, dword [rdi + rcx*4 + 0x89da0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x18005dc40
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x18005eb60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.180032700
sub rsp, rax
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov rsi, rcx
movzx r10d, byte [rax]
mov ebx, dword [r15]
lea rdi, [rax + 1]
movzx ecx, byte [rdi + 6]
mov qword [rbp - 0x18], rax
movzx eax, byte [rdi]
shl eax, 8
mov r14, rdx
movzx edx, byte [rdi + 3]
or r10d, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
shl eax, 0x10
mov r12d, r8d
lea r8, [rdi + 5]
or r10d, eax
movzx eax, byte [rdi + 2]
xor r13d, r13d
shl eax, 0x18
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r15
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 8
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0x10], r10b
or edx, eax
movzx eax, byte [r8]
or ecx, eax
mov eax, r10d
shr eax, 8
shl ecx, 0x10
mov byte [rbp - 0xf], al
or edx, ecx
mov eax, r10d
shr eax, 0x10
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0xc], dl
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 9], al
test r12d, r12d
je 0x18005ed1c
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx r8d, dl
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x18005ecb8
lea r8d, [rbx + 1]
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.18005a670
mov r10d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x2c]
movzx r9d, byte [rbp - 0x30]
movzx r8d, byte [rbp - 0x2c]
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x10], r9b
mov byte [rbp - 0xc], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
inc r13d
mov byte [rbp - 9], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x18005ec52
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x18005ed1c
mov rax, qword [rbp - 0x18]
mov byte [rax], r9b
mov eax, r10d
shr eax, 8
mov byte [rdi], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [rdi + 1], al
mov byte [rdi + 2], r10b
mov byte [rdi + 3], r8b
mov eax, edx
shr eax, 8
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [rdi + 5], al
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180030310
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006dc70
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1800d6404]
test ecx, ecx
jne 0x18006dd8f
mov eax, dword [0x1800d6400]
cmp eax, 3
ja 0x18006dd8f
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x1800d6400], eax
call fcn.1800464a0
test eax, eax
je 0x18006dcb6
lea rcx, str.Userenv.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x18006dcc3
lea rcx, [0x1800919f8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x18006dcd5
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.CreateEnvironmentBlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DestroyEnvironmentBlock
mov rcx, rbx
mov qword [0x1800d63c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ExpandEnvironmentStringsForUserA
mov rcx, rbx
mov qword [0x1800d63d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ExpandEnvironmentStringsForUserW
mov rcx, rbx
mov qword [0x1800d63d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LoadUserProfileA
mov rcx, rbx
mov qword [0x1800d63e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LoadUserProfileW
mov rcx, rbx
mov qword [0x1800d63e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UnloadUserProfile
mov rcx, rbx
mov qword [0x1800d63f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov dword [0x1800d6404], 1
mov qword [0x1800d63f8], rax
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x18006dda0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1800d645c]
test ecx, ecx
jne 0x18006df04
mov eax, dword [0x1800d6458]
cmp eax, 3
ja 0x18006df04
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x1800d6458], eax
call fcn.1800464a0
test eax, eax
je 0x18006dde6
lea rcx, str.psapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x18006ddf3
lea rcx, [0x180091b18]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x18006de05
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.EnumProcesses
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.EnumProcessModules
mov rcx, rbx
mov qword [0x1800d6408], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProcessMemoryInfo
mov rcx, rbx
mov qword [0x1800d6410], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetModuleFileNameExA
mov rcx, rbx
mov qword [0x1800d6418], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetModuleFileNameExW
mov rcx, rbx
mov qword [0x1800d6420], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetModuleInformation
mov rcx, rbx
mov qword [0x1800d6428], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProcessImageFileNameA
mov rcx, rbx
mov qword [0x1800d6430], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProcessImageFileNameW
mov rcx, rbx
mov qword [0x1800d6438], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetMappedFileNameA
mov rcx, rbx
mov qword [0x1800d6440], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetMappedFileNameW
mov rcx, rbx
mov qword [0x1800d6448], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov qword [0x1800d6450], rax
mov dword [0x1800d645c], 1
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x18006dfa0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1800d659c]
test ecx, ecx
jne 0x18006e1c5
mov eax, dword [0x1800d6598]
cmp eax, 3
ja 0x18006e1c5
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x1800d6598], eax
call fcn.1800464a0
test eax, eax
je 0x18006dfe6
lea rcx, str.iphlpapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x18006dff3
lea rcx, [0x180091cd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x18006e005
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.GetAdapterIndex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetAdaptersInfo
mov rcx, rbx
mov qword [0x1800d6508], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d6510], rax
call fcn.180046610
test eax, eax
je 0x18006e053
lea rdx, str.GetAdaptersAddresses
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d6518], rax
lea rdx, str.GetIfTable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetIpForwardTable
mov rcx, rbx
mov qword [0x1800d6520], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateIpForwardEntry
mov rcx, rbx
mov qword [0x1800d6528], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DeleteIpForwardEntry
mov rcx, rbx
mov qword [0x1800d6530], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetIpNetTable
mov rcx, rbx
mov qword [0x1800d6538], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SendARP
mov rcx, rbx
mov qword [0x1800d6540], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetTcpTable
mov rcx, rbx
mov qword [0x1800d6548], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetUdpTable
mov rcx, rbx
mov qword [0x1800d6550], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetNetworkParams
mov rcx, rbx
mov qword [0x1800d6558], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetPerAdapterInfo
mov rcx, rbx
mov qword [0x1800d6560], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.AddIPAddress
mov rcx, rbx
mov qword [0x1800d6568], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DeleteIPAddress
mov rcx, rbx
mov qword [0x1800d6570], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NotifyAddrChange
mov rcx, rbx
mov qword [0x1800d6578], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NotifyRouteChange
mov rcx, rbx
mov qword [0x1800d6580], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetAdapterIpAddress
mov rcx, rbx
mov qword [0x1800d6588], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov dword [0x1800d659c], 1
mov qword [0x1800d6590], rax
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1800721e0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x1800d6600], 0
mov ebx, ecx
jne 0x180072263
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
mov dword [0x1800d6600], 1
call fcn.180032160
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x180072253
cmp dword [rsp + 0x24], 5
jb 0x180072253
mov rax, qword [str.GlobalOCULAR_]
mov qword [0x1800d65f8], rax
jmp 0x18007226a
mov rax, qword [str.OCULAR_]
mov qword [0x1800d65f8], rax
jmp 0x18007226a
mov rax, qword [0x1800d65f8]
test ebx, ebx
cmovne rax, qword [str.OCULAR_]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180030310
add rsp, 0x150
pop rbx
ret
Function at 0x180074410
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 0x18007457b
cmp qword [rcx + 0x10], 0
je 0x18007457b
mov edx, ebx
call fcn.180074350
test eax, eax
je 0x180074583
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 0x1800744d4
cmp dword [rsp + 0x80], ebp
je 0x1800744d4
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x80]
jmp 0x1800744fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r12d, r12d
jne 0x180074519
test eax, eax
je 0x180074519
cmp eax, 0x3e5
je 0x180074519
cmp eax, 0x217
je 0x180074519
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 0x18007454a
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, 0xf0000001
mov ecx, 0xf0000003
cmp ebx, 0x102
cmove eax, ecx
jmp 0x1800744f6
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 0x1800744fb
mov eax, 0xf0000001
mov dword [rcx + 0x24], eax
xor eax, eax
jmp 0x180074503
Function at 0x180074590
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 0x1800746fb
cmp qword [rcx + 0x18], 0
je 0x1800746fb
mov edx, ebx
call fcn.180074350
test eax, eax
je 0x180074703
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 0x180074654
cmp dword [rsp + 0x80], ebp
jbe 0x180074654
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x80]
jmp 0x18007467b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r12d, r12d
jne 0x180074699
test eax, eax
je 0x180074699
cmp eax, 0x3e5
je 0x180074699
cmp eax, 0x217
je 0x180074699
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 0x1800746ca
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, 0xf0000001
mov ecx, 0xf0000003
cmp ebx, 0x102
cmove eax, ecx
jmp 0x180074676
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 0x18007467b
mov eax, 0xf0000001
mov dword [rcx + 0x24], eax
xor eax, eax
jmp 0x180074683

Function at 0x1800749d0
Capabilities:
Write file on windows

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

Function at 0x180074a00
Capabilities:
Read file on windows

Disassembly:
cmp dword [rcx + 0x1c], 6
mov rax, rcx
je 0x180074a0d
or eax, 0xffffffff
ret
test r8d, r8d
jne 0x180074a15
xor eax, eax
ret
mov r9d, dword [rax + 0xc]
add rcx, 0x70
jmp fcn.180074410
Function at 0x180074e00
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov ebp, r8d
mov rsi, rdx
mov rdi, rcx
call fcn.1800742e0
call fcn.180074190
mov rbx, rax
test rax, rax
je 0x180074f9d
mov qword [rsp + 0x2b0], r12
lea rcx, [rsp + 0x42]
xor r12d, r12d
xor edx, edx
mov r8d, 0x22e
mov word [rsp + 0x40], r12w
call fcn.180032160
lea rcx, [rsp + 0x40]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, word [rbx]
add rbx, 2
mov word [rcx + rbx - 2], ax
test ax, ax
jne 0x180074e70
test rsi, rsi
je 0x180074e99
lea rcx, [rsp + 0x40]
mov r8d, 0x104
mov rdx, rsi
call fcn.180030c68
call fcn.18002dba0
mov edx, 0x40000003
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
test ebp, ebp
jne 0x180074ecf
mov dword [rsp + 0x28], 0x8000
lea r9d, [rbp + 1]
xor r8d, r8d
mov dword [rsp + 0x20], 0x8000
jmp 0x180074eeb
mov dword [rsp + 0x28], 0x1000
mov r9d, 0xff
mov r8d, 6
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x180074f04
mov qword [rdi + 8], r12
jmp 0x180074f93
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov dword [rdi + 0x28], ebp
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x18], rax
cmp qword [rdi + 0x10], r12
je 0x180074f8b
test rax, rax
je 0x180074f8b
xor eax, eax
lea rdx, [rdi + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
mov qword [rdi + 0x48], rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180074f7d
cmp eax, 0x3e5
je 0x180074f7d
cmp eax, 0x217
jne 0x180074f93
mov dword [rdi + 0x20], 1
mov eax, 1
jmp 0x180074f95
mov rcx, rdi
call fcn.1800742e0
xor eax, eax
mov r12, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180030310
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x180075700
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [rcx], 0
mov rbx, rcx
jne 0x18007573b
lea rdx, [rsp + 0x20]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor edx, edx
test eax, eax
sete dl
mov dword [rbx], edx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180030310
add rsp, 0x1d0
pop rbx
ret