joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096d90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140097e70
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140097e70
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140096e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401ed774]
mov rbx, rcx
test esi, esi
jle 0x140096f30
mov rax, qword [0x1401ed778]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140096e4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140096ed5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140096e30
mov rcx, rbx
call fcn.140097870
mov rdi, rax
test rax, rax
je 0x140096f52
mov rax, qword [0x1401ed778]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400979b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401ed778]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140096f37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140096ece
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140096ee0
add dword [0x1401ed774], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401ed778]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140096ece
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140096d90
nop dword [rax]
xor esi, esi
jmp 0x140096e58
mov rax, qword [0x1401ed778]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140096d90
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140096d90
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400974e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401ed7e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401ed7c0]
test rbx, rbx
je 0x14009753c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140097533
test eax, eax
jne 0x140097533
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140097518
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140097870
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14015ca30]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140097890
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140097898
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140097890
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400978ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400978e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140097890
add rax, 0x28
cmp rax, r9
jne 0x1400978d0
xor eax, eax
ret

Function at 0x1400978f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14015ca30]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14009790f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140097918
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14009790f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400979b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14015ca30]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400979cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400979d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14001c680
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x140061068]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x14001c6cd
lea eax, [r15 + 0x57]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x68], rdi
mov rcx, 0xffffffffffffffff
test rdi, rdi
je 0x14001c7ca
mov rbx, rcx
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14001c6f0
test ebx, ebx
je 0x14001c7ca
mov r9, qword [rsi]
mov r14d, dword [r9 - 0x10]
mov rbp, rdi
sub rbp, r9
sar rbp, 1
test ebx, ebx
js 0x14001c84c
mov ecx, 1
sub ecx, dword [r9 - 8]
mov eax, dword [r9 - 0xc]
sub eax, ebx
or eax, ecx
jge 0x14001c73a
mov edx, ebx
mov rcx, rsi
call fcn.140014650
mov r9, qword [rsi]
movsxd r8, ebx
add r8, r8
cmp rbp, r14
ja 0x14001c776
lea rdx, [r9 + rbp*2]
test r8, r8
je 0x14001c7ae
test rdx, rdx
jne 0x14001c760
call fcn.1400309c0
mov dword [rax], 0x16
jmp 0x14001c7a9
movsxd rax, dword [r9 - 0xc]
add rax, rax
cmp rax, r8
jb 0x14001c79e
mov rcx, r9
call fcn.140022140
jmp 0x14001c7ae
movsxd rax, dword [r9 - 0xc]
add rax, rax
test r8, r8
je 0x14001c7ae
mov rcx, r9
cmp rax, r8
jb 0x14001c794
mov rdx, rdi
call fcn.140022140
jmp 0x14001c7ae
mov r8, rax
xor edx, edx
call fcn.140021f80
call fcn.1400309c0
mov dword [rax], 0x22
call fcn.14002fe2c
mov rax, qword [rsi]
cmp ebx, dword [rax - 0xc]
jg 0x14001c84c
mov dword [rax - 0x10], ebx
movsxd rcx, ebx
mov rax, qword [rsi]
mov word [rax + rcx*2], r15w
jmp 0x14001c820
mov r8, qword [rsi]
lea rdx, [r8 - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14001c820
mov eax, dword [rdx + 0x10]
shr eax, 0x1f
test al, al
je 0x14001c7f8
cmp dword [r8 - 0xc], 0
jl 0x14001c841
mov dword [r8 - 0x10], r15d
mov rax, qword [rsi]
mov word [rax], r15w
jmp 0x14001c820
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001c80b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14001c82e
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.14000b644
nop
mov ecx, 0x80070057
call fcn.14000b644
int3
Function at 0x1400113c5
Capabilities:
Terminate process

Disassembly:
jmp 0x140019b60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400114b5
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001aeb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001aed0
xor al, al
jmp 0x14001af51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001aee3
xor al, al
jmp 0x14001af51
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001af0d
xor al, al
jmp 0x14001af51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001af21
xor al, al
jmp 0x14001af51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001af33
xor al, al
jmp 0x14001af51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001af4f
xor al, al
jmp 0x14001af51
mov al, 1
add rsp, 0x38
ret
Function at 0x140005830
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x140005853
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x10
jb 0x140005840
mov byte [rcx + 0x11], 0
mov rax, rcx
ret

Function at 0x140005860
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x41], 0
je 0x140005883
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x40
jb 0x140005870
mov byte [rcx + 0x41], 0
mov rax, rcx
ret

Function at 0x140005890
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x18
mov r10, rcx
imul r9d, r9d, 0x64
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
add r9d, r8d
mov dword [rsp], r9d
movzx r8d, r9b
xor r8, rax
movzx eax, byte [rsp + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 3]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r10 + 0x100]
and rcx, r8
mov r8, qword [r10 + 0xd8]
shl rcx, 4
add rcx, qword [r10 + 0xe8]
xor r10d, r10d
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x140005927
mov rcx, qword [rcx]
cmp r9d, dword [rax + 0x10]
je 0x14000592a
cmp rax, rcx
je 0x140005927
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x140005916
jmp 0x14000592a
mov rax, r10
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x140005990
movzx ecx, word [rax + 0x18]
mov word [rdx], cx
movzx ecx, word [rax + 0x1a]
mov word [rdx + 2], cx
movzx ecx, word [rax + 0x1c]
mov word [rdx + 4], cx
movzx ecx, byte [rax + 0x1e]
mov byte [rdx + 6], cl
movzx ecx, byte [rax + 0x1f]
mov byte [rdx + 7], cl
mov qword [rdx + 8], r10
mov qword [rdx + 0x10], r10
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140005970
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x20]
mov qword [rdx + 8], rcx
mov rcx, qword [rax + 0x28]
mov qword [rdx + 0x10], rcx
mov rcx, qword [rax + 0x30]
mov rax, rdx
mov qword [rdx + 0x18], rcx
add rsp, 0x18
ret
mov qword [rdx], r10
mov rax, rdx
mov qword [rdx + 0x18], r10
mov dword [rdx + 0x1c], r10d
mov qword [rdx + 8], r10
mov qword [rdx + 0x10], r10
add rsp, 0x18
ret

Function at 0x140005b50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140005b73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 4
jb 0x140005b60
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x140005bc0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 3], 0
je 0x140005be3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 2
jb 0x140005bd0
mov byte [rcx + 3], 0
mov rax, rcx
ret

Function at 0x140005bf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x140005c13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 3
jb 0x140005c00
mov byte [rcx + 4], 0
mov rax, rcx
ret

Function at 0x140005c20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x140005c43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 6
jb 0x140005c30
mov byte [rcx + 7], 0
mov rax, rcx
ret
Function at 0x140006d20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x140006d43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 8
jb 0x140006d30
mov byte [rcx + 9], 0
mov rax, rcx
ret

Function at 0x140006d50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x140006d73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 5
jb 0x140006d60
mov byte [rcx + 6], 0
mov rax, rcx
ret

Function at 0x140006d80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x140006da3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0xe
jb 0x140006d90
mov byte [rcx + 0xf], 0
mov rax, rcx
ret

Function at 0x140006db0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x140006dd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x15
jb 0x140006dc0
mov byte [rcx + 0x16], 0
mov rax, rcx
ret

Function at 0x140006de0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2e], 0
je 0x140006e03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x2d
jb 0x140006df0
mov byte [rcx + 0x2e], 0
mov rax, rcx
ret

Function at 0x140006e10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
je 0x140006e33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0xb
jb 0x140006e20
mov byte [rcx + 0xc], 0
mov rax, rcx
ret

Function at 0x140006e40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2b], 0
je 0x140006e63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x2a
jb 0x140006e50
mov byte [rcx + 0x2b], 0
mov rax, rcx
ret

Function at 0x140006e70
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 1
call fcn.14010ee60
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14002e710]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140006f01
cmp dword [rsp + 0x38], 0
je 0x140006ef5
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140006ef5
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14010ee40
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400072e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x140007303
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x14
jb 0x1400072f0
mov byte [rcx + 0x15], 0
mov rax, rcx
ret
Function at 0x140007310
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x33], 0
je 0x140007333
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x32
jb 0x140007320
mov byte [rcx + 0x33], 0
mov rax, rcx
ret

Function at 0x140007340
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
mov r8, qword [0x140167a98]
movss xmm1, dword [0x140131a5c]
movss xmm0, dword [r8 + 0x1c0]
mulss xmm0, xmm1
cvttss2si eax, xmm0
cmp ecx, eax
jne 0x14000738a
movss xmm0, dword [r8 + 0x1c4]
mulss xmm0, xmm1
cvttss2si eax, xmm0
cmp edx, eax
jne 0x14000738a
mov al, 1
add rsp, 0x88
ret
movdqa xmm0, xmmword [0x140134960]
xor edx, edx
movdqa xmm1, xmmword [0x140134f60]
mov ecx, edx
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x70], 0x100
movdqa xmm0, xmmword [0x140132900]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x30
jb 0x1400073c0
xorps xmm0, xmm0
mov byte [rsp + 0x71], dl
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rdx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dl
jne 0x1400073f2
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14002c630
lea rcx, [rsp + 0x20]
call fcn.1400d15c0
xor al, al
mov byte [0x140166a0b], 0
mov byte [0x1401669fa], 0
mov byte [0x140166a0d], 0
mov byte [0x140166a04], 0
add rsp, 0x88
ret

Function at 0x140007440
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x31], 0
je 0x140007463
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x30
jb 0x140007450
mov byte [rcx + 0x31], 0
mov rax, rcx
ret
Function at 0x140007470
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x160], rax
movaps xmm6, xmm1
movaps xmm7, xmm0
mov rax, qword [0x140167a98]
movss xmm2, dword [rax + 0x1c0]
mulss xmm2, dword [0x140131a5c]
cvttss2si r8d, xmm2
movss xmm2, dword [rax + 0x1c4]
mulss xmm2, dword [0x140131a5c]
cvttss2si r9d, xmm2
cvttss2si eax, xmm7
cvttss2si ecx, xmm6
cdq
and edx, 0x1f
lea r10d, [rdx + rax]
sar r10d, 5
mov eax, ecx
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
cmp r10d, 0x63
ja 0x1400076ba
cmp eax, 0x35
ja 0x1400076ba
sub r9d, eax
sub r8d, r10d
imul r8d, r8d
imul r9d, r9d
add r8d, r9d
cmp r8d, 0x51
jg 0x1400076ba
mov dword [rsp + 0x30], 0xbd84b89a
mov dword [rsp + 0x34], 0xafb48aad
mov word [rsp + 0x38], 0x100
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x140007550
mov byte [rsp + 0x39], bl
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140007582
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14002c630
nop
lea rdi, [0x140005700]
mov qword [rsp + 0x20], rdi
lea r9, [0x1400056b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x60]
call fcn.14010f1e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov dword [rsp + 0x60], 2
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
lea rcx, [rbp - 0x80]
cmp rbx, 0xf
ja 0x140007616
mov qword [rbp - 0x70], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x80], 0
jmp 0x14000761f
mov rdx, rbx
call fcn.14002c9a0
nop
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x60], eax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.14002a4b0
nop
lea rcx, [rbp - 0x80]
call fcn.14002b140
nop
lea rcx, [rsp + 0x40]
call fcn.14002b140
mov dword [rbp - 0x20], 3
movss dword [rbp - 0x10], xmm7
movss dword [rbp - 0xc], xmm6
mov rcx, qword [0x140167a98]
movss dword [rcx + 0x1c0], xmm7
movss dword [rcx + 0x1c4], xmm6
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rcx + 0x1b8]
lea r8, [rbp - 0x60]
call fcn.140108950
nop
mov r9, rdi
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x60]
call fcn.14010ee9c
nop
cmp byte [0x140166a0f], 0
je 0x1400076c1
mov byte [0x140166a0f], 0
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140007710
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
cmp byte [0x140166a0b], bl
je 0x1400077bd
lea ecx, [rbx + 1]
call fcn.14010ee60
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14002e7f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400077ae
cmp dword [rbp - 0x28], ebx
je 0x1400077a2
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400077a2
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14010ee40
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp byte [0x140166a0d], bl
je 0x14000783a
mov ecx, 1
call fcn.14010ee60
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14002e820]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14000782b
cmp dword [rbp - 0x28], 0
je 0x14000781f
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000781f
jmp 0x14000778b
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp byte [0x1401669fa], bl
je 0x14000778b
mov ecx, 1
call fcn.14010ee60
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14002e850]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400078ac
cmp dword [rbp - 0x28], 0
je 0x1400078a0
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400078a0
jmp 0x14000778b
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140008620
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x36], 0
je 0x140008643
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x35
jb 0x140008630
mov byte [rcx + 0x36], 0
mov rax, rcx
ret

Function at 0x140008650
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x37], 0
je 0x140008673
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x36
jb 0x140008660
mov byte [rcx + 0x37], 0
mov rax, rcx
ret
Function at 0x140008f50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x35], 0
je 0x140008f73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x34
jb 0x140008f60
mov byte [rcx + 0x35], 0
mov rax, rcx
ret
Function at 0x140009c00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140009c23
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x18
jb 0x140009c10
mov byte [rcx + 0x19], 0
mov rax, rcx
ret

Function at 0x140009c30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140009c53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2b]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x46
jb 0x140009c40
mov byte [rcx + 0x47], 0
mov rax, rcx
ret