joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e110
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rbp, vtable.std::exception.0
cmp eax, 0xffffffff
jne 0x18000e1dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_resume_remote_thread:__d.
lea rcx, [rsp + 0x28]
call fcn.18001abc0
nop
mov rcx, rax
call fcn.18000c7b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18000e1bb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e1b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e320
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e60]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x30]
call fcn.18001e234
mov edx, 0x1388
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x18000e22d
lea rdx, [rsp + 0x20]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea rdi, vtable.NullLog.0
mov rax, qword [0x1800650d8]
test rax, rax
cmovne rdi, rax
mov rax, qword [rdi]
mov r8d, dword [rsp + 0x20]
lea rdx, str.Remote_thread_returned_exit_address:__x._n
mov rcx, rdi
call qword [rax]
jmp 0x18000e2ee
mov r8d, eax
lea rdx, str.Remote_thread_did_not_terminate_within_specified_timeout___d_.
lea rcx, [rsp + 0x28]
call fcn.18001abc0
mov r14, rax
lea rdi, vtable.NullLog.0
mov rdx, qword [0x1800650d8]
test rdx, rdx
cmovne rdi, rdx
mov rdx, qword [rdi]
mov rbx, qword [rdx]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
mov r8, rax
lea rdx, str._hs_n
mov rcx, rdi
call rbx
cmp dword [0x1800650cc], 0
jne 0x18000e293
cmp dword [0x180064c90], 0
sete sil
test esi, esi
je 0x18000e326
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18000e2cc
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e2c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e31a
call fcn.18001c7c8
movdqa xmm0, xmmword [0x180052e60]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x30]
call fcn.18001e234
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18001c3d0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1800232b4
int3
call fcn.1800232b4
nop
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.1800074b0
lea rdx, [0x1800586d0]
lea rcx, [rsp + 0x60]
call fcn.18001e690
int3
Function at 0x180040190
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800401b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800401b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140016ca0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140016cc8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140016cee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140016cf0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140016d49
test ecx, ecx
jle 0x140016d29
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140016d49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140016d49
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x140016d70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140016da1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x140016dbf
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140016ddb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140016ddd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140016e19
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140016eae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140016e54
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140016e8e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140016eae
cmp rbx, rax
ja 0x140016e60
test rbx, rbx
je 0x140016eae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400172e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140145080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001730d
xor eax, eax
jmp 0x140017479
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140017347
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140017347
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140017479
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001746c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001738a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400173b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140017471
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140017424
sub eax, 1
je 0x140017424
cmp eax, 2
jne 0x14001746c
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140017471
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140017452
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14001746c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140017471
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401096d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140018e80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140145080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140018f53
cmp byte [rcx + 0x71], 0
je 0x140018f53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140018f4f
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 0x140018f14
sub eax, 1
je 0x140018f18
cmp eax, 2
jne 0x140018f4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401096d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140018f46
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 0x140018f4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140018efc
xor al, al
jmp 0x140018efc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401096d0
add rsp, 0x60
pop rbx
ret
Function at 0x14002cc50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140145080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov r14, rcx
lea rcx, [rsp + 0x28]
call fcn.1400099e0
nop
mov r8d, 3
lea rdx, [0x14012354c]
mov rcx, rsi
call fcn.140037770
mov edi, dword [rsp + 0x20]
xor ebx, ebx
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, ebx
test ax, ax
cmovns ecx, edi
mov edi, ecx
inc ebx
cmp ebx, 0x100
jl 0x14002cc98
cmp ecx, dword [reloc.WLDAP32.dll_Ordinal_45]
je 0x14002ccec
lea eax, [rcx - 1]
cmp eax, 0xfe
ja 0x14002cc96
mov dword [r14], ecx
mov edx, ecx
lea rcx, [rsp + 0x48]
call fcn.140006e70
mov rdx, rax
mov rcx, rsi
call fcn.140009910
lea rcx, [rsp + 0x48]
call fcn.140009ec0
jmp 0x14002cd15
lea rax, [rsp + 0x28]
cmp rsi, rax
je 0x14002cd15
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140037770
nop
lea rcx, [rsp + 0x28]
call fcn.140009ec0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401096d0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x140036160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x78], rcx
mov rax, qword [rdx]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
mov rax, qword [rdx + 0x20]
mov qword [rcx + 0x20], rax
mov eax, dword [rdx + 0x28]
mov dword [rcx + 0x28], eax
add rcx, 0x30
add rdx, 0x30
call fcn.1400099e0
nop
lea r15, [r14 + 0x50]
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rax
mov rdx, qword [rsi + 0x58]
sub rdx, qword [rsi + 0x50]
sar rdx, 5
test rdx, rdx
je 0x140036241
mov rcx, r15
call fcn.140021160
mov qword [rsp + 0x80], r15
mov rbx, qword [r15]
mov rbp, qword [rsi + 0x58]
mov rdi, qword [rsi + 0x50]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r15
cmp rdi, rbp
je 0x14003623d
nop word [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.1400099e0
add rbx, 0x20
mov qword [rsp + 0x28], rbx
add rdi, 0x20
cmp rdi, rbp
jne 0x140036220
mov qword [r15 + 8], rbx
lea rbx, [r14 + 0x68]
mov qword [rsp + 0x78], rbx
mov rax, qword [rsi + 0x68]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rsi + 0x70]
call fcn.140036390
nop
movsd xmm0, qword [rsi + 0x90]
movsd qword [rbx + 0x28], xmm0
movsd xmm0, qword [rsi + 0x98]
movsd qword [rbx + 0x30], xmm0
mov eax, dword [rsi + 0xa0]
mov dword [rbx + 0x38], eax
movsd xmm0, qword [rsi + 0xa4]
movsd qword [rbx + 0x3c], xmm0
movsd xmm0, qword [rsi + 0xac]
movsd qword [rbx + 0x44], xmm0
mov eax, dword [rsi + 0xb4]
mov dword [rbx + 0x4c], eax
mov eax, dword [rsi + 0xb8]
mov dword [rbx + 0x50], eax
lea rcx, [rbx + 0x58]
lea rdx, [rsi + 0xc0]
call fcn.1400099e0
mov eax, dword [rsi + 0xe0]
mov dword [rbx + 0x78], eax
movsd xmm0, qword [rsi + 0xe4]
movsd qword [rbx + 0x7c], xmm0
movups xmm0, xmmword [rsi + 0xf0]
movups xmmword [rbx + 0x88], xmm0
mov eax, dword [rsi + 0x100]
mov dword [rbx + 0x98], eax
mov eax, dword [rsi + 0x104]
mov dword [rbx + 0x9c], eax
mov eax, dword [rsi + 0x108]
mov dword [rbx + 0xa0], eax
mov eax, dword [rsi + 0x10c]
mov dword [rbx + 0xa4], eax
mov eax, dword [rsi + 0x110]
mov dword [rbx + 0xa8], eax
mov eax, dword [rsi + 0x114]
mov dword [rbx + 0xac], eax
mov rax, qword [rsi + 0x118]
mov qword [rbx + 0xb0], rax
mov eax, dword [rsi + 0x120]
mov dword [rbx + 0xb8], eax
mov eax, dword [rsi + 0x124]
mov dword [rbx + 0xbc], eax
movzx eax, byte [rsi + 0x128]
mov byte [rbx + 0xc0], al
movss xmm0, dword [rsi + 0x130]
movss dword [r14 + 0x130], xmm0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400364d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x190
movaps xmmword [rsp + 0x180], xmm6
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rsi, rax
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400365b2
mov rcx, rbx
call fcn.1400263e0
cmp byte [0x14023753b], 0
jne 0x14003652a
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140036575
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140036575
movsd xmm0, qword [rbx + 0xac]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [rbx + 0xb4]
mov dword [rsp + 0x38], eax
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140039b50
cmp byte [0x140237058], 0
je 0x1400365a5
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400365a5
cmp esi, 0xc8
jb 0x1400365a5
cmp byte [0x14023753b], 0
sete byte [0x14023753b]
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14003673e
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140036160
mov rbx, rax
cmp byte [0x140237070], 0
je 0x140036716
mov eax, 8
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov ecx, dword [rax + rcx]
cmp dword [0x14023787c], ecx
jle 0x140036617
lea rcx, [0x14023787c]
call fcn.140109798
cmp dword [0x14023787c], 0xffffffff
jne 0x140036617
mov qword [0x140237880], 0
lea rcx, [0x14023787c]
call fcn.14010972c
mov eax, dword [reloc.WS2_32.dll_accept]
cmp dword [rbx + 0xe0], eax
jbe 0x14003670b
movss xmm4, dword [rbx + 0x90]
movss xmm3, dword [rbx + 0x94]
movss xmm1, dword [rbx + 0xe8]
movss xmm6, dword [0x14012bab4]
mulss xmm1, xmm6
movss xmm0, dword [0x140237884]
subss xmm0, xmm1
movaps xmm1, xmm3
addss xmm1, xmm0
subss xmm3, xmm1
movss xmm2, dword [rbx + 0x130]
mulss xmm2, dword [0x14012ba4c]
divss xmm3, xmm2
mulss xmm3, dword [0x140234790]
cvttss2si ebp, xmm3
movss xmm0, dword [rbx + 0xe4]
mulss xmm0, xmm6
movss xmm1, dword [0x140237880]
subss xmm1, xmm0
addss xmm1, xmm4
subss xmm4, xmm1
divss xmm4, xmm2
mulss xmm4, dword [0x140234794]
cvttss2si esi, xmm4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400366e1
neg esi
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, esi
mov edx, ebp
lea ecx, [r9 + 1]
call qword [sym.imp.USER32.dll_mouse_event]
movss xmm1, dword [rbx + 0xe8]
mulss xmm1, xmm6
movss xmm0, dword [rbx + 0xe4]
mulss xmm0, xmm6
movss dword [0x140237880], xmm0
movss dword [0x140237884], xmm1
jmp 0x140036716
mov qword [0x140237880], 0
lea rcx, [rbx + 0xc0]
call fcn.140009ec0
lea rcx, [rbx + 0x78]
call fcn.1400376f0
lea rcx, [rbx + 0x50]
call fcn.140009dc0
lea rcx, [rbx + 0x30]
call fcn.140009ec0
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x180]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
jmp fcn.140037670
Function at 0x140036760
Capabilities:
Hash data with crc32
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.14003ab70
cmp byte [0x14023705d], 0
je 0x140036806
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x140036806
cmp dword [rbx + 0x14], 0
je 0x140036806
lea rdx, str.Counter_Strike_2
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
test rax, rax
jne 0x1400367b7
lea rdx, str.Counter_Strike_2
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, byte [rbx + 0x120]
and cl, 1
test ax, ax
je 0x1400367f1
test cl, cl
je 0x1400367f1
xor r9d, r9d
mov edx, 0x101
lea r8d, [r9 + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x100
jmp 0x1400367f6
mov edx, 0x101
xor r9d, r9d
lea r8d, [r9 + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140032280
mov ecx, dword [rbx + 0x14]
call fcn.1400317e0
nop
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003695a
cmp dword [rbx + 0x14], 0
jne 0x140036837
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003695a
mov rcx, qword [0x140237140]
mov eax, dword [rcx + 0x47d0]
or eax, 1
mov dword [rcx + 0x47d0], eax
movsd xmm0, qword [0x140236e90]
movsd qword [rcx + 0x47e0], xmm0
xor edx, edx
mov qword [rcx + 0x47e8], rdx
mov dword [rcx + 0x47d4], 2
or eax, 0x40
mov dword [rcx + 0x47d0], eax
mov dword [rcx + 0x4830], 0x3f4ccccd
mov dword [rcx + 0x37e0], 0x41000000
lea r8d, [rdx + 0x63]
lea rcx, str.Watermark
call fcn.14005a4d0
cmp byte [0x140236e78], 0
je 0x140036915
mov r10d, 0xffffffff
mov ecx, r10d
lea r8, [0x140120fb1]
mov r9b, 0x57
lea r11, [0x140123b10]
cmp r9b, 0x23
jne 0x1400368d3
cmp byte [r8], r9b
jne 0x1400368d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
xor rdx, rax
shr ecx, 8
xor ecx, dword [r11 + rdx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x1400368c0
not ecx
call fcn.140057cf0
test rax, rax
je 0x14003690e
xor r8d, r8d
lea rdx, [0x140236e90]
mov rcx, rax
call fcn.14005cf90
mov byte [0x140236e78], 0
lea rcx, str.__Private_Store
call fcn.1400849f0
lea rcx, str.__Build_CS2_Kernel
call fcn.1400849f0
lea rcx, [0x1401237f0]
call fcn.1400849f0
mov rax, qword [0x140237140]
mov rcx, qword [rax + 0x3ef8]
movsd xmm0, qword [rcx + 0x20]
movsd qword [0x140236e90], xmm0
call fcn.14005c730
nop
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003e800
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140145080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov ecx, 0x50
call fcn.140109aac
mov rcx, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0x43
mov qword [rsp + 0x80], reloc.WLDAP32.dll_Ordinal_79
movaps xmm0, xmmword [str.https:__raw.githubusercontent.com_ByteCorum_DragonBurn_data_version]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140128690]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1401286a0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1401286b0]
movups xmmword [rax + 0x30], xmm1
movzx eax, word [0x1401286c0]
mov word [rcx + 0x40], ax
movzx eax, byte [0x1401286c2]
mov byte [rcx + 0x42], al
mov byte [rcx + 0x43], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
lea rcx, str.ping_google.com___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
je 0x14003e8d8
xor edi, edi
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
jmp 0x14003e958
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.1400099e0
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14003e230
test al, al
jne 0x14003e909
mov edi, 1
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
jmp 0x14003e958
lea rdx, [0x1402347b8]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [0x1402347b8]
lea rcx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x60]
cmp rsi, 0xf
cmova rcx, rbx
mov r8, qword [rsp + 0x58]
cmp r8, qword [reloc.WS2_32.dll_getsockopt]
jne 0x14003e953
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov edi, 3
je 0x14003e958
mov edi, 2
cmp rsi, 0xf
jbe 0x14003e992
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003e98a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e98a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140109df8
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x14003e9ec
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e9e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e9e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140109df8
mov eax, edi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401096d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret