joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b63f0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x1400b641b
mov qword [rsi + 8], rbx
mov qword [rsi], 1
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rax, qword [0x1401529d0]
cmp rax, 3
jne 0x1400b659d
cmp word [rbx], 0
mov eax, 2
mov ebp, 0x17
cmove ebp, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b6490
cmp word [rbx], 0
je 0x1400b6508
movups xmm0, xmmword [rbx + 4]
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0x18]
movzx ecx, word [rbx + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1400b651d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400b64ab
mov r14d, eax
cmp eax, 0x2726
jne 0x1400b658c
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x1400b6583
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x1400b6468
call sub.kernel32.dll_GetLastError
mov r14d, eax
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
jmp 0x1400b658c
mov eax, dword [rbx + 2]
movzx ecx, word [rbx + 6]
xorps xmm0, xmm0
mov r8d, 0x10
mov r9w, 2
rol cx, 8
mov word [rsp + 0x30], r9w
mov word [rsp + 0x32], cx
mov dword [rsp + 0x34], eax
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], edx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400b655c
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1400b6410
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
jmp 0x1400b6410
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov qword [rsi + 8], r14
jmp 0x1400b6409
call fcn.14010f6d0
jmp 0x1400b642c
Function at 0x1400b955f
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x1400b969d
mov rdi, rax
mov qword [rsp + 0x60], rsi
movsxd rbp, dword [rsp + 0x24]
mov qword [rsp + 0x28], 8
xorps xmm6, xmm6
movups xmmword [rsp + 0x30], xmm6
test rbp, rbp
je 0x1400b967d
shl rbp, 3
mov esi, 8
xor r15d, r15d
lea rbx, [rsp + 0x68]
lea r14, [rsp + 0x40]
xor r12d, r12d
mov r13, qword [rdi + r15]
mov rcx, r13
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rax, [rax*2]
add rax, r13
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0x70]
movups xmmword [rcx], xmm6
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
mov rcx, rbx
mov rdx, r14
call fcn.1400b8f6a
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
cmp r12, qword [rsp + 0x30]
jne 0x1400b964c
lea rcx, [rsp + 0x28]
mov rdx, r12
call fcn.1400b97e9
mov rsi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x38]
lea rax, [r12 + r12*2]
mov rcx, qword [rsp + 0x50]
mov qword [rsi + rax*8 + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + rax*8], xmm0
mov r12, qword [rsp + 0x38]
inc r12
mov qword [rsp + 0x38], r12
add r15, 8
cmp rbp, r15
jne 0x1400b95d6
mov rcx, rdi
call sub.kernel32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
movups xmmword [rcx], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
jmp 0x1400b96ab
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400bd5b0
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], 0
cmp qword [rdx + 0x10], 0
je 0x1400bd683
lea rcx, [0x14013b30a]
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
test ebp, ebp
js 0x1400bd683
mov rbx, qword [rsp + 0x38]
cmp qword [rsi + 0x20], 0
je 0x1400bd64f
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x1400bd64f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x1400bd692
mov qword [rdi], 2
mov rcx, rsi
call fcn.1400bba4c
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400c86ba
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400c86c1
test al, 1
je 0x1400c86e0
test al, 2
jne 0x1400c86f5
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14013dfc8]
mov edx, 0x23
jmp 0x1400c8708
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14013e008]
mov edx, 0x25
call fcn.140109930
ud2

Function at 0x1400c95e3
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub rsp, 0x28
cmp rdx, 0xffffffffffffffff
je 0x1400c95f6
add rsp, 0x28
jmp fcn.1400a6210
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140109930
ud2
Function at 0x1400c98c4
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x50], r8
mov r14, rdx
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0xc0]
mov r15, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
mov r13d, 0x7fffffff
cmp rax, r13
cmovb r13, rax
mov rbp, qword [rdx + 0x20]
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x50]
mov r9b, 1
call fcn.1400c8d78
mov al, byte [rsp + 0x31]
cmp al, 3
je 0x1400c9a51
mov rcx, qword [rsp + 0x28]
cmp al, 2
je 0x1400c9a5f
mov dl, byte [rsp + 0x30]
lea r9, [rsp + 0x32]
movzx r8d, word [r9 + 4]
lea r10, [rsp + 0x42]
mov word [r10 + 4], r8w
mov r8d, dword [r9]
mov dword [r10], r8d
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x40], dl
mov byte [rsp + 0x41], al
cmp r12, 0xffffffffffffffff
je 0x1400c9aa3
mov rcx, r12
mov rdx, qword [rsp + 0x48]
mov r8d, r13d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x1400c9a6d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rsi, rax
shl rsi, 0x20
or rsi, 2
mov ecx, eax
call fcn.14009b690
cmp al, 0xd
jne 0x1400c99f5
test rbp, rbp
je 0x1400c99f5
mov rcx, qword [rbp]
mov rdx, qword [rbp + 8]
lock inc qword [rdx]
jle 0x1400c9abd
add rcx, 0x10
mov r8, qword [rbp + 0x10]
mov r9b, byte [rbp + 0x18]
call fcn.1400752c1
test rax, rax
je 0x1400c99f5
mov rdi, rax
mov rcx, rsi
call fcn.140056b1f
mov eax, edi
and eax, 3
lea rcx, [0x1400c9ac4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov rsi, rdi
jmp rax
mov eax, esi
and eax, 3
lea rcx, [0x1400c9ac4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [rsi + 0x10]
jmp 0x1400c9a20
mov al, byte [rsi + 0xf]
jmp 0x1400c9a20
mov rcx, rsi
shr rcx, 0x20
call fcn.14009b690
cmp al, 0xd
je 0x1400c9a32
jmp 0x1400c9a82
mov rax, rsi
shr rax, 0x20
cmp eax, 0xd
jne 0x1400c9a82
mov qword [rsp + 0x28], rsi
mov rcx, r14
lea rdx, [rsp + 0x38]
call fcn.1400c9163
mov rcx, rbx
call fcn.1400c3002
jmp 0x1400c990c
mov rax, qword [rsp + 0x20]
mov qword [rax], 2
jmp 0x1400c9a92
mov rax, qword [rsp + 0x20]
mov qword [rax], 1
jmp 0x1400c9a7c
movsxd rcx, eax
mov rax, qword [rsp + 0x20]
mov qword [rax], 0
mov qword [rax + 8], rcx
jmp 0x1400c9a92
mov rax, qword [rsp + 0x20]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140109930
ud2
ud2
Function at 0x1401087d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14010881a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010881a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010881a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010881a
cmp dword [rcx + 0x84], 0xe
jbe 0x14010881a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14010881c
xor al, al
add rsp, 0x28
ret
Function at 0x14010deb5
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14010df08
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14010df08
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14010df08
mov r14, rax
xor edi, edi
jmp 0x14010df8d
lea rcx, [0x140135410]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14010dff7
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14010dff7
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14010dff7
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14010dff7
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14010dff7
mov r14, qword [rsp + 0x20]
mov al, byte [0x140152a70]
mov ecx, 0x18
mov edx, 8
call fcn.140041bf0
test rax, rax
je 0x14010e011
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1401528c0], rbx
je 0x14010dfea
mov rsi, rax
cmp qword [rbx], 0
je 0x14010dfd5
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [0x1401529c8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.8_src_thread_parkerwindowsmod.rs
lea r8, [0x140135518]
mov edx, 0x5b
call fcn.14010e022
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1401093b0
ud2
Function at 0x14010f730
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x1401529d0]
cmp rax, 3
jne 0x1400a5b3d
cmp rbx, 0x17f
ja 0x1400a5b4f
lea r15, [rsp + 0x70]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
inc rbx
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, rbx
call fcn.14004b230
cmp qword [rsp + 0x28], 0
je 0x1400a5ac1
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400a5b2e
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400a5b18
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400a5b2b
mov rax, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14010f6d0
cmp rbx, 0x17f
jbe 0x1400a5a7a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x14010f730
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140041ed0
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x14010f790
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
cmp qword [rsp + 0x38], 0
je 0x14010f81f
mov rcx, qword [0x1401529c8]
xor edx, edx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14010f7ef
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14010f802
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x14010f81f
mov rcx, qword [0x1401529c8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x180001744
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov r13, r8
xor r8d, r8d
mov rbp, rcx
mov ebx, dword [rax + rcx + 0x88]
mov r12d, dword [rax + rcx + 0x8c]
add rbx, rcx
mov eax, edx
shr eax, 0x10
test ax, ax
je 0x1800017d9
mov edi, dword [rbx + 0x20]
mov r15d, r8d
mov esi, dword [rbx + 0x24]
add rdi, rcx
add rsi, rcx
cmp dword [rbx + 0x18], r8d
jbe 0x1800017d9
lea r14d, [r8 + 2]
mov ecx, dword [rdi]
mov edx, r8d
add rcx, rbp
mov rax, rcx
cmp byte [rcx], r8b
je 0x1800017b8
inc rax
inc edx
cmp byte [rax], r8b
jne 0x1800017ae
call fcn.180002f1c
cmp eax, dword [rsp + 0x68]
je 0x1800017f4
add rdi, 4
add rsi, r14
inc r15d
mov r8d, 0
cmp r15d, dword [rbx + 0x18]
jb 0x18000179e
mov qword [r13], r8
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx r8d, word [rsi]
mov rdx, rbx
mov rcx, rbp
call fcn.180001244
mov rdi, rax
cmp rax, rbx
jbe 0x1800018fa
mov rdx, rax
sub rdx, rbx
cmp rdx, r12
jae 0x1800018fa
mov r9d, 0x55555556
mov dword [rsp + 0x60], 0x179804
mov ecx, dword [rsp + 0x60]
mov eax, r9d
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
cmp ecx, eax
je 0x180001876
mov ecx, dword [rsp + 0x60]
add ecx, r14d
add ecx, ebx
mov dword [rsp + 0x60], ecx
mov ecx, 0x80000003
jmp 0x180001861
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
and eax, ecx
jge 0x180001870
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x180001857
jmp 0x1800018e8
mov eax, dword [rsp + 0x60]
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x60]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
cmp ecx, eax
je 0x1800018e8
mov eax, dword [rsp + 0x60]
lea ecx, [rbx + 0x17]
add eax, 0xb
cdq
idiv ecx
jmp 0x1800018cd
mov ecx, dword [rsp + 0x60]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
cmp ecx, eax
mov eax, dword [rsp + 0x60]
je 0x1800018cb
inc eax
jmp 0x1800018cd
dec eax
mov dword [rsp + 0x60], eax
mov eax, r9d
mov ecx, dword [rsp + 0x60]
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
cmp ecx, eax
je 0x1800018a8
mov edx, dword [rsp + 0x68]
mov r8, rdi
mov rcx, rbp
call section..text
mov rdi, rax
lea edx, [rdi + 1]
mov rcx, r13
call fcn.1800014d8
mov rax, rdi
jmp 0x1800017df
Function at 0x180002ef4
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x19
jb 0x180002efb
mov byte [rcx + 0x1d], 0
ret

Function at 0x180002f1c
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x180025008]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebx, edx
mov rsi, rcx
mov r15d, edx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x100
mov r14d, 0x9e3779b8
call fcn.180004178
lea rax, [rsp + 0x20]
movsxd rbp, ebx
xor edi, edi
mov rdx, rbp
cmp rsi, rax
jae 0x180002f9f
lea r8, [rsi - 1]
add r8, rdx
lea rcx, [rsp + rbp + 0x1f]
test rdx, rdx
je 0x180002fbe
mov al, byte [r8]
dec r8
mov byte [rcx], al
dec rcx
sub rdx, 1
jne 0x180002f8c
jmp 0x180002fbe
lea rax, [rsp + 0x20]
cmp rsi, rax
jbe 0x180002fbe
test rdx, rdx
je 0x180002fbe
mov r8, rbp
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.180009930
test ebx, ebx
jle 0x180002fdf
mov rcx, rdi
mov dl, byte [rsp + rcx + 0x20]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x180002fd7
sub dl, 0x20
mov byte [rsp + rcx + 0x20], dl
inc rcx
cmp rcx, rbp
jl 0x180002fc5
lea rdx, [rsp + 0x20]
cmp ebx, 4
jl 0x18000301f
mov r8, rbx
shr r8, 2
mov eax, r8d
neg eax
lea ebx, [rbx + rax*4]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r14d, r14d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r14d, ecx
sub r8, 1
jne 0x180002ff8
sub ebx, 1
je 0x18000303e
sub ebx, 1
je 0x180003035
cmp ebx, 1
jne 0x180003043
movzx edi, byte [rdx + 2]
shl edi, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor edi, eax
movzx eax, byte [rdx]
xor edi, eax
imul ecx, edi, 0x5bd1e995
imul r8d, r15d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r14d, 0x5bd1e995
xor ecx, eax
mov eax, r8d
shr eax, 0x18
xor eax, r8d
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1800077e0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1800048e0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x10
mov rax, qword gs:[0x60]
mov ebp, ecx
mov rdx, qword [rax + 0x18]
mov r10, qword [rdx + 0x10]
mov r8, qword [r10 + 0x30]
test r8, r8
je 0x1800049ca
movups xmm0, xmmword [r10 + 0x58]
movsxd rax, dword [r8 + 0x3c]
xor edx, edx
mov r10, qword [r10]
movdqu xmmword [rsp], xmm0
mov r11d, dword [rax + r8 + 0x88]
test r11d, r11d
je 0x180004907
mov rax, qword [rsp]
shr rax, 0x10
movzx ecx, ax
test ecx, ecx
je 0x180004964
mov rax, qword [rsp + 8]
mov r9d, ecx
movsx ecx, byte [rax]
ror edx, 0xd
cmp byte [rax], 0x61
jl 0x180004959
add edx, 0xffffffe0
add edx, ecx
inc rax
sub r9, 1
jne 0x18000494b
lea rdi, [r8 + r11]
mov r9d, dword [rdi + 0x18]
mov eax, dword [rdi + 0x20]
dec r9d
add rax, r8
lea rsi, [rax + r9*4]
jmp 0x1800049a3
mov ebx, dword [rsi]
xor r11d, r11d
add rbx, r8
lea rsi, [rsi - 4]
movsx ecx, byte [rbx]
inc rbx
ror r11d, 0xd
add r11d, ecx
test cl, cl
jne 0x180004987
lea eax, [r11 + rdx]
cmp eax, ebp
je 0x1800049ae
dec r9d
cmp r9d, 1
ja 0x18000497b
jmp 0x180004907
mov eax, dword [rdi + 0x24]
lea ecx, [r9 + r9]
add rax, r8
movzx edx, word [rcx + rax]
mov ecx, dword [rdi + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x1800049cc
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
add rsp, 0x10
pop rdi
ret
Function at 0x1800076f0
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 0xf
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x1800076fd
mov byte [rcx + 0x13], r11b
ret

Function at 0x180007720
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x59
jb 0x180007727
mov byte [rcx + 0x5d], 0
ret

Function at 0x180007788
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x17
jb 0x18000778f
mov byte [rcx + 0x1b], 0
ret
Function at 0x1400019c0
Capabilities:
Get common file path
Print debug messages

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x260], rbx
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov word [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x32]
call fcn.1401601f0
xor r9d, r9d
lea r8d, [r9 + 0x10]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x2c], 0x5c
jne 0x140001a3a
mov word [rsp + rcx*2 + 0x2c], ax
mov rcx, rbx
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea rcx, [rsp + rcx*2 + 0x2e]
mov r9d, reloc.OLEAUT32.dll_SafeArrayDestroy
lea r8, str.RtkNGuiDbg.log
mov edx, 0x208
call fcn.14015c120
lea r8, str.atc
lea rdx, [rsp + 0x30]
lea rcx, [0x14022c120]
call fcn.14015c3a0
mov edi, eax
test eax, eax
je 0x140001af4
call fcn.14013e120
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140001aa1
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, edi
lea rdx, str._d__CLogFile::OpenFile:__s
lea rcx, [rsp + 0x20]
call fcn.140001df0
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x140001af4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14015b6f0
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret