joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e212b
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_TlsAlloc]
call rax
mov dword [0x1400ecd20], eax
mov eax, dword [0x1400ecd20]
cmp eax, 0xffffffff
jne 0x1400e2152
call sym.abort
nop
add rsp, 0x20
pop rbp
ret

Function at 0x1400e2305
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [sym.pthread_tls_init]
mov rdx, rax
lea rax, [0x14011c210]
mov rcx, rax
call sym._pthread_once_raw
mov eax, dword [0x1400ecd20]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x1400e2358
mov rax, qword [rbp - 0x10]
jmp 0x1400e24b8
call sym.pop_pthread_mem
mov qword [rbp - 0x10], rax
mov rax, qword [sym.__dyn_tls_pthread]
test rax, rax
je 0x1400e2374
cmp qword [rbp - 0x10], 0
jne 0x1400e237e
mov eax, 0
jmp 0x1400e24b8
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call sym.replace_spin_keys
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x1400e2459
call sym.abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x1400ecd20]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x1400e24b4
call sym.abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1400e25b2
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call sym.__pthread_self_lite
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x1400e261f
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x1400ecd20]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x1400e2763
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400e26bc
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1400e2677
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400ecd20]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x1400e2763
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1400e26f6
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x1400e2763
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400ecd20]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x1400e33a5
Capabilities:
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
call sym._fpreset
lea rax, [0x1400ecd30]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
lea rax, [sym.pthread_tls_init]
mov rdx, rax
lea rax, [0x14011c210]
mov rcx, rax
call sym._pthread_once_raw
mov eax, dword [0x1400ecd20]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 8]
mov dword [rdx + 0x70], eax
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rdx, rbp
mov rax, qword [rbp - 8]
add rax, 0xd0
mov rcx, rax
call sym._setjmp
test eax, eax
jne 0x1400e34ba
mov qword [rbp - 0x10], pe_nt_image_headers64
lea rax, [0x1400ecd30]
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1400e3488
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov rcx, rax
call rdx
mov qword [rbp - 0x10], rax
nop
nop
lea rax, [0x1400ecd30]
mov rcx, rax
call sym.pthread_mutex_lock
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
jmp 0x1400e34c9
lea rax, [0x1400ecd30]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1400e3505
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 8]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400e3573
mov rax, qword [rbp - 8]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 8], 0
mov eax, dword [0x1400ecd20]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x1400e35bd
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 8]
mov dword [rax + 0xbc], 1
jmp 0x1400e35bd
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [0x1400ecd30]
mov rcx, rax
call sym.pthread_mutex_unlock
test eax, eax
je 0x1400e35af
mov eax, dword [rbp - 0x14]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
push rsi
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
add r8, rdx
push rax
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
add rax, rdx
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x180001020
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x130
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, rcx
test rcx, rcx
jne 0x18000104a
xor eax, eax
jmp 0x180001101
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0xff
call fcn.1800046e0
xor r8d, r8d
mov r9d, r8d
cmp byte [rbx], r8b
je 0x18000108a
movzx eax, byte [rbx]
lea rdx, [rsp + 0x20]
sub rdx, rbx
mov rcx, rbx
cmp al, 0x2e
je 0x18000108a
mov byte [rdx + rcx], al
inc r9d
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x180001075
movsxd rax, r9d
lea rdx, [rax + rbx]
test rdx, rdx
je 0x180001043
mov byte [rsp + rax + 0x20], 0x2e
inc r9d
movsxd rax, r9d
inc rdx
inc r9d
mov byte [rsp + rax + 0x20], 0x64
movsxd rax, r9d
mov byte [rsp + rax + 0x20], 0x6c
lea eax, [r9 + 1]
movsxd rcx, eax
movzx eax, byte [rdx]
mov byte [rsp + rcx + 0x20], 0x6c
cmp al, 0x23
jne 0x1800010d5
lea rcx, [rdx + 1]
call fcn.18000533c
mov r8d, eax
jmp 0x1800010f5
test al, al
je 0x1800010f5
nop dword [rax]
rol r8d, 7
lea rdx, [rdx + 1]
movsx eax, al
xor r8d, eax
movzx eax, byte [rdx]
test al, al
jne 0x1800010e0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1800012c0
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1800033e0
add rsp, 0x130
pop rbx
ret
Function at 0x180001120
Capabilities:
Encrypt data using rc4 prga
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, 0x20
movsxd rax, dword [rcx + 0x3c]
mov edi, edx
mov r11, rcx
mov ebx, dword [rax + rcx + 0x88]
mov ebp, dword [rax + rcx + 0x8c]
add rbx, rcx
mov eax, edx
shr eax, 0x10
test ax, ax
jne 0x180001160
movzx eax, di
sub eax, dword [rbx + 0x10]
jmp 0x1800011d2
mov r8d, dword [rbx + 0x20]
xor r9d, r9d
mov r10d, dword [rbx + 0x24]
add r8, r11
mov esi, dword [rbx + 0x18]
add r10, r11
test esi, esi
je 0x1800011b7
mov edx, dword [r8]
add rdx, r11
jne 0x180001185
or eax, 0xffffffff
jmp 0x1800011a3
movzx ecx, byte [rdx]
xor eax, eax
test cl, cl
je 0x1800011a3
nop
rol eax, 7
lea rdx, [rdx + 1]
movsx ecx, cl
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x180001190
cmp eax, edi
je 0x1800011ce
add r8, 4
add r10, 2
inc r9d
cmp r9d, esi
jb 0x180001178
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx eax, word [r10]
test eax, eax
js 0x1800011b7
mov ecx, dword [rbx + 0x1c]
add rcx, r11
movsxd rdx, eax
mov r8d, dword [rcx + rdx*4]
add r8, r11
cmp r8, rbx
jbe 0x180001201
mov rdx, r8
sub rdx, rbx
cmp rdx, rbp
jae 0x180001201
mov rcx, r8
call fcn.180001020
mov r8, rax
mov rax, r8
jmp 0x1800011b9
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov edi, r8d
mov rbx, rcx
cmp edx, 1
jne 0x1800012e6
mov r9, qword [0x180018af0]
test r9, r9
jne 0x18000133e
jmp 0x1800012f5
test rcx, rcx
jne 0x1800012fa
mov ecx, edx
call fcn.180001210
mov rbx, rax
test rbx, rbx
je 0x18000133e
cmp byte [rbx], 0
je 0x18000133e
mov edx, 1
xor ecx, ecx
mov r8d, 0xa48d6762
lea r9d, [rdx + 0x2a]
call fcn.180001370
mov rcx, rbx
call rax
mov r9, rax
test rax, rax
jne 0x18000133e
lea edx, [rax + 1]
xor ecx, ecx
lea r9d, [rax + 2]
mov r8d, 0xc8ac8026
call fcn.180001370
mov rcx, rbx
call rax
mov r9, rax
test edi, edi
jne 0x180001350
mov rax, r9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, edi
mov rcx, r9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180001120
Function at 0x1800012c0
Capabilities:
Encrypt data using rc4 prga
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, 0x20
movsxd rax, dword [rcx + 0x3c]
mov edi, edx
mov r11, rcx
mov ebx, dword [rax + rcx + 0x88]
mov ebp, dword [rax + rcx + 0x8c]
add rbx, rcx
mov eax, edx
shr eax, 0x10
test ax, ax
jne 0x180001160
movzx eax, di
sub eax, dword [rbx + 0x10]
jmp 0x1800011d2
mov r8d, dword [rbx + 0x20]
xor r9d, r9d
mov r10d, dword [rbx + 0x24]
add r8, r11
mov esi, dword [rbx + 0x18]
add r10, r11
test esi, esi
je 0x1800011b7
mov edx, dword [r8]
add rdx, r11
jne 0x180001185
or eax, 0xffffffff
jmp 0x1800011a3
movzx ecx, byte [rdx]
xor eax, eax
test cl, cl
je 0x1800011a3
nop
rol eax, 7
lea rdx, [rdx + 1]
movsx ecx, cl
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x180001190
cmp eax, edi
je 0x1800011ce
add r8, 4
add r10, 2
inc r9d
cmp r9d, esi
jb 0x180001178
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx eax, word [r10]
test eax, eax
js 0x1800011b7
mov ecx, dword [rbx + 0x1c]
add rcx, r11
movsxd rdx, eax
mov r8d, dword [rcx + rdx*4]
add r8, r11
cmp r8, rbx
jbe 0x180001201
mov rdx, r8
sub rdx, rbx
cmp rdx, rbp
jae 0x180001201
mov rcx, r8
call fcn.180001020
mov r8, rax
mov rax, r8
jmp 0x1800011b9
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov edi, r8d
mov rbx, rcx
cmp edx, 1
jne 0x1800012e6
mov r9, qword [0x180018af0]
test r9, r9
jne 0x18000133e
jmp 0x1800012f5
test rcx, rcx
jne 0x1800012fa
mov ecx, edx
call fcn.180001210
mov rbx, rax
test rbx, rbx
je 0x18000133e
cmp byte [rbx], 0
je 0x18000133e
mov edx, 1
xor ecx, ecx
mov r8d, 0xa48d6762
lea r9d, [rdx + 0x2a]
call fcn.180001370
mov rcx, rbx
call rax
mov r9, rax
test rax, rax
jne 0x18000133e
lea edx, [rax + 1]
xor ecx, ecx
lea r9d, [rax + 2]
mov r8d, 0xc8ac8026
call fcn.180001370
mov rcx, rbx
call rax
mov r9, rax
test edi, edi
jne 0x180001350
mov rax, r9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, edi
mov rcx, r9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180001120
Function at 0x1800018e0
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 8
mov rax, qword [0x180018af0]
test rax, rax
jne 0x180001976
mov rax, qword gs:[0x60]
mov qword [rsp], rbx
mov rbx, qword [rax + 0x18]
add rbx, 0x10
mov r11, qword [rbx]
cmp r11, rbx
je 0x18000196b
mov r10, qword [r11 + 0x60]
movzx r8d, word [r11 + 0x58]
test r10, r10
je 0x180001963
movzx eax, byte [r10]
xor edx, edx
xor r9d, r9d
test al, al
je 0x180001963
nop dword [rax]
test r8d, r8d
je 0x18000193a
cmp r9d, r8d
jae 0x18000195b
lea ecx, [rax - 0x41]
cmp cl, 0x19
ja 0x180001944
add al, 0x20
add r10, 2
rol edx, 7
movsx ecx, al
inc r9d
xor edx, ecx
movzx eax, byte [r10]
test al, al
jne 0x180001930
cmp edx, 0x4b1ffe8e
je 0x18000197b
mov r11, qword [r11]
cmp r11, rbx
jne 0x180001911
mov rax, qword [0x180018af0]
mov rbx, qword [rsp]
add rsp, 8
ret
mov rax, qword [r11 + 0x30]
mov rbx, qword [rsp]
mov qword [0x180018af0], rax
add rsp, 8
ret
Function at 0x180001e60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp dword [rcx + 0x150], 0
mov r8, rcx
jne 0x180001ef5
mov byte [rsp], 0
mov dword [rsp + 4], 0x6a75f87e
mov dword [rsp + 8], 0x6c62ff63
mov dword [rsp + 0xc], 0x9149617
mov eax, dword [rsp + 4]
movzx eax, byte [rsp]
test al, al
jne 0x180001eb6
xor ecx, ecx
nop
mov eax, dword [rsp + rcx*4 + 4]
xor eax, 0x9149617
mov dword [rsp + rcx*4 + 4], eax
inc rcx
cmp rcx, 3
jb 0x180001ea0
lea rcx, [r8 + 0x12d]
mov edx, 9
test rcx, rcx
je 0x180001f70
lea r8, [rsp + 4]
sub r8, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub edx, 1
jne 0x180001ee0
add rsp, 0x28
ret
mov byte [rsp + 0x10], 0
mov dword [rsp + 0x14], 0x45e8ae68
mov dword [rsp + 0x18], 0x43ffa975
mov dword [rsp + 0x1c], 0x2689c033
mov eax, dword [rsp + 0x14]
movzx eax, byte [rsp + 0x10]
test al, al
jne 0x180001f46
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + rcx*4 + 0x14]
xor eax, 0x2689c001
mov dword [rsp + rcx*4 + 0x14], eax
inc rcx
cmp rcx, 3
jb 0x180001f30
lea rcx, [r8 + 0x12d]
mov edx, 0xa
test rcx, rcx
je 0x180001f70
lea r8, [rsp + 0x14]
sub r8, rcx
nop
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub edx, 1
jne 0x180001f60
add rsp, 0x28
ret
Function at 0x180002d80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov edx, 1
xor ecx, ecx
mov r8d, 0x270118e2
call fcn.1800012c0
lea rcx, [rsp + 0x50]
call rax
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x53c605
mov dword [rsp + 0x38], 0x7ac665
mov dword [rsp + 0x3c], 0x33c62c
mov dword [rsp + 0x40], 0x67c631
mov dword [rsp + 0x44], 0x67c631
mov dword [rsp + 0x48], 0x1ec648
mov eax, dword [rsp + 0x34]
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x180002e17
xor eax, eax
nop word [rax + rax]
mov ecx, dword [rsp + rax*4 + 0x34]
xor ecx, 0x1ec648
mov dword [rsp + rax*4 + 0x34], ecx
inc rax
cmp rax, 6
jb 0x180002e00
mov edx, 1
mov r8d, 0xe72df01a
xor ecx, ecx
call fcn.1800012c0
lea r9, [rsp + 0x34]
mov dword [rsp + 0x28], 0xc
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0x800
call rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800033e0
add rsp, 0x70
pop rbx
ret

Function at 0x180002e60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x158
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
add rcx, 0x28
mov edx, 0x5c
call fcn.1800042d0
mov edx, 0x104
lea rcx, [rsp + 0x30]
lea r8, [rax + 1]
lea r9d, [rdx + 1]
call fcn.1800054cc
mov edx, 1
xor ecx, ecx
mov r8d, 0x2d40b8e6
call fcn.1800012c0
lea rcx, [rsp + 0x30]
call rax
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov dword [rsp + 0x24], 0x80ed0aa
mov rdx, rax
mov dword [rsp + 0x28], 0x3c2e8e95
mov dword [rsp + 0x2c], 0x646ba0bc
mov ecx, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x20]
test cl, cl
jne 0x180002f06
mov ecx, r9d
nop word [rax + rax]
mov eax, dword [rsp + rcx*4 + 0x24]
xor eax, 0x646ba0f9
mov dword [rsp + rcx*4 + 0x24], eax
inc rcx
cmp rcx, 3
jb 0x180002ef0
movsxd r8, edx
mov r10d, r9d
mov rax, r9
test edx, edx
je 0x180002f46
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x30]
movzx edx, byte [rsp + rax + 0x24]
cmp cl, dl
jb 0x180002f42
ja 0x180002f3a
inc rax
cmp rax, r8
jb 0x180002f20
jmp 0x180002f46
mov r10d, 1
jmp 0x180002f46
or r10d, 0xffffffff
test r10d, r10d
sete r9b
mov eax, r9d
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800033e0
add rsp, 0x158
ret
Function at 0x180014e54
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movsxd rbx, dword [rcx + 0x3c]
mov rbp, rcx
mov r14, r9
mov ecx, dword [rbx + rcx + 0x50]
mov r15, r8
mov rdi, rdx
mov qword [rdx], rcx
add rcx, 0x100
call fcn.18000c830
mov r8d, dword [rdi]
mov rdx, rbp
mov rcx, rax
mov rsi, rax
call fcn.18000ce24
mov ecx, dword [rbx + rbp + 0xb0]
mov r9d, dword [rbx + rbp + 0xb4]
mov r8, r15
add rcx, rbp
mov rdx, rsi
sub r8, rbp
call fcn.180013834
lea rcx, [rsp + 0x50]
mov edx, 4
call fcn.18000eb10
xor r8d, r8d
test qword [rdi], 0xfffffffffffffffc
jbe 0x180014efa
mov rdx, rsi
mov eax, dword [rsp + 0x50]
inc r8d
xor dword [rdx], eax
mov rcx, qword [rdi]
movsxd rax, r8d
shr rcx, 2
lea rdx, [rdx + 4]
cmp rax, rcx
jb 0x180014ede
mov rax, r15
mov rdx, r15
sub rax, rbp
add qword [r14], rax
mov rcx, qword [rdi]
mov eax, dword [rsp + 0x50]
mov r9, qword [r14]
mov r8d, dword [rdi]
add rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180014cd8
mov rdx, qword [rdi]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rdx, r15
cdqe
mov qword [r14], rdx
add qword [rdi], rax
mov rax, rsi
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x180015308
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rdx, [0x18001f460]
mov r8d, 0xc8
mov rdi, rcx
call fcn.18000c9c8
xor r9d, r9d
mov r8d, r9d
mov ecx, r9d
mov rdx, qword [rdi]
mov al, byte [rdx + r8]
inc r8
xor byte [rdx + rcx + 2], al
cmp r8, 2
cmove r8, r9
inc rcx
cmp rcx, 0xc6
jl 0x180015330
mov edx, dword [rdi + 8]
mov rax, qword [rdi]
mov rcx, rdi
movzx ebx, byte [rax + 2]
lea r8d, [rdx - 3]
sub edx, r8d
call fcn.18000cdc8
mov edx, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18000cda8