joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058b80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x14009b0f8]
test ecx, ecx
je 0x140058baf
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058bc8
cmp byte [rax + 8], 0
je 0x140058bc8
add rax, 9
jmp 0x140058c70
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058ba0
mov ecx, dword [0x14009b0f8]
test ecx, ecx
je 0x140058c51
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140058c6e
mov rdi, rax
test rax, rax
jne 0x140058c2e
mov rax, qword [0x140192328]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140058c87
mov rdi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x14009b0f8]
test ecx, ecx
je 0x140058c77
dec ecx
mov rdx, rdi
call fcn.1400983f4
xor ecx, ecx
test rsi, rsi
je 0x140058c44
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x140058c70
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058be3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
jmp 0x140058c26
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3
Function at 0x140058ca0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14009b118]
test ecx, ecx
je 0x140058d9c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058cd2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x140058d96
mov ecx, dword [0x14009b118]
test ecx, ecx
je 0x140058dc5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140058de2
mov rdi, rax
test rax, rax
jne 0x140058d48
mov rax, qword [0x140192328]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140058e01
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14009b118]
test ecx, ecx
je 0x140058dee
dec ecx
mov rdx, rdi
call fcn.1400983f4
test rsi, rsi
je 0x140058dbe
mov rax, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x140058dbe
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x140058d96
test rcx, rcx
je 0x140058d96
lock dec qword [rcx]
jne 0x140058d96
lea rcx, [rsp + 0x30]
call dbg.drop_slow<std::sync::mpmc::context::Inner, alloc::alloc::Global>
add rdi, 0x10
jmp 0x140058de4
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058cc4
jmp 0x140058cd2
call sym.std::sync::mpmc::context::Context::new::ha223b89a47f34037
jmp 0x140058d5e
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058cf1
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
jmp 0x140058d40
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
int3
Function at 0x140058e20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14009b138]
test ecx, ecx
je 0x140058f22
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058e52
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x140058f1c
mov ecx, dword [0x14009b138]
test ecx, ecx
je 0x140058f44
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140058f61
mov rdi, rax
test rax, rax
jne 0x140058ec8
mov rax, qword [0x140192328]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140058f80
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14009b138]
test ecx, ecx
je 0x140058f6d
dec ecx
mov rdx, rdi
call fcn.1400983f4
test rsi, rsi
je 0x140058ee2
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x140058ee4
mov rax, qword [rsi + 8]
jmp 0x140058ee4
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x140058f1c
test rcx, rcx
je 0x140058f1c
lock dec qword [rcx]
jne 0x140058f1c
lea rcx, [rsp + 0x30]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
add rdi, 0x10
jmp 0x140058f63
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058e44
jmp 0x140058e52
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058e71
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
jmp 0x140058ec0
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
int3
Function at 0x140058f90
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14009b158]
test ecx, ecx
je 0x140058fc3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140058fdc
mov rcx, rax
cmp qword [rax + 8], 0
je 0x140058fdc
add rcx, 0x10
jmp 0x1400590d9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140058fb0
mov ecx, dword [0x14009b158]
test ecx, ecx
je 0x1400590ba
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400590d7
mov rdi, rax
test rax, rax
jne 0x140059052
mov rax, qword [0x140192328]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400590f6
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell__usize__bool___
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14009b158]
test ecx, ecx
je 0x1400590e3
dec ecx
mov rdx, rdi
call fcn.1400983f4
test rsi, rsi
je 0x14005906f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x1400590a4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14005909f
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400590a4
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x1400590d9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140058ffb
xor ecx, ecx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
jmp 0x14005904a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x14008d6b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14008d72a
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 0x14008d720
cmp r11, r10
ja 0x14008d7c1
cmp r10, rdx
ja 0x14008d7d3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14008d722
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14008d700
jmp 0x14008d797
ja 0x14008d72a
mov r11, r10
cmp rax, r8
jne 0x14008d6d2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14008d79b
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 0x14008d770
mov r8, r10
sub ecx, r9d
jns 0x14008d78e
jmp 0x14008d79d
cmp r10, rdx
je 0x14008d7a9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14008d79d
xor al, 1
cmp r8, rdx
jne 0x14008d750
jmp 0x14008d79d
xor eax, eax
jmp 0x14008d79d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140185551]
lea r8, [0x1401873a0]
mov edx, 0x2b
call dbg.panic
lea r8, [0x1401873b8]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, [0x1401873b8]
mov rcx, r10
call dbg.slice_end_index_len_fail
int3
Function at 0x1400991e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140099250
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401a0224]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x1400993e0
mov rax, qword [0x1401a0228]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14009929c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140099325
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140099280
mov rcx, rdi
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x140099432
mov rax, qword [0x1401a0228]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1401a0228]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140099415
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14009931e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140099390
add dword [0x1401a0224], 1
cmp ebx, 8
jae 0x140099351
test bl, 4
jne 0x1400993f0
test ebx, ebx
je 0x140099346
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140099404
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140099346
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14009936a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1401a0228]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14009931e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
xor esi, esi
jmp 0x1400992a7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140099346
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140099346
mov rax, qword [0x1401a0228]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call sym.__report_error
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140099a00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401a0280]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401a0260]
test rbx, rbx
je 0x140099a54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140099a4b
test rsi, rsi
je 0x140099a4b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140099a30
lea rcx, [0x1401a0280]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140099ca0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x140099cb0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x140099cc0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140099d01
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x140099cf8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140099d03
add rax, 0x28
cmp rax, r9
jne 0x140099ce4
xor eax, eax
ret

Function at 0x140099db0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140192260]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140099e1f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140099e1f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x140099e1d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140099e14
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140099e1f
add rdx, 0x28
cmp rdx, r9
jne 0x140099e00
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x140099f20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x140192260]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x140099f8f
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140099f8f
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x140099f8d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140099f84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140099f94
add rax, 0x28
cmp rax, r9
jne 0x140099f70
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x140099fb0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x140192260]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x14009a023
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14009a023
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x14009a023
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x14009a023
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov rcx, r9
jb 0x14009a017
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x14009a030
add rdx, 0x28
cmp rdx, r10
jne 0x14009a003
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jne 0x14009a048
jmp 0x14009a020
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14009a056
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14009a020
test r8d, r8d
jg 0x14009a040
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x180010e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x40], xmm1
xor r8d, r8d
lea rdx, [0x18011dcd0]
lea rcx, [rsp + 0x30]
call fcn.180006af0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x18011dcd4]
lea rcx, [rsp + 0x50]
call fcn.180006af0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011dcd8]
lea rcx, [rsp + 0x70]
call fcn.180006af0
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800117c0
nop
lea r9, [fcn.180005250]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rsp + 0x30]
call fcn.1800b9fa0
xor esi, esi
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rsi
mov dword [rdi + 0x28], 9
mov byte [rdi + 0x2c], sil
mov dword [rdi + 0x30], esi
mov word [rdi + 0x34], si
mov dword [rdi + 0x38], esi
mov qword [rdi + 0x3c], 1
lea rbx, [rdi + 0x48]
mov qword [rsp + 0xa8], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
lea r8d, [rsi + 0xe]
lea rdx, str.kernelbase.dll
mov rcx, rbx
call fcn.180006af0
nop
xorps xmm0, xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], 5
mov qword [rbx + 0x38], send
mov eax, dword [0x1801578c0]
mov dword [rbx + 0x20], eax
movzx eax, byte [0x1801578c4]
mov byte [rbx + 0x24], al
mov byte [rbx + 0x25], sil
mov byte [rdi + 0x88], sil
mov qword [rdi + 0x8c], rsi
mov qword [rdi + 0x98], rsi
mov qword [rdi + 0xa0], rsi
mov qword [rdi + 0xa8], rsi
mov qword [rdi + 0xb0], rsi
mov qword [rdi + 0xb8], rsi
mov qword [0x180361bd8], rdi
mov rax, rdi
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180013340
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x180361bd8]
xor ebx, ebx
mov r14, r8
mov r15, rdx
mov rdi, rcx
cmp dword [rax + 0x30], ebx
je 0x18001347e
mov qword [r11 + 8], rsi
mov qword [rbp + 0x7f], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x1800133de
mov rsi, rdi
and rsi, 0xffffffffa0000000
je 0x1800133de
test dil, 3
jne 0x1800133de
lea rax, [rbp + 0x7f]
mov qword [rbp - 9], rbx
lea rdx, [rbp - 9]
mov qword [rbp + 0x17], rax
lea ecx, [rbx + 0x17]
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x33], rbx
mov dword [rbp + 0x3b], ebx
mov qword [rbp + 0x3f], 0x25
mov qword [rbp - 1], rdi
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r14
mov dword [rbp + 0x2f], ebx
call fcn.180026270
mov r14d, ebx
jmp 0x1800133f4
mov rsi, rdi
mov r14, rdi
and rsi, 0xffffffffa0000000
mov eax, 0x122
and r14d, 3
mov dword [0x180361ee8], eax
mov rax, qword [0x180361bd8]
cmp byte [rax + 0x35], bl
je 0x18001345d
mov r15, qword [rbp + 0x7f]
test r15, r15
je 0x18001345d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x18001345d
test rsi, rsi
je 0x18001345d
test r14, r14
jne 0x18001345d
xorps xmm0, xmm0
mov qword [rbp - 9], rbx
lea rdx, [rbp - 9]
movdqa xmmword [rbp + 0x17], xmm0
lea ecx, [r14 + 0x18]
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], rbx
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], 0x25
mov qword [rbp - 1], rdi
mov qword [rbp + 7], r15
call fcn.180026270
mov rsi, qword [rsp + 0xb0]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rsp + 0x30], rbx
mov r9, r15
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
jmp 0x180013465
Function at 0x18001ffe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbp, rcx
call fcn.1800202a0
nop
mov eax, dword [rsi + 0x18]
mov dword [rbp + 0x18], eax
mov eax, dword [rsi + 0x1c]
mov dword [rbp + 0x1c], eax
mov eax, dword [rsi + 0x20]
mov dword [rbp + 0x20], eax
mov eax, dword [rsi + 0x24]
mov dword [rbp + 0x24], eax
mov eax, dword [rsi + 0x28]
mov dword [rbp + 0x28], eax
movzx eax, byte [rsi + 0x2c]
mov byte [rbp + 0x2c], al
mov eax, dword [rsi + 0x30]
mov dword [rbp + 0x30], eax
movzx eax, byte [rsi + 0x34]
mov byte [rbp + 0x34], al
movzx eax, byte [rsi + 0x35]
mov byte [rbp + 0x35], al
mov eax, dword [rsi + 0x38]
mov dword [rbp + 0x38], eax
mov eax, dword [rsi + 0x3c]
mov dword [rbp + 0x3c], eax
mov eax, dword [rsi + 0x40]
mov dword [rbp + 0x40], eax
lea rdi, [rbp + 0x48]
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0x48]
mov rcx, rdi
call fcn.1800053e0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rsi + 0x68]
call fcn.180005730
nop
movzx eax, byte [rsi + 0x88]
mov byte [rbp + 0x88], al
mov eax, dword [rsi + 0x8c]
mov dword [rbp + 0x8c], eax
mov eax, dword [rsi + 0x90]
mov dword [rbp + 0x90], eax
mov rax, qword [rsi + 0x98]
mov qword [rbp + 0x98], rax
mov rax, qword [rsi + 0xa0]
mov qword [rbp + 0xa0], rax
mov rax, qword [rsi + 0xa8]
mov qword [rbp + 0xa8], rax
mov rax, qword [rsi + 0xb0]
mov qword [rbp + 0xb0], rax
mov rax, qword [rsi + 0xb8]
mov qword [rbp + 0xb8], rax
mov rax, rbp
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret