joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007ae0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x180007b70
jmp 0x180007b5f
jae 0x180007c30
cmp r8, 0x201
jae 0x180007b70
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x180007bc8
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x180007b9f
lea rcx, [rbp + 0x3c8]
mov rdx, r13
call fcn.18001f7a0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3d8], r13
mov rbx, rdi
mov r12, qword [rbp + 0x3e8]
mov rsi, r13
mov r15, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x180007bf1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180007c98
mov r8d, r14d
cmp r15, r8
jne 0x180007b50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180007cbb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x180007b5f
jmp 0x180007b70
cmp rsi, r8
jb 0x180007cd5
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.180009620
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x180007c81
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.1800034d0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x180007c69
jmp 0x180007c81
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.180020280
jmp 0x180007cea
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1800206d0
ud2
Function at 0x180007d40
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.18000ffa0
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x180007eb6
mov qword [rbp + 0x408], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor esi, esi
cmp r8, 0x201
jae 0x180007df0
jmp 0x180007ddf
jae 0x180007ec8
cmp r8, 0x201
jae 0x180007df0
lea r13, [rbp - 0x60]
mov r15d, 0x200
mov r12, r8
jmp 0x180007e47
sub r8, rsi
sub rbx, rsi
cmp rbx, r8
jae 0x180007e1f
lea rcx, [rbp + 0x3e8]
mov rdx, rsi
call fcn.18001f7a0
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x418], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov esi, 0xffffffff
cmovb rsi, rdi
mov qword [rbp + 0x3f8], rsi
mov rbx, rdi
mov r13, qword [rbp + 0x418]
mov r15, rsi
mov r12, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x410]
mov rdx, r13
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x180007e77
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180007f9b
mov r8d, r14d
cmp r12, r8
jne 0x180007dd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180007fc5
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x180007ddf
jmp 0x180007df0
lea rcx, [rbp - 0x58]
call fcn.1800061a0
mov byte [rsi + 0x18], 2
jmp 0x180007f5a
cmp r15, r8
jb 0x180007fdf
lea rcx, [rbp + 0x3a0]
mov rdx, r13
call fcn.180009620
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x180007f19
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x418]
mov rdx, rdi
call fcn.1800034d0
cmp byte [rbp + 0x3d8], 2
jne 0x180007f71
mov rsi, qword [rbp + 0x408]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.1800061a0
mov rdx, qword [rbp + 0x400]
test rdx, rdx
je 0x180007f5a
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x410]
call fcn.1800034d0
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x408]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x400]
test rdx, rdx
jne 0x180007f45
jmp 0x180007f5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x180007f01
jmp 0x180007f19
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.180020280
jmp 0x180007ff4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.1800206d0
ud2
Function at 0x18000a020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x18000a050
test ecx, ecx
jne 0x18000a0a0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x18000a05c
test ecx, ecx
jne 0x18000a0a0
mov rcx, rdi
call fcn.180009f00
movzx eax, al
test bpl, bpl
jne 0x18000a0a7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x18000a093.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x18000a218]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x18000a093.2
xor eax, eax
test bpl, bpl
je 0x18000a06c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x18000a1f9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x18000a0da
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x18000a159
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x18000a120
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x18000a13b
inc rax
dec rdi
cmp rax, 1
jne 0x18000a100
jmp 0x18000a159
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x18000a13b
cmp ebx, 0x5c
je 0x18000a13b
inc rax
dec rdi
cmp rax, 1
jne 0x18000a120
jmp 0x18000a159
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x18000a207
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x18000a183
mov al, 9
cmp rdx, 2
je 0x18000a187
cmp rdx, 1
jne 0x18000a197
cmp byte [r8], 0x2e
jne 0x18000a197
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x18000a197
mov al, 0xa
jmp 0x18000a197
cmp byte [r8], 0x2e
jne 0x18000a197
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x18000a093.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x18000a093.2
mov ecx, 2
jmp case.0x18000a093.2
lea r8, str.library_std_srcpath.rs
call fcn.180020650
ud2
lea r8, str.library_std_srcpath.rs
call fcn.180020650
ud2
Function at 0x18000e110
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x180078968]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x18000e154
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x18000e1ba
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x18000e1f1
test eax, eax
js 0x18000e1cb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x18000e1e4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1800094f0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.180006400
mov ecx, 7
int 0x29
ud2

Function at 0x18001cc60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x18001ccda
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x18001ccd0
cmp r10, r11
jb 0x18001cd73
cmp r10, rdx
ja 0x18001cd87
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x18001ccd2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x18001ccb0
jmp 0x18001cd47
ja 0x18001ccda
mov r11, r10
cmp rax, r8
jne 0x18001cc82
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x18001cd4b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x18001cd20
mov r8, r10
sub ecx, r9d
jns 0x18001cd3e
jmp 0x18001cd4d
cmp r10, rdx
je 0x18001cd59
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x18001cd4d
xor al, 1
cmp r8, rdx
jne 0x18001cd00
jmp 0x18001cd4d
xor eax, eax
jmp 0x18001cd4d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.180020280
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.180020750
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1800206d0
ud2
Function at 0x14000cfac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140016c30], 0
mov rbp, rcx
movsxd rsi, r8d
je 0x14000cfd9
mov eax, 0x3eb
jmp 0x14000d0aa
cmp esi, 0x240
ja 0x14000cfeb
call fcn.14000aecc
mov rdi, rax
jmp 0x14000d01d
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
lea r8, [rsi + 0x78]
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000d01d
mov dword [rax], 1
mov dword [rax + 0x68], esi
test rdi, rdi
jne 0x14000d02a
lea eax, [rdi + 8]
jmp 0x14000d0aa
xor edx, edx
lea rbx, [rdi + 0x30]
mov rcx, rbx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
and dword [rdi + 0x50], 0
lea rax, [0x14000beb0]
mov qword [rdi + 0x18], rax
lea rdx, [rdi + 0x78]
mov rax, qword [rsp + 0x68]
lea r9, [0x140016a04]
mov qword [rdi + 0x20], rax
mov r8d, esi
mov rax, qword [rsp + 0x70]
mov rcx, rbp
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x10], rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14000d0a6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x3e5
je 0x14000d0a6
mov rcx, rdi
call fcn.14000af08
jmp 0x14000d0a8
xor ebx, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000d0c8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140016c30], 0
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
je 0x14000d0f5
mov eax, 0x3eb
jmp 0x14000d163
lea rbx, [rdx + 0x30]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
lea rax, [0x14000bf20]
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rax
lea rdx, [rdi + 0x78]
mov rax, qword [rsp + 0x68]
lea r9, [0x140016a04]
mov qword [rdi + 0x20], rax
mov r8d, ebp
mov rax, qword [rsp + 0x70]
mov rcx, rsi
mov qword [rdi + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14000d161
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3e5
jne 0x14000d163
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000dbdc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000dc28
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000dc20
cmp dword [rcx + 0x3c], edx
jl 0x14000dc20
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000dc20
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000dc28
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1800026e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
mov rdi, rdx
mov ecx, 0xb0
lea rdx, [0x180054756]
call fcn.180012748
mov rbx, rax
test rax, rax
je 0x180002910
lea rcx, [rax + 1]
xor edx, edx
mov r8d, 0xaf
call fcn.1800312a0
lea rcx, [rbx + 8]
mov byte [rbx], 1
mov edx, 2
call fcn.180013a5c
lea rcx, [rbx + 0x58]
call fcn.180013b94
xorps xmm0, xmm0
mov qword [0x1800aa050], rbx
movups xmmword [rbx + 0xa0], xmm0
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], 0x20
lea rbx, [0x180078418]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov r9d, 0xffffffff
xor edx, edx
mov ecx, 0xfde9
call qword [0x180054148]
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1800013b0
call qword [0x180054128]
lea rcx, [0x180088b70]
mov dword [0x1800aa058], eax
call fcn.180013a8c
test eax, eax
jne 0x180002939
test rdi, rdi
je 0x1800027ca
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1800a9f20], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [0x1800a9f30], xmm1
jmp 0x1800027ea
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x1800a9f20], xmm0
movups xmmword [0x1800a9f30], xmm0
movups xmmword [0x1800a9f40], xmm0
lea rcx, [0x180088b70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [0x1800aa160], xmm0
movups xmmword [0x1800aa170], xmm0
movups xmmword [0x1800aa180], xmm0
call fcn.180013ab0
cmp qword [0x1800ae198], 0
jne 0x180002919
mov r8d, 1
lea rax, [0x1800800f8]
mov edx, r8d
mov qword [0x1800ae3a0], rax
sub rdx, rbx
lea rcx, [0x1800ae3c0]
nop dword [rax]
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x18000287a
movzx eax, byte [rbx]
inc rbx
mov byte [rcx], al
inc rcx
cmp byte [rbx], 0
jne 0x180002860
mov rdi, qword [0x1800aa050]
lea rax, [0x1800ae3a0]
mov byte [rcx], 0
mov ecx, 8
mov qword [0x1800ae198], rax
lea rax, [0x180002e00]
mov qword [0x1800ae3b0], rax
lea rax, [0x180002e10]
mov qword [0x1800ae3b8], rax
xchg byte [rdi], r8b
call fcn.18001270c
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea r8, [0x180002fc0]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov r9, rax
mov qword [rax], rdi
xor edx, edx
call fcn.180038850
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18000292a
cmp dword [rdi + 0xa8], ebx
jne 0x180002941
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xa0], xmm1
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
xor ebx, ebx
mov qword [0x1800aa050], rbx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
mov ecx, 6
mov dword [rsp + 0x38], ebx
call fcn.180013de8
int3
mov ecx, eax
call fcn.180013dac
int3
call fcn.180038c58
int3
Function at 0x1800030e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x180003152
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x180003110
mov ecx, dword [r10]
jmp 0x180003253
cmp ecx, 0x270
jb 0x180003253
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x180003180
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x1800031d0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x18000e510
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18000eaa0
mov qword [rsp + 0x28], 0
cmp qword [0x180081c78], 0
jne 0x18000e558
cmp qword [0x180081c70], 0
je 0x18000e558
mov rax, qword [0x180081c70]
mov qword [0x180081c78], rax
cmp qword [0x180081c78], 0
je 0x18000e5fe
mov rax, qword [0x180081c78]
cmp qword [rax + 0x10], 0
je 0x18000e5fe
mov rax, qword [0x180081c78]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000e5fe
mov rax, qword [0x180081c78]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000e5fe
mov rax, qword [0x180081c78]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18000e5c4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18000e5cb
xor eax, eax
jmp 0x18000e779
mov rax, qword [0x180081c78]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.1800312a0
mov rax, qword [rsp + 0x28]
jmp 0x18000e779
mov rax, qword [0x180081c70]
mov qword [0x180081c78], rax
jmp 0x18000e620
mov rax, qword [0x180081c78]
mov rax, qword [rax + 8]
mov qword [0x180081c78], rax
cmp qword [0x180081c78], 0
je 0x18000e66d
cmp qword [0x180081c78], 0
je 0x18000e66b
mov rax, qword [0x180081c78]
cmp qword [rax + 0x10], 0
je 0x18000e66b
mov rax, qword [0x180081c78]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000e66b
mov rax, qword [0x180081c78]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000e66b
jmp 0x18000e59c
jmp 0x18000e60e
mov rcx, qword [rsp + 0x60]
call fcn.180010a00
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18000e780
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18000e777
mov rax, qword [rsp + 0x48]
mov qword [0x180081c78], rax
mov rax, qword [0x180081c78]
mov dword [rax], 0x52727464
mov rax, qword [0x180081c78]
mov qword [rax + 0x10], 0
mov rax, qword [0x180081c78]
mov rcx, qword [0x180081c70]
mov qword [rax + 8], rcx
mov rax, qword [0x180081c78]
mov qword [0x180081c70], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180081c78]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18000e728
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18000e762
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18000e71e
mov rax, qword [0x180081c78]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18000e59c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180010bf0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1800312a0
jmp 0x180010c38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [0x180054190]
test rax, rax
ja 0x180010c58
jmp 0x180010cf5
cmp dword [rsp + 0x68], 0x1000
jne 0x180010c7d
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x180010c7d
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x180010c7f
jmp 0x180010c23
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180010cb5
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x180010cb5
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x180010cba
jmp 0x180010c23
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x180010c23
mov rax, qword [rsp + 0x20]
jmp 0x180010cf7
xor eax, eax
add rsp, 0x88
ret