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

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x402c4f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.0040faa0

Function at 0x403d30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.0040fb60]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call fcn.0040faa0
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x403d70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.0040fb60]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call fcn.0040faa0
mov ecx, 1
call sub.msvcrt.dll_exit
nop
Function at 0x407560
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
cmp qword [rcx + 8], 0
mov rdi, qword [rcx]
mov rbp, rcx
mov rbx, rdx
mov rsi, rcx
js 0x4076c3
cmp rdi, 7
mov r8d, 7
mov rax, qword [0x00427188]
cmovl rdi, r8
cmp qword [0x00427180], rax
jle 0x407721
mov rax, qword [0x00427178]
cmp qword [0x00429270], rax
jge 0x407721
lea rdx, [rdi + 0x21]
lea rcx, [0x004271d8]
call fcn.004039a0
lea rsi, [0x00412020]
mov qword [rax + 8], rsi
mov qword [rax], 4
mov rdx, qword [0x00427188]
mov rcx, qword [0x00427198]
cmp rdx, 8
jle 0x407739
shl rdx, 3
lea r9, [rcx + rdx - 8]
mov r10, qword [r9]
mov r8, qword [r10]
cmp r8, 7
ja 0x407690
lea r9, [rcx + rdx - 0x10]
mov r10, qword [r9]
mov r8, qword [r10]
cmp r8, 7
ja 0x407690
lea r9, [rcx + rdx - 0x18]
mov r10, qword [r9]
mov r8, qword [r10]
cmp r8, 7
ja 0x407690
lea r9, [rcx + rdx - 0x20]
mov r10, qword [r9]
mov r8, qword [r10]
cmp r8, 7
ja 0x407690
lea r9, [rcx + rdx - 0x28]
mov r10, qword [r9]
mov r8, qword [r10]
cmp r8, 7
ja 0x407690
lea r9, [rcx + rdx - 0x30]
mov r10, qword [r9]
mov r8, qword [r10]
cmp r8, 7
ja 0x407690
lea r9, [rcx + rdx - 0x38]
mov r10, qword [r9]
mov r8, qword [r10]
cmp r8, 7
ja 0x407690
lea rcx, [rcx + rdx - 0x40]
mov r8, qword [rcx]
mov rdx, qword [r8]
cmp rdx, 7
jbe 0x40774a
and rdx, 0xfffffffffffffffb
mov qword [r8], rdx
mov qword [rcx], rax
jmp 0x40769a
and r8, 0xfffffffffffffffb
mov qword [r10], r8
mov qword [r9], rax
lea rsi, [rax + 0x10]
mov qword [rsi + 8], rdi
mov qword [rax + 0x10], 0
mov rdi, qword [rbp]
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x10]
mov qword [rax + 0x10], rdi
lea r8, [rdi + 1]
call sub.msvcrt.dll_memcpy
lea r8, [rdi + rbx]
mov rcx, rsi
sub rcx, rbx
test rdi, rdi
jle 0x407715
nop dword [rax]
nop word cs:[rax + rax]
mov rax, rbx
mov rdx, rbx
sar rax, 8
sar rdx, 0x10
xor eax, ebx
and edx, 0xffffffee
and eax, 0xffffffee
xor al, byte [rcx + rbx + 0x10]
xor eax, edx
mov rdx, rbx
sar rdx, 0x18
and edx, 0xffffffee
xor eax, edx
mov byte [rcx + rbx + 0x10], al
add rbx, 1
cmp rbx, r8
jne 0x4076e0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp qword [0x004271d0], 0
jne 0x4075b5
call fcn.00406210
jmp 0x4075b5
mov qword [rcx + rdx*8], rax
add qword [0x00427188], 1
jmp 0x40769a
lea rcx, [0x00427188]
mov rdx, rax
mov qword [rsp + 0x28], rax
call fcn.00405840
mov rax, qword [rsp + 0x28]
jmp 0x40769a

Function at 0x409dc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x148
mov byte [rsp + 0x2f], 1
movzx eax, byte [rsp + 0x2f]
mov rbx, rcx
mov qword [rsp + 0x168], rdx
test al, al
jne 0x409df0
add rsp, 0x148
pop rbx
pop rsi
ret
mov ecx, 2
call qword [fcn.0040fb60]
mov rdx, qword [rsp + 0x168]
mov rcx, rbx
mov rsi, rax
mov r9, rax
mov r8, rdx
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call fcn.0040faa0
jmp 0x409de2
Function at 0x40e590
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0042a324]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x40e718
mov rax, qword [0x0042a328]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40e5dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x40e665
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x40e5c0
mov rcx, rbx
call fcn.0040f230
test rax, rax
mov r12, rax
je 0x40e74d
mov rax, qword [0x0042a328]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.0040f360
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0042a328]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40e730
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40e65e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x40e6c0
add dword [0x0042a324], 1
cmp edi, 8
jae 0x40e693
test dil, 4
jne 0x40e704
test edi, edi
je 0x40e688
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40e71f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x40e688
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x40e6ac
jmp 0x40e688
add rsi, qword [0x0042a328]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40e65e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004111c0
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x40e688
xor esi, esi
jmp 0x40e5e7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x40e688
mov rax, qword [0x0042a328]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.004111c0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.004111c0
nop
nop dword [rax]

Function at 0x40eea0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0042a600]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0042a5e0]
test rbx, rbx
je 0x40eef4
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 0x40eeeb
test rsi, rsi
je 0x40eeeb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40eed0
lea rcx, [0x0042a600]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x40f230
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00415500]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40f29d
mov rcx, r8
call fcn.0040f110
test eax, eax
je 0x40f29d
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 0x40f29d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40f294
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40f29f
add rax, 0x28
cmp rax, r9
jne 0x40f280
xor eax, eax
add rsp, 0x28
ret

Function at 0x4111c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
call sub.msvcrt.dll__onexit
test rax, rax
sete al
movzx eax, al
neg eax
add rsp, 0x28
ret
lea rcx, [0x00401540]
jmp 0x401510
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 fcn.0040fb60
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.0040fb60
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x1400047a0
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 0x1400047fd
lea rbx, [0x1400ccff0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400047e4
cmp r10, 2
jb 0x1400047e4
cmp byte [r9], r8b
jne 0x1400047e4
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 0x1400047c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000483f
lea rbx, [0x1400ccff0]
cmp r8b, 0x23
jne 0x140004823
cmp byte [r9], r8b
jne 0x140004823
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 0x140004810
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400049e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x1400049fe
mov qword [r8], r14
lea rdx, [0x1400ccb20]
call fcn.140004850
mov rbx, rax
test rax, rax
jne 0x140004a23
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140004b4d
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004b4d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004b4d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004b4d
cmp rdi, 0xffffffffffffffff
je 0x140004b4d
mov rcx, rdi
call fcn.140008870
mov rbp, rax
test rax, rax
je 0x140004b4d
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140004b3a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400e86f0]
test r8, r8
je 0x140004b2f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140004b24
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004b56
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140004b48
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140004b58
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140008360
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r10, [0x1400ccff0]
mov rax, qword [rcx + 0x108]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x1400083eb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001c3e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140015b10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400e86f0]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140015b62
cmp byte [rbx + 0x4d4e], 0
jne 0x140015b62
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004580
test dil, 2
je 0x140015c8f
jmp 0x140015beb
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400d5d14]
mulss xmm1, dword [0x1400d5d0c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x1400d5c58]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.140004580
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015c40
lea r11, [0x1400ccff0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140015c23
cmp byte [r8], r9b
jne 0x140015c23
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 0x140015c10
not ecx
call fcn.14000c0b0
test rax, rax
je 0x140015c8f
cmp byte [rax + 0xbe], 0
je 0x140015c8f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.140004580
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000ed10
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001ac20
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 + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001acc7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ac7a
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.14001d490
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140005120
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400e86e8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001accf
mov rcx, rbx
call fcn.140005120
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001aff0
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
mov rbx, qword [0x1400e86f0]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x14001b0cf
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001b0c8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1400049e0
mov rsi, rax
test rax, rax
je 0x14001b0c8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001b054
mov rcx, rax
call fcn.14001b220
mov r8, qword [0x1400e86f0]
test r8, r8
je 0x14001b0bf
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001b0b4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001b15e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14001b15e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001b151
mov rax, qword [0x1400e86f0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.14001b480
lea rdx, [0x1400ccb24]
mov rcx, rdi
mov rsi, rax
call fcn.140004850
mov rdi, rax
test rax, rax
je 0x14001b158
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001b158
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b180
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400e86f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b1e3
mov qword [rsp], rbx
lea rbx, [0x1400ccff0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b1c3
cmp byte [r8], r9b
jne 0x14001b1c3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001b1b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001b20f
cmp dword [r8 + 8], eax
je 0x14001b216
add r8, 0x48
cmp r8, rcx
jne 0x14001b200
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003ba90
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rsi, qword [0x1400e86f0]
mov rbp, rcx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003bcae
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003bcae
mov qword [rsp + 0x70], rbx
mov ecx, 0x50
mov qword [rsp + 0x50], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400e86f0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14003bb52
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14003bb47
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x14003bb6f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14003bb72
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400d1e58]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14003bbbb
mov rsi, qword [r8 + 0x90]
jmp 0x14003bbbe
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003bbe9
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400e86f0]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x28], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x48], rax
mov byte [rdi + 0x31], 1
nop
mov rcx, qword [rsp + rbx*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003bc6f
inc rbx
cmp rbx, 5
jl 0x14003bc40
mov rdi, qword [rsp + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
pop rsi
pop rbp
ret
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x48], rax
mov al, 1
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
pop rsi
pop rbp
ret
xor al, al
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400492a0
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
lea rdx, str.300768
lea rcx, [rsp + 0x68]
call fcn.140040420
mov r8, rax
lea rdx, [rbp - 0x78]
lea rcx, [0x1400e8a10]
call fcn.14005f440
nop
lea rdx, [0x1400e8c28]
lea rcx, [rbp + 0x90]
call fcn.14004ffc0
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x1e]
lea rdx, str.NewLoader.exe
lea rcx, [rbp + 0xb0]
call fcn.14004e550
nop
lea rcx, [rbp - 0x78]
call fcn.14004f410
mov r8, rax
lea rcx, [rbp - 0x78]
call fcn.14004f420
mov rdx, rax
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0xb0]
call fcn.14004e510
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x104
lea rdx, [rbp + 0x1c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x10]
call fcn.140051be0
nop
lea rcx, [rsp + 0x68]
call fcn.140051c40
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.14003ee90
nop
lea r8, [rsp + 0x68]
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14003ef60
nop
lea rcx, [rbp + 0x30]
call fcn.14003efb0
nop
lea rcx, [rsp + 0x68]
call fcn.14003efb0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp + 4], eax
mov dword [rbp - 0x60], 0x68
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.14003ed90
mov rcx, rax
call fcn.14004fd70
mov rcx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
lea rcx, [rbp + 0x70]
call fcn.14004fed0
test ebx, ebx
jne 0x14004945b
xor r9d, r9d
lea r8, [0x1400d2d28]
lea rdx, [0x1400d2d40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3