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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x7ff65c602f84
cmp r8d, 0xff
jne 0x7ff65c602ec1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x7ff65c602eab
lea r8, [0x7ff65c4d0000]
mov r9, qword [r8 + r10*8 + 0x15cf80]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.7ff65c5df6a0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.7ff65c5df6a0
cmp r8d, 0xfb
jne 0x7ff65c602ed3
lea r9, str.WILL
jmp 0x7ff65c602f11
cmp r8d, 0xfc
jne 0x7ff65c602ee5
lea r9, str.WONT
jmp 0x7ff65c602f11
cmp r8d, 0xfd
jne 0x7ff65c602ef7
lea r9, [0x7ff65c62d9a4]
jmp 0x7ff65c602f11
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x7ff65c602f6d
cmp r10d, 0x27
jg 0x7ff65c602f44
lea r8, [0x7ff65c4d0000]
mov r8, qword [r8 + r10*8 + 0x15d5a0]
test r8, r8
jne 0x7ff65c602f54
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.7ff65c5df6a0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x7ff65c602f2b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.7ff65c5df6a0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.7ff65c5df6a0
add rsp, 0x38
ret

Function at 0x7ff65c6032d0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.ws2_32.dll_send]
test eax, eax
jns 0x7ff65c60332f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.7ff65c5df520
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.7ff65c602e60
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff65c6034e0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x7ff65c603688
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x7ff65c603545
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x7ff65c603545
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x7ff65c603545
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.ws2_32.dll_htons_1]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.ws2_32.dll_htons_1]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x7ff65c60357c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x7ff65c6035d2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff65c6035d2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff65c6035d2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff65c6035d2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff65c6035d2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.7ff65c602f90
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.ws2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x7ff65c603634
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.7ff65c5df520
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.7ff65c603360
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.ws2_32.dll_send]
test eax, eax
jns 0x7ff65c603680
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.7ff65c5df520
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x7ff65c604df0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x7ff65c659080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ws2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x7ff65c604e85
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.vcruntime140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x7ff65c604ee6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.7ff65c5df520
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.7ff65c6194b0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x7ff65c604fa1
sub ecx, 1
je 0x7ff65c605014
sub ecx, 1
je 0x7ff65c604f50
cmp ecx, 1
je 0x7ff65c604f33
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x7ff65c63f1bc]
call fcn.7ff65c5df520
jmp 0x7ff65c605014
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.7ff65c604b20
test eax, eax
je 0x7ff65c605014
jmp 0x7ff65c604eba
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.vcruntime140.dll_memchr
test rax, rax
je 0x7ff65c605014
sub rax, rsi
cmp rax, rbp
jae 0x7ff65c605014
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.7ff65c5df6a0
jmp 0x7ff65c605014
cmp r8d, 4
jle 0x7ff65c605014
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x7ff65c605014
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.7ff65c5df440
mov esi, eax
test eax, eax
je 0x7ff65c604ff3
mov edx, 5
mov rcx, rbx
call fcn.7ff65c605ae0
mov eax, esi
jmp 0x7ff65c604eba
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.7ff65c5edf10
mov rcx, r14
call fcn.7ff65c5ee1f0
test eax, eax
je 0x7ff65c604eb8
mov edx, 5
mov rcx, rbx
call fcn.7ff65c605ae0
mov eax, 0x2a
jmp 0x7ff65c604eba
Function at 0x1800084d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
not r8d
mov r9d, 4
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x180001270]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x1800084d9
not r8d
mov eax, r8d
ret

Function at 0x180008504
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18000855e
mov r11b, 0x23
lea rbx, [0x180001270]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x180008548
cmp rdx, 2
jb 0x180008548
cmp byte [r10], r11b
jne 0x180008548
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x180008526
jmp 0x18000859f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000859f
mov r11b, 0x23
lea rbx, [0x180001270]
cmp dl, r11b
jne 0x180008583
cmp byte [r10], r11b
jne 0x180008583
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x180008571
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x180008698
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x1800086b8
and qword [r8], 0
lea rdx, [0x180005320]
call fcn.1800085b0
mov rbx, rax
test rax, rax
je 0x1800087a9
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1800087a0
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800087a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800087a0
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 0x1800087a0
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1800087a0
mov rax, qword [0x18003db00]
test rax, rax
je 0x18000873d
inc dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1800087a0
mov r9, rbx
mov r8, rbp
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, rbp
je 0x18000878d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18003db00]
test rax, rax
je 0x180008782
dec dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800087a9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18000879b
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1800087ab
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800155a8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x18003db00]
cmp byte [rbx + 0x2f30], 0
je 0x180015669
cmp qword [rbx + 0x2f38], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x2f40]
je 0x18001565b
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x180015613
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180016a6c
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.180008d8c
mov eax, dword [rdi]
mov r9, qword [rbx + 0x2f38]
lea ecx, [rax - 1]
neg eax
mov rax, qword [rbx + 0x2f48]
sbb edx, edx
and edx, ecx
lea rcx, [0x18003daf8]
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180015669
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.180008d8c
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x180015c0c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x18003db00]
mov rbx, rcx
and dword [rax + 0x2ef8], 0
test rcx, rcx
je 0x180015c75
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.180015c80
lea rdx, [0x180005324]
mov rcx, rbx
mov rdi, rax
call fcn.1800085b0
mov rbx, rax
test rax, rax
je 0x180015c75
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18001e924
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x18001eab2
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
mov edi, r9d
comiss xmm3, dword [0x180006188]
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
movaps xmmword [rax - 0x18], xmm6
jbe 0x18001e996
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.18001e374
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.18001dc74
and dword [rbx + 0x80], 0
jmp 0x18001ea99
mov edx, 6
lea r8d, [rdx - 2]
call fcn.18001ce5c
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm5, dword [rax]
movss xmm6, dword [rax + 4]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x180024354
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18003d040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x18003dce0]
lea rdx, [rbp - 0x28]
mov rdi, qword [0x18003db00]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x20]
lea rcx, [rbp - 0x10]
sub eax, dword [rbp - 0x28]
movd xmm1, eax
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x10]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x18003dce8]
cvtsi2ss xmm0, qword [0x18003dcf0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x18003dce8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x18003db00]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x14b], 0
mov byte [rdi + 0x14a], al
cmp byte [rcx + 0x3a3], 0
lea rbx, [rcx + 0x130]
je 0x18002447d
cvttss2si eax, dword [rbx]
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x18], eax
cvttss2si eax, dword [rcx + 0x134]
mov rcx, qword [0x18003dce0]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1800244e7
mov rdx, qword [0x18003dce0]
cmp rax, rdx
je 0x1800244ab
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1800244e7
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1800244e7
mov rcx, qword [0x18003dce0]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1800244e7
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x1800244f5
or eax, 0xffffffff
jmp 0x180024502
mov rax, qword [0x18003db00]
mov eax, dword [rax + 0x1e90]
cmp dword [0x18003d430], eax
je 0x180024515
mov dword [0x18003d430], eax
call fcn.180024000
call fcn.1800240b0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180039c90
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x18002f964
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18002f9c8
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18002f9b6
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18002f9af
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18002f983
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18003db10]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18002f9d8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x18003d040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18003e1b0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18002fa1d
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18002fa53
mov eax, 0xa
jmp 0x18002fae2
test esi, esi
je 0x18002fa75
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18002fa96
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18002fa96
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18002fa90
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18002fa96
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180039c90
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x18002ff38
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18002ff4f
cmp r8b, 0x90
je 0x18002ff4f
cmp r8b, 0xcc
jne 0x18002ff71
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18002ff6d
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18002ff71
add edx, r10d
cmp edx, r9d
jb 0x18002ff5d
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180030da0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
sub rsp, 0x30
xor eax, eax
mov dword [rbp - 0x10], 0x41415f68
mov rbx, rcx
mov byte [rbp - 8], al
lea rcx, [rbp - 0x10]
mov dword [rbp - 0xc], 0x747f6e55
mov rdi, r8
call fcn.180038cd0
mov rdx, rax
mov rcx, r8
call fcn.180039c28
test rax, rax
je 0x180030df3
mov eax, 0xc
jmp 0x180030f5e
mov dword [rbp + 0x28], 0x5c5b5f6f
xor edx, edx
mov dword [rbp + 0x2c], 0x405458
movsxd rcx, edx
lea eax, [rdx + 0x2c]
inc edx
xor byte [rbp + rcx + 0x28], al
cmp edx, 7
jb 0x180030e03
lea rdx, [rbp + 0x28]
mov byte [rbp + 0x2f], 0
mov rcx, rdi
call fcn.180039c28
test rax, rax
je 0x180030e33
mov eax, 0xf
jmp 0x180030f5e
cmp byte [0x18003db64], 0
je 0x180030e6b
xor eax, eax
mov dword [rbp + 0x28], 0x41415f65
lea rcx, [rbp + 0x28]
mov byte [rbp + 0x2c], al
call fcn.180038c4c
mov rdx, rax
mov rcx, rdi
call fcn.180039c28
test rax, rax
je 0x180030e6b
mov eax, 9
jmp 0x180030f5e
mov dword [rbp - 0x10], 0x5b5d4868
xor edx, edx
mov dword [rbp - 0xc], 0x564b5e42
mov word [rbp - 8], 0x46
movsxd rcx, edx
lea eax, [rdx + 0x2c]
inc edx
xor byte [rbp + rcx - 0x10], al
cmp edx, 9
jb 0x180030e81
lea rdx, [rbp - 0x10]
mov byte [rbp - 7], 0
mov rcx, rdi
call fcn.180039c28
test rax, rax
je 0x180030eb1
mov eax, 0x4b
jmp 0x180030f5e
xor eax, eax
mov dword [rbp + 0x28], 0x5d5c5878
mov byte [rbp + 0x2e], al
xor edx, edx
mov word [rbp + 0x2c], 0x4555
movsxd rcx, edx
lea eax, [rdx + 0x2c]
inc edx
xor byte [rbp + rcx + 0x28], al
cmp edx, 6
jb 0x180030ec5
lea rdx, [rbp + 0x28]
mov byte [rbp + 0x2e], 0
mov rcx, rdi
call fcn.180039c28
test rax, rax
je 0x180030f1c
mov dword [rbp - 0x10], 0x4a40424e
xor edx, edx
mov dword [rbp - 0xc], 0x5257596f
mov word [rbp - 8], 0x50
movsxd rcx, edx
lea eax, [rdx + 0x2c]
inc edx
xor byte [rbp + rcx - 0x10], al
cmp edx, 9
jb 0x180030f01
mov byte [rbp - 7], 0
lea rdx, [rbp - 0x10]
jmp 0x180030f50
xor eax, eax
mov dword [rbp - 0x10], 0x1f5e446e
mov byte [rbp - 6], al
xor edx, edx
mov dword [rbp - 0xc], 0x567a1101
mov word [rbp - 8], 0x5155
movsxd rcx, edx
lea eax, [rdx + 0x2c]
inc edx
xor byte [rbp + rcx - 0x10], al
cmp edx, 0xa
jb 0x180030f37
mov byte [rbp - 6], 0
lea rdx, [rbp - 0x10]
mov rax, qword [rbx]
mov rcx, rbx
mov r8, qword [rax + 0x18]
call r8
cwde
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret