joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400162d0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.start
lea rcx, [rsp + 0x30]
call fcn.140004290
nop
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140014860
lea rcx, [rsp + 0x30]
call fcn.140008ec0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14001635f
lea rdx, str.Failed_to_open_URL:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002bb0
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.140002bb0
mov qword [rsp + 0x28], rax
lea rdx, [0x140012ea0]
mov rcx, qword [rsp + 0x28]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x30]
call fcn.1400048c0
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400f2a60
add rsp, 0x68
ret
Function at 0x140017210
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 0x140017244
xor eax, eax
jmp 0x140017441
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140017276
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 0x140017441
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 0x140017328
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140003fd0
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.140008f00
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 0x140017431
mov rcx, qword [rsp + 0x80]
call fcn.140015170
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400173de
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 0x1400173d9
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140017441
jmp 0x140017354
cmp qword [rsp + 0x50], 0
jbe 0x140017431
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.1400f2a60
add rsp, 0x78
ret
Function at 0x140017460
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 0x140017499
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 0x140017588
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 0x140017530
cmp qword [rsp + 0x20], 0
jle 0x140017530
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400174d9
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.140008f00
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 0x140017578
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140017578
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 0x1400260a0
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.140004430
nop
mov eax, dword [rsp + 0x88]
and eax, 1
test eax, eax
je 0x14002617b
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_sendto
call fcn.140026360
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_send
call fcn.140026360
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.140026360
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.140026360
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.140004430
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14000d280
nop
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x14002622a
mov edx, dword [rsp + 0x90]
mov ecx, 7
call fcn.140026360
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 6
call fcn.140026360
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.140026360
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 4
call fcn.140026360
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.140004430
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14000d280
nop
mov eax, dword [rsp + 0x88]
and eax, 4
test eax, eax
je 0x1400262d9
mov edx, dword [rsp + 0x90]
mov ecx, ntohs
call fcn.140026360
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0xa
call fcn.140026360
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.140026360
movss dword [rsp + 0x44], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 8
call fcn.140026360
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.140004430
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14000d280
nop
movss xmm0, dword [rsp + 0x98]
ucomiss xmm0, dword [0x1400fa0c0]
jp 0x1400262ed
je 0x140026315
mov ecx, reloc.WS2_32.dll_ntohl
call fcn.140028cb0
movzx eax, al
test eax, eax
je 0x140026315
movss xmm1, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
call fcn.14001b360
nop
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x1400fa0c0]
jp 0x140026329
je 0x140026351
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.140028cb0
movzx eax, al
test eax, eax
je 0x140026351
movss xmm1, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.14001b360
nop
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x140026d90
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 0x140026dbd
mov rax, qword [rsp + 0x70]
mov qword [rax], 0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.140026f10
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140026de0
xor eax, eax
jmp 0x140026f01
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 0x140026e21
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 0x140026e21
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 0x140026e33
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
jmp 0x140026f01
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.140029ec0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140026e74
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
jmp 0x140026f01
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 0x140026eae
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.140029f20
xor eax, eax
jmp 0x140026f01
cmp dword [rsp + 0x78], 0
jle 0x140026edb
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 0x140026efc
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 0x140027290
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, [0x1409611c0]
cmp dword [rcx + rax], 0
jne 0x140027332
mov dword [rsp + 0x2c], 0xedb88320
mov dword [rsp + 0xc], 0
jmp 0x1400272d4
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0x100
jae 0x140027332
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x10], eax
mov dword [rsp + 0x20], 0
jmp 0x1400272fa
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 8
jae 0x14002731e
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 0x1400272f0
mov eax, dword [rsp + 0xc]
lea rcx, [0x1409611c0]
mov edx, dword [rsp + 0x10]
mov dword [rcx + rax*4], edx
jmp 0x1400272ca
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 0x1400273b5
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 0x1400273b0
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, [0x1409611c0]
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 0x140027355
jmp 0x140027449
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 0x140027449
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14002741d
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14002741d
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14002741d
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, [0x1409611c0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400273b5
mov eax, dword [rsp + 4]
not eax
add rsp, 0x38
ret
Function at 0x140030d80
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 [0x140961140]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
xorps xmm0, xmm0
movss dword [rax + 0x2d9c], xmm0
cmp qword [rsp + 0x60], 0
jne 0x140030dbe
jmp 0x140030e1c
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.140030e30
mov qword [rsp + 0x30], rax
lea rdx, [0x1400fb630]
mov rcx, qword [rsp + 0x60]
call fcn.140026f10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140030df6
jmp 0x140030e1c
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.1400f2a60
add rsp, 0x58
ret
Function at 0x14004ec00
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14095fe80]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140026000
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1409616e0]
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.140004430
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 [0x1409616e8]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1409616f0]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1409616e8], rax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004eccd
mov dword [rsp + 0x28], 1
jmp 0x14004ecd5
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 0x14004ed04
mov dword [rsp + 0x2c], 1
jmp 0x14004ed0c
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 0x14004ed3b
mov dword [rsp + 0x30], 1
jmp 0x14004ed43
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.14004eef0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc8]
test eax, eax
je 0x14004ed7e
mov dword [rsp + 0x34], 0xffffffff
jmp 0x14004ed87
call fcn.140026090
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 0x14004edab
mov eax, dword [rsp + 0x38]
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.14004edd0
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f2a60
add rsp, 0x78
ret
Function at 0x140054940
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 0x140054968
xorps xmm0, xmm0
jmp 0x140054b37
movss xmm0, dword [rsp + 0x80]
ucomiss xmm0, dword [0x1400fa2b8]
jp 0x14005497c
je 0x140054991
cmp dword [rsp + 0x60], 4
je 0x14005498a
cmp dword [rsp + 0x60], 5
jne 0x140054991
mov byte [rsp + 0x20], 1
jmp 0x140054996
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 0x1400549c1
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
call fcn.14004f3b0
mov dword [rsp + 0x28], eax
jmp 0x1400549d7
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x68]
call fcn.14004f3b0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140054b13
cvtsi2ss xmm0, dword [rsp + 0x24]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140054a88
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.14004f6d0
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.140057730
movss xmm1, dword [0x1400fa2b8]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x88]
jmp 0x140054b37
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.140035f00
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.140035f00
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.140057730
movss xmm1, dword [0x1400fa2b8]
subss xmm1, dword [rsp + 0x88]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0x88]
addss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140054b37
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
Function at 0x140054b40
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 0x140054b68
xorps xmm0, xmm0
jmp 0x140054d48
movss xmm0, dword [rsp + 0x80]
ucomiss xmm0, dword [0x1400fa2b8]
jp 0x140054b7c
je 0x140054b91
cmp dword [rsp + 0x60], 4
je 0x140054b8a
cmp dword [rsp + 0x60], 5
jne 0x140054b91
mov byte [rsp + 0x20], 1
jmp 0x140054b96
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
jae 0x140054bc1
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
call fcn.14004f400
mov dword [rsp + 0x28], eax
jmp 0x140054bd7
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x68]
call fcn.14004f400
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140054d1e
mov eax, dword [rsp + 0x24]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140054c8f
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.14004f700
sub eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
xor edx, edx
mov ecx, dword [rsp + 0x2c]
mov eax, ecx
mov ecx, dword [rsp + 0x30]
div ecx
mov eax, eax
cvtsi2ss xmm0, rax
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.140057730
movss xmm1, dword [0x1400fa2b8]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x88]
jmp 0x140054d48
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.14004f5e0
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.14004f5e0
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
xor edx, edx
mov ecx, dword [rsp + 0x38]
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
div ecx
mov eax, eax
cvtsi2ss xmm0, rax
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [0x1400fa2b8]
divss xmm0, dword [rsp + 0x80]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x40]
call fcn.140057730
movss xmm1, dword [0x1400fa2b8]
subss xmm1, dword [rsp + 0x88]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0x88]
addss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140054d48
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm1, rax
divss xmm0, xmm1
add rsp, 0x58
ret