joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3bc1c75f1
Capabilities:
Copy file

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rsi, rdx
mov ebp, r8d
mov rdi, r9
test rcx, rcx
sete al
test rdx, rdx
sete dl
or al, dl
je 0x3bc1c7681
mov r13d, 0xa0
mov r12d, 0x40000001
test rdi, rdi
je 0x3bc1c762d
mov dword [rdi], r13d
test r12d, r12d
je 0x3bc1c7805
mov eax, r12d
and eax, 0x3fffffff
test rsi, rsi
je 0x3bc1c77ed
test rbx, rbx
je 0x3bc1c77f9
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
mov r9, rsi
mov r8, rbx
lea rdx, str.fs_file_copy
lea rcx, str._E____s_____Failed_src_s_dst_s_overwrite_d_err_08x__n
call fcn.3bc1c1292
mov eax, r12d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test r8d, r8d
sete r8b
movzx r8d, r8b
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x3bc1c76aa
mov r13d, 0
mov r12d, 0
jmp 0x3bc1c7625
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
mov r9, rsi
mov r8, rbx
lea rdx, str.fs_file_copy
lea rcx, str._E____s_____CopyFileA_failed_src_s_dst_s_overwrite_d_gle_lu__n
call fcn.3bc1c1292
cmp r13d, 0x20
ja 0x3bc1c76fb
ja case.0x3bc1c76f1.1
mov eax, r13d
lea rdx, [0x3bc1d6fd8]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov r12d, r13d
jmp 0x3bc1c7625
cmp r13d, 0x94
je 0x3bc1c77ab
jbe 0x3bc1c7738
cmp r13d, 0xb7
je 0x3bc1c77d7
cmp r13d, 0x80070005
je 0x3bc1c77e2
cmp r13d, 0xaa
je 0x3bc1c7769
mov r12d, 0x40000001
jmp 0x3bc1c7625
cmp r13d, 0x7f
ja 0x3bc1c7755
cmp r13d, 0x7e
jae 0x3bc1c77b6
cmp r13d, 0x50
jne 0x3bc1c77c1
mov r12d, 0x40000007
jmp 0x3bc1c7625
cmp r13d, 0x91
jne 0x3bc1c77cc
mov r12d, 0x4000000d
jmp 0x3bc1c7625
mov r12d, 0x4000000d
jmp 0x3bc1c7625
mov r12d, 0x40000003
jmp 0x3bc1c7625
mov r12d, 0x40000009
jmp 0x3bc1c7625
mov r12d, 0x4000000d
jmp 0x3bc1c7625
mov r12d, 0x40000001
jmp 0x3bc1c7625
mov r12d, 0x40000008
jmp 0x3bc1c7625
mov r12d, 0x4000000d
jmp 0x3bc1c7625
mov r12d, 0x40000003
jmp 0x3bc1c7625
mov r12d, 0x40000001
jmp 0x3bc1c7625
mov r12d, 0x40000001
jmp 0x3bc1c7625
mov r12d, 0x40000007
jmp 0x3bc1c7625
mov r12d, 0x40000009
jmp 0x3bc1c7625
lea rsi, [0x3bc1d606b]
jmp 0x3bc1c7647
lea rbx, [0x3bc1d606b]
jmp 0x3bc1c7650
mov dword [rsp + 0x20], ebp
mov r9, rsi
mov r8, rbx
lea rdx, str.fs_file_copy
lea rcx, str._I____s_____Done_src_s_dst_s_overwrite_d__n
call fcn.3bc1c1292
jmp 0x3bc1c7671
Function at 0x3bc1ca13b
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x3bc1ca1a8
test r8, r8
je 0x3bc1ca1d8
movsxd rdx, edx
add rcx, rdx
mov eax, 0xffffffff
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop dword [rax]
lea r9, [r8 - 1]
test r8, r8
je 0x3bc1ca208
movzx edx, byte [rcx]
xor edx, eax
movzx edx, dl
shr eax, 8
lea r8, [0x3bc1d8460]
xor eax, dword [r8 + rdx*4]
add rcx, 1
mov r8, r9
jmp 0x3bc1ca180
mov dword [rsp + 0x20], 0xfb
lea r9, str.H:_Projects_rdp_bot_codebase_utils.c
lea r8, str._data___NULL_
lea rdx, str.crc32
lea rcx, [0x3bc1d8100]
call fcn.3bc1c1292
mov eax, 0
jmp 0x3bc1ca20a
mov dword [rsp + 0x20], 0xfc
lea r9, str.H:_Projects_rdp_bot_codebase_utils.c
lea r8, str._len___0_
lea rdx, str.crc32
lea rcx, [0x3bc1d8100]
call fcn.3bc1c1292
mov eax, 0
jmp 0x3bc1ca20a
not eax
add rsp, 0x38
ret
Function at 0x3bc1cac98
Capabilities:
Delete registry key

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
test rcx, rcx
je 0x3bc1cacee
test rdx, rdx
je 0x3bc1cad1e
mov r9d, 0
mov r8d, 0x100
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExA]
mov esi, eax
test eax, eax
jne 0x3bc1cad83
mov r9, rbx
mov r8, rdi
lea rdx, str.registry_delete_key
lea rcx, str._I____s_____Done_root0x_p_key_s__n
call fcn.3bc1c1292
mov esi, 0
jmp 0x3bc1cad79
mov dword [rsp + 0x20], 0x74
lea r9, str.H:_Projects_rdp_bot_codebase_registry.c
lea r8, str._root___NULL_
lea rdx, str.registry_delete_key
lea rcx, [0x3bc1d88b8]
call fcn.3bc1c1292
mov esi, 0x40000004
jmp 0x3bc1cad4c
mov dword [rsp + 0x20], 0x75
lea r9, str.H:_Projects_rdp_bot_codebase_registry.c
lea r8, str._key___NULL_
lea rdx, str.registry_delete_key
lea rcx, [0x3bc1d88b8]
call fcn.3bc1c1292
mov esi, 0x40000004
mov eax, esi
and eax, 0x3fffffff
test rbx, rbx
je 0x3bc1caec8
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8, rdi
lea rdx, str.registry_delete_key
lea rcx, str._E____s_____Failed_root0x_p_key_s_err_08x__n
call fcn.3bc1c1292
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8, rdi
lea rdx, str.registry_delete_key
lea rcx, str._E____s_____RegDeleteKeyExA_failed_root0x_p_key_s_res_lu__n
call fcn.3bc1c1292
cmp esi, 0x20
jg 0x3bc1cadee
test esi, esi
js 0x3bc1cadc4
cmp esi, 0x20
ja case.0x3bc1cadc2.1
mov esi, esi
lea rdx, [0x3bc1d8bd0]
movsxd rax, dword [rdx + rsi*4]
add rax, rdx
jmp rax
cmp esi, 0x80070005
je 0x3bc1cae64
mov esi, 0x40000001
jmp 0x3bc1cad4c
mov esi, 0x40000008
jmp 0x3bc1cad4c
mov esi, 0x40000009
jmp 0x3bc1cad4c
cmp esi, 0x91
je 0x3bc1cae82
cmp esi, 0x91
jg 0x3bc1cae30
cmp esi, 0x50
je 0x3bc1cae8c
cmp esi, 0x50
jl 0x3bc1cae96
sub esi, 0x7e
cmp esi, 1
ja 0x3bc1cae26
mov esi, 0x40000003
jmp 0x3bc1cad4c
mov esi, 0x40000001
jmp 0x3bc1cad4c
cmp esi, 0xb7
je 0x3bc1caea0
cmp esi, 0xb7
jg 0x3bc1caeaa
cmp esi, 0x94
je 0x3bc1caeb4
cmp esi, 0xaa
jne 0x3bc1caebe
mov esi, 0x4000000d
jmp 0x3bc1cad4c
mov esi, 0x4000000d
jmp 0x3bc1cad4c
mov esi, 0x40000009
jmp 0x3bc1cad4c
mov esi, 0x40000003
jmp 0x3bc1cad4c
mov esi, 0x40000001
jmp 0x3bc1cad4c
mov esi, 0x4000000d
jmp 0x3bc1cad4c
mov esi, 0x40000007
jmp 0x3bc1cad4c
mov esi, 0x40000001
jmp 0x3bc1cad4c
mov esi, 0x40000007
jmp 0x3bc1cad4c
mov esi, 0x40000001
jmp 0x3bc1cad4c
mov esi, 0x4000000d
jmp 0x3bc1cad4c
mov esi, 0x40000001
jmp 0x3bc1cad4c
lea rbx, [0x3bc1d8860]
jmp 0x3bc1cad5c
Function at 0x3bc1ceb50
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x3bc1dd620]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x3bc1dd600]
test rbx, rbx
je 0x3bc1ceb9c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x3bc1ceb96
test eax, eax
jne 0x3bc1ceb96
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x3bc1ceb6e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x3bc1ced50
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x3bc1ced73
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x3bc1ced73
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x3bc1ced74
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x3bc1cedae
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x3bc1ceda5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x3bc1cedb0
inc r8d
add rax, 0x28
jmp 0x3bc1ced8c
xor eax, eax
ret

Function at 0x3bc1cee21
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x3bc1da310]
mov r8, rcx
mov rcx, r9
call fcn.3bc1ced50
test eax, eax
je 0x3bc1cee4d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.3bc1ced74
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002ce0
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 0x140002d3d
lea rbx, [0x14004a230]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002d24
cmp r10, 2
jb 0x140002d24
cmp byte [r9], r8b
jne 0x140002d24
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 0x140002d00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002d7f
lea rbx, [0x14004a230]
cmp r8b, 0x23
jne 0x140002d63
cmp byte [r9], r8b
jne 0x140002d63
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 0x140002d50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002f40
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 0x140002f5e
mov qword [r8], r14
lea rdx, [0x140049d40]
call fcn.140002d90
mov rbx, rax
test rax, rax
jne 0x140002f83
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 0x1400030af
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400030af
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400030af
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 0x1400030af
cmp rdi, 0xffffffffffffffff
je 0x1400030af
mov rcx, rdi
call fcn.140008a60
mov rbp, rax
test rax, rax
je 0x1400030af
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 0x14000309c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140057780]
test r8, r8
je 0x140003091
movsx rdx, word [r8 + 0x2750]
lea rcx, [r8 + 0x2754]
mov r9d, dword [r8 + 0x12b0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003086
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 + 0x2750], cx
movsx rax, cx
lea rcx, [r8 + 0x2754]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x274c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400030b8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400030aa
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400030ba
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 0x140012500
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x14004a230]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x13c0], ebx
jne 0x140012594
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001e500
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ccc0
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 + 0x2628], 0
lea rbx, [rcx + 0x2630]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001cd67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001cd1a
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.14001f910
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400035c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x2628]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x2638]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140057778]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001cd6f
mov rcx, rbx
call fcn.1400035c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d110
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 [0x140057780]
xor ebp, ebp
cmp byte [rbx + 0x2568], bpl
jne 0x14001d1ef
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001d1e8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140002f40
mov rsi, rax
test rax, rax
je 0x14001d1e8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001d174
mov rcx, rax
call fcn.14001d340
mov r8, qword [0x140057780]
test r8, r8
je 0x14001d1df
movsx rdx, word [r8 + 0x2750]
lea rcx, [r8 + 0x2754]
mov r9d, dword [r8 + 0x12b0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001d1d4
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 + 0x2750], cx
movsx rax, cx
lea rcx, [r8 + 0x2754]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x274c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x2568], 1
movss xmm0, dword [rbx + 0x256c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001d27e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x256c], xmm0
jb 0x14001d27e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001d271
mov rax, qword [0x140057780]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x256c], ebp
call fcn.14001d5a0
lea rdx, [0x140049d44]
mov rcx, rdi
mov rsi, rax
call fcn.140002d90
mov rdi, rax
test rax, rax
je 0x14001d278
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 0x14001d278
mov byte [rbx + 0xbc], 1
mov dword [rbx + 0x256c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d2a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140057780]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001d303
mov qword [rsp], rbx
lea rbx, [0x14004a230]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d2e3
cmp byte [r8], r9b
jne 0x14001d2e3
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 0x14001d2d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x2580]
not eax
mov r8, qword [r10 + 0x2588]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001d32f
cmp dword [r8 + 8], eax
je 0x14001d336
add r8, 0x48
cmp r8, rcx
jne 0x14001d320
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140032210
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x70
mov rax, qword [0x140057040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, qword [0x140057780]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003242e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003242e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140057780]
xor ebx, ebx
mov rsi, rax
test r8, r8
je 0x1400322e4
movsx rdx, word [r8 + 0x2750]
lea rax, [r8 + 0x2754]
mov r9d, dword [r8 + 0x12b0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x1400322d9
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 + 0x2750], cx
movsx rax, cx
lea rax, [rax*8 + 0x2754]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x2748]
test rsi, rsi
je 0x140032301
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
jmp 0x140032304
mov rsi, rbx
or dword [rdi + 0xc], 6
lea rax, [0x14004ef28]
mov qword [rdi + 0x90], rax
xor ecx, ecx
mov qword [rdi + 0xa0], rsi
mov qword [rsi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov rdi, qword [rdi + 0xa0]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rdi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003236b
mov dword [rdi + 0x2c], ebx
mov rax, qword [0x140057780]
mov rcx, qword [rax + 0x1e98]
mov rax, qword [rsi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rsi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x1400323ee
inc rbx
cmp rbx, 5
jl 0x1400323d0
jmp 0x14003241a
lea rdx, str.XInputGetCapabilities
mov qword [rsi + 0x38], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [rsi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
mov rsi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140032430
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400454d0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x1400381f0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x140057780]
mov rdx, qword [rax + 0x2188]
cmp ecx, 0xffffffff
jne 0x14003820a
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140038287
mov r10d, dword [rdx]
lea r8, [0x14004eff9]
movzx eax, word [rdx + 0x78]
lea r11, [0x14004a230]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140038263
cmp byte [r8], r9b
jne 0x140038263
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 0x140038250
not ecx
jmp fcn.140017300
ret
Function at 0x1400426e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x140057040]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
xor esi, esi
mov edx, dword [rcx + 8]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004276b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14004276b
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140042766
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140042740
jmp 0x14004276b
mov rsi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400454d0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400460ac
Capabilities:
Parse pe header

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

Disassembly:
mov qword ss:[rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2090]
mov eax, 0x2190
call fcn.14000e300
sub rsp, rax
mov rax, qword [0x1400010c0]
xor rax, rsp
mov qword [rbp + 0x2080], rax
mov r15, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
xor edi, edi
test rax, rax
je 0x140008392
lea r9, [rsp + 0x50]
mov r8d, 0x2000
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140008386
mov r14d, edi
test dword [rsp + 0x50], 0xfffffff8
jbe 0x140008386
mov r12d, r14d
mov r9d, 0x104
lea r8, [rbp + 0x1f70]
mov rdx, qword [rsp + r12*8 + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x14000836b
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
lea rax, [rbp + 0x1f70]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1400082ef
lea rdx, [rbp + 0x1f70]
lea rcx, [rsp + 0x30]
call fcn.140005760
nop
mov rax, qword [r15 + 0x10]
mov r9, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14000831b
mov r9, qword [r15]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x40]
call fcn.140009520
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.140004c80
cmp rbx, 0xffffffffffffffff
je 0x14000836b
mov r9d, 0x18
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + r12*8 + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
jne 0x140008382
inc r14d
mov eax, dword [rsp + 0x50]
shr eax, 3
cmp r14d, eax
jb 0x1400082ac
nop
jmp 0x140008386
mov edi, dword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword ds:[rbp + 0x2080]
xor rcx, rsp
call fcn.14000d280
lea r11, [rsp + 0x2190]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret