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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002893
cmp byte [rcx + 0x71], 0
je 0x140002893
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000288f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002854
sub eax, 1
je 0x140002858
cmp eax, 2
jne 0x14000288f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400040c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002886
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000288f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000283c
xor al, al
jmp 0x14000283c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400040c0
add rsp, 0x60
pop rbx
ret
Function at 0x140004a78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004ac2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004ac2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004ac2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004ac2
cmp dword [rcx + 0x84], 0xe
jbe 0x140004ac2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004ac4
xor al, al
add rsp, 0x28
ret
Function at 0x7ff720f21240
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13f0
call fcn.7ff720f5d320
sub rsp, rax
mov rax, qword [0x7ff720f6a040]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea ecx, [rdi + 0x40]
call fcn.7ff720f5c310
mov rsi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x3e
mov qword [rsp + 0x48], 0x3f
movups xmm0, xmmword [0x7ff720f5e888]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x7ff720f5e898]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x7ff720f5e8a8]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x7ff720f5e8b8]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x7ff720f5e8c0]
mov dword [rsi + 0x38], eax
movzx eax, word [0x7ff720f5e8c4]
mov word [rsi + 0x3c], ax
mov byte [rsi + 0x3e], dil
call qword [sym.imp.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea ecx, [rdi + 1]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x7ff720f21301
mov dword [rsp + 0x50], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
mov edi, 9
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.7ff720f23850
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x7ff720f2137a
lea rcx, [rsp + 0x50]
call fcn.7ff720f23850
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x7ff720f21365
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + rsi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x7ff720f213b2
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x7ff720f213a7
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff720f213ba
mov rcx, rbx
call fcn.7ff720f23320
sub rdi, 1
jne 0x7ff720f21350
lea edx, [rdi + 0x40]
mov rcx, rsi
call fcn.7ff720f5c594
mov rax, rbx
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.7ff720f5c1d0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x7ff720f23850
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x7ff720f238b1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x7ff720f23870
mov ecx, dword [r9]
jmp 0x7ff720f23998
cmp ecx, 0x4e0
jb 0x7ff720f23998
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x7ff720f238d0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x7ff720f23920
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x7ff720f257d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x7ff720f2582d
lea rbx, [0x7ff720f5ee70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x7ff720f25814
cmp r10, 2
jb 0x7ff720f25814
cmp byte [r9], r8b
jne 0x7ff720f25814
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x7ff720f257f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x7ff720f2586f
lea rbx, [0x7ff720f5ee70]
cmp r8b, 0x23
jne 0x7ff720f25853
cmp byte [r9], r8b
jne 0x7ff720f25853
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x7ff720f25840
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x7ff720f259b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x7ff720f259ca
mov qword [r8], 0
lea rdx, [0x7ff720f5ebd4]
call fcn.7ff720f25880
mov rbx, rax
test rax, rax
jne 0x7ff720f259ea
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.ucrtbase.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x7ff720f25ac1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff720f25ac1
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x7ff720f25ac1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff720f25ac1
cmp rdi, 0xffffffffffffffff
je 0x7ff720f25ac1
mov rax, qword [0x7ff720f7dda0]
test rax, rax
je 0x7ff720f25a5e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_malloc]
mov rsi, rax
test rax, rax
je 0x7ff720f25ac1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x7ff720f25aae
call qword [sym.imp.ucrtbase.dll_fclose]
mov rax, qword [0x7ff720f7dda0]
test rax, rax
je 0x7ff720f25aa3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_free]
jmp 0x7ff720f25aca
call qword [sym.imp.ucrtbase.dll_fclose]
test r14, r14
je 0x7ff720f25abc
mov qword [r14], rdi
mov rax, rsi
jmp 0x7ff720f25acc
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x7ff720f27930
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x7ff720f5ee70]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x7ff720f7dda0]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x7ff720f279bd
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x7ff720f279cc
mov byte [rax + 0x1cac], 1
cmp dword [rax + 0x1c54], ebx
jne 0x7ff720f279e3
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.7ff720f38510
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x7ff720f32740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x7ff720f6a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x7ff720f7dda0]
mov edi, ecx
cmp byte [rbx + 0x1fad], 0
jne 0x7ff720f327a1
cmp byte [rbx + 0x1fae], 0
jne 0x7ff720f327a1
movsx r9d, word [rbx + 0x308e]
lea r8, [0x7ff720f5eb68]
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.7ff720f25750
test dil, 1
je 0x7ff720f328c8
jmp 0x7ff720f3282a
movss xmm1, dword [rbx + 0x1628]
lea r8, [0x7ff720f5eb68]
movsx r9d, word [rbx + 0x308e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x7ff720f6355c]
mulss xmm1, dword [0x7ff720f63550]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d30], rax
mov dword [rbx + 0x1d1c], 1
movss dword [rbx + 0x1d28], xmm0
movss dword [rbx + 0x1d2c], xmm1
movss xmm0, dword [rbx + 0x1684]
mulss xmm0, dword [0x7ff720f63468]
or dword [rbx + 0x1d18], 0x41
movss dword [rbx + 0x1d78], xmm0
call fcn.7ff720f25750
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x7ff720f32880
lea r11, [0x7ff720f5ee70]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x7ff720f32863
cmp byte [r8], r9b
jne 0x7ff720f32863
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x7ff720f32850
not ecx
call fcn.7ff720f2c420
test rax, rax
je 0x7ff720f328c8
cmp byte [rax + 0x8e], 0
je 0x7ff720f328c8
mov byte [rax + 0x95], 1
lea r8, [0x7ff720f5eb68]
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x308e]
mov edx, 0x10
movsx r9d, word [rbx + 0x308e]
call fcn.7ff720f25750
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.7ff720f2eac0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.7ff720f5c1d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x7ff720f372e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3130], 0
lea rbx, [rcx + 0x3138]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x7ff720f37387
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x7ff720f3733a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.7ff720f392e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.7ff720f25ed0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3130]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3140]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x7ff720f7ddb0]
cmovne rcx, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x7ff720f3738f
mov rcx, rbx
call fcn.7ff720f25ed0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff720f55fd0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.7ff720f22ed0
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rsp + 0x30]
mov byte [0x7ff720f7dd97], 0
lea rcx, [rsp + 0x38]
mov byte [0x7ff720f7dd93], 0
mov byte [0x7ff720f7dd90], 0
mov dword [rsp + 0x30], 0xc8
call fcn.7ff720f24160
mov rcx, rax
call fcn.7ff720f24170
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll_exit]
int3
Function at 0x7ff720f56090
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13e0
call fcn.7ff720f5d320
sub rsp, rax
movaps xmmword [rsp + 0x13d0], xmm6
movaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x7ff720f6a040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
movaps xmm6, xmm1
movaps xmm7, xmm0
call qword [sym.imp.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x7ff720f560e1
movsd xmm3, qword [0x7ff720f634d0]
xorps xmm1, xmm1
mov edx, 0x270
xorps xmm4, xmm4
cvtss2sd xmm1, xmm6
mov dword [rsp + 0x20], edx
mov r10d, 2
movsd xmm6, qword [0x7ff720f63568]
xorps xmm5, xmm5
cvtss2sd xmm4, xmm7
xorps xmm2, xmm2
cmp edx, 0x270
jne 0x7ff720f56192
lea r8, [rsp + 0x28]
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x7ff720f56150
mov edx, dword [rsp + 0x20]
jmp 0x7ff720f5628b
cmp edx, 0x4e0
jb 0x7ff720f5628b
xor r8d, r8d
lea r9, [rsp + 0x9e4]
lea r11, [rsp + 0x1018]
lea rbx, [rsp + 0x24]
nop word [rax + rax]
mov edx, dword [r9 + r8*4]
xor edx, dword [rsp + r8*4 + 0x9e8]
btr edx, 0x1f
xor edx, dword [r9 + r8*4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + r8*4]
xor ecx, edx
mov dword [rbx + r8*4], ecx
inc r8
cmp r8, 0xe3
jb 0x7ff720f561c0
mov r8d, 0xe3
lea r9, [rsp + 0x9e8]
lea r11, [rsp + 0x24]
nop dword [rax]
mov eax, dword [rsp + r8*4 + 0x9e4]
mov edx, eax
xor edx, dword [r9 + r8*4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rsp + r8*4 - 0x368]
xor ecx, edx
mov dword [r11 + r8*4], ecx
inc r8
cmp r8, 0x26f
jb 0x7ff720f56210
mov edx, dword [rsp + 0x13a0]
mov eax, dword [rsp + 0x24]
and edx, 0x80000000
btr eax, 0x1f
or edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [rsp + 0x654]
xor edx, edx
mov dword [rsp + 0x9e0], ecx
mov dword [rsp + 0x20], edx
mov eax, edx
xorps xmm0, xmm0
inc edx
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov dword [rsp + 0x20], edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
subsd xmm0, xmm5
mulsd xmm0, xmm3
mulsd xmm3, xmm6
addsd xmm2, xmm0
sub r10, 1
jne 0x7ff720f56133
divsd xmm2, xmm3
subsd xmm1, xmm4
mulsd xmm1, xmm2
addsd xmm1, xmm4
cvttsd2si eax, xmm1
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.7ff720f5c1d0
movaps xmm6, xmmword [rsp + 0x13d0]
movaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e0
pop rbx
ret
Function at 0x7ff720f585d0
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
mov rax, qword [0x7ff720f6a040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x20], 0
setne al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.7ff720f5c1d0
add rsp, 0x38
ret

Function at 0x7ff720f587e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x7ff720f6a040]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rcx, [0x7ff720f63318]
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test rax, rax
je 0x7ff720f58932
lea rdx, [0x7ff720f63328]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r14, rax
test rax, rax
je 0x7ff720f58932
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x7ff720f58932
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x7ff720f58932
xor dil, dil
xor r12d, r12d
mov ebx, r12d
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x280], r12d
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov r15d, eax
lea r13d, [r12 + 1]
nop
mov r8d, dword [rsp + 0x48]
cmp r15d, r8d
je 0x7ff720f588fe
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.DLL_OpenProcess]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x7ff720f588fe
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rsp + 0x280]
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x7ff720f588fe
movzx edi, dil
mov eax, dword [r14]
cmp dword [rsp + 0x280], eax
cmovne edi, r13d
mov byte [rsp + 0x30], dil
test rbx, rbx
je 0x7ff720f5890c
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x7ff720f588a0
test rsi, rsi
je 0x7ff720f5892c
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
movzx eax, dil
jmp 0x7ff720f58934
xor al, al
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.7ff720f5c1d0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x7ff720f59170
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.7ff720f59390
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x7ff720f59277
mov rax, qword [section._________1]
cmp qword [rsp + 0x20], rax
jb 0x7ff720f591d4
mov rax, qword [0x7ff720f6a008]
cmp qword [rsp + 0x20], rax
ja 0x7ff720f591d4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x7ff720f59196
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_VirtualQuery]
test rax, rax
jne 0x7ff720f59203
jmp 0x7ff720f59277
cmp dword [rsp + 0x50], 0x10000
jne 0x7ff720f5925a
cmp qword [rsp + 0x48], 0x10000
jb 0x7ff720f5925a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x7ff720f59248
mov rax, qword [rsp + 0x28]
jmp 0x7ff720f59279
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x7ff720f59272
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.7ff720f59390
mov qword [rsp + 0x20], rax
jmp 0x7ff720f59196
xor eax, eax
add rsp, 0x68
ret

Function at 0x7ff720f59280
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.7ff720f593d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x7ff720f59383
mov rax, qword [section._________1]
cmp qword [rsp + 0x20], rax
jb 0x7ff720f592db
mov rax, qword [0x7ff720f6a008]
cmp qword [rsp + 0x20], rax
ja 0x7ff720f592db
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x7ff720f5929d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_VirtualQuery]
test rax, rax
jne 0x7ff720f5930a
jmp 0x7ff720f59383
cmp dword [rsp + 0x50], 0x10000
jne 0x7ff720f59361
cmp qword [rsp + 0x48], 0x10000
jb 0x7ff720f59361
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x7ff720f5934f
mov rax, qword [rsp + 0x28]
jmp 0x7ff720f59385
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x7ff720f5937e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.7ff720f593d0
mov qword [rsp + 0x20], rax
jmp 0x7ff720f5929d
xor eax, eax
add rsp, 0x68
ret
Function at 0x7ff720f5cf04
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x7ff720f5cf4e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff720f5cf4e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff720f5cf4e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff720f5cf4e
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff720f5cf4e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff720f5cf50
xor al, al
add rsp, 0x28
ret
Function at 0x14004e984
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004e9ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004e9ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004e9ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004e9ce
cmp dword [rcx + 0x84], 0xe
jbe 0x14004e9ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004e9d0
xor al, al
add rsp, 0x28
ret