joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400265f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401b72c0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140026653
mov qword [rsp], rbx
lea rbx, [0x1400c1200]
nop dword [rax]
cmp r9b, 0x23
jne 0x140026633
cmp byte [r8], r9b
jne 0x140026633
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140026620
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x61b0]
not eax
mov r8, qword [r10 + 0x61b8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002667f
cmp dword [r8 + 8], eax
je 0x140026686
add r8, 0x48
cmp r8, rcx
jne 0x140026670
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002b600
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14002b84e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400c1200]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14002b816
mov rcx, rbp
call fcn.14002a840
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14002b6d1
movsxd rdx, dword [rbp + 0x6158]
mov r8, qword [rbp + 0x6160]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14002b6c1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14002b6b9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14002b6bc
mov rdx, rcx
test rdx, rdx
jne 0x14002b690
cmp r8, r10
je 0x14002b6d1
cmp dword [r8], r9d
jne 0x14002b6d1
mov rcx, qword [r8 + 8]
jmp 0x14002b6d3
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc8]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x14002b767
cmp qword [rcx + 0x20], 0
jne 0x14002b75c
mov qword [rcx + 0x20], rbx
jmp 0x14002b767
cmp qword [rcx + 0x28], 0
jne 0x14002b767
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0x3fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14002b7ac
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002b7a0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, socket
lea rcx, [rsp + 0x20]
call fcn.140008f20
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14002b808
cmp r9b, 0x23
jne 0x14002b7eb
cmp byte [r8], r9b
jne 0x14002b7eb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14002b7d8
not ecx
call fcn.140012740
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x14002b650
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b7380
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400355a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
nop word [rax + rax]
mov word [rsp + 0x32], r14w
cmp edi, 0x100
jl 0x1400355f8
mov r8d, 0x4b9a
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.depth____1_____sizeof_node_settings.Depth_____3__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14003560f
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140035614
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14003563f
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14003563f
mov rax, qword [rax + 0x3b0]
test rax, rax
je 0x14003563f
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x140035644
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14003565e
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140035663
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
lea rdx, [rsp + 0x20]
and eax, 0x3fc20
mov byte [rsp + 0x31], dil
mov dword [rsp + 0x34], eax
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
lea rcx, [rsi + 0x20]
mov word [rsp + 0x42], ax
call fcn.140036b80
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400356d3
lea r8d, [rdi + 1]
mov rcx, rsi
call fcn.1400355a0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x1400356e3
inc edi
jmp 0x1400355d0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140066190
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rcx]
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x60]
mov r9d, edx
mov dword [rsp + 0x60], 1
mov ecx, r8d
lea rbp, [rsp + 0x60]
movabs rax, 0x20c49ba5e353f7cf
imul r8
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x34], eax
xor eax, eax
test r8, r8
cmovs rdi, rax
cmp r9d, 1
mov qword [rsp + 0x20], rdi
cmovne rsi, rax
test r9d, r9d
mov r8, rsi
cmovne rbp, rax
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14006626a
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140066270
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140066240
test ebx, ebx
je 0x14006629a
jmp 0x140066277
cmp ebx, 0xffffffff
je 0x1400662bd
jmp 0x14006626a
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b7380
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Request_timed_out
lea rcx, [rsp + 0x38]
call fcn.140066300
lea rdx, [0x1400ea3b0]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_select_socket
lea rcx, [rsp + 0x38]
call fcn.1400647a0
lea rdx, [0x1400ea180]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14006a6d0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x2f0
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], WSAGetLastError
xor eax, eax
mov rbx, rcx
lea rcx, [rsp + 0xe1]
mov dword [rsp + 0xd4], eax
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x1f3
mov byte [rsp + 0xe0], al
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rcx, rbx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400b7380
add rsp, 0x2f0
pop rbx
ret
Function at 0x14006b540
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14006b571
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.140064ad0
mov rdi, rax
mov rdx, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 0x15
jb 0x14006b78f
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006b5b1
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], socket
lea r9, str._CreateDir____Dir__
lea rcx, [rsp + 0x70]
call fcn.1400aa320
nop
mov r8d, send
lea rdx, str._Return_value_
lea rcx, [rsp + 0x70]
call fcn.1400aa1a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], send
mov byte [rax], 0
mov r9, rdi
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.1400af880
lea rcx, [rsp + 0x48]
call fcn.14006af60
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x14006b67e
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b678
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b678
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14006b6c1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b6bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b6bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
movdqa xmm0, xmmword [0x1400d9d70]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x14006b71e
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b718
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b718
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14006b754
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14006b74f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006b788
mov rcx, r8
call fcn.1400b7700
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400b7380
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400643c0
nop
int3
Function at 0x140073e60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov rdi, rcx
add rcx, 0x18
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140073e87
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [rdi + 0x64], 0x7fffffff
jne 0x140073ea3
mov ecx, 6
mov dword [rdi + 0x64], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x30], rbx
mov rbx, qword [rdi + 0x70]
mov qword [rsp + 0x38], rsi
mov rsi, qword [rdi + 0x78]
cmp rbx, rsi
je 0x140073edf
nop word [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140073ecc
xor al, al
jmp 0x140073ed2
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [rbx], al
add rbx, 0x28
cmp rbx, rsi
jne 0x140073ec0
mov rax, qword [rdi]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp rax, qword [rdi + 8]
je case.default.0x140073f08
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x18]
mov byte [rdi + 0x68], 0
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]

Function at 0x140073f10
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
push r15
sub rsp, 0x28
mov rdi, rcx
add rcx, 0x18
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140073f35
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [rdi + 0x64], 0x7fffffff
jne 0x140073f51
mov ecx, 6
mov dword [rdi + 0x64], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r14
xor r14b, r14b
mov qword [rsp + 0x40], rdi
cmp byte [rdi + 0x94], r14b
je 0x140073f7d
call fcn.14006b7a0
test al, al
je 0x140073f7d
mov r14b, 1
xor sil, sil
jmp 0x140073f8a
lea rcx, [rsp + 0x40]
call fcn.140074020
movzx esi, al
cmp dword [rdi + 0x90], 1
jne 0x140073fed
test sil, sil
jne 0x140073fed
mov qword [rsp + 0x48], rbx
mov rbx, qword [rdi + 0x70]
mov qword [rsp + 0x50], rbp
mov rbp, qword [rdi + 0x78]
mov rcx, rbp
sub rcx, rbx
sub rcx, 0x28
cmp rcx, 0x28
jb 0x140073fbf
test r14b, r14b
je 0x140073fe3
cmp rbx, rbp
je 0x140073fe3
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x140073fd0
xor al, al
jmp 0x140073fd6
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [rbx], al
add rbx, 0x28
cmp rbx, rbp
jne 0x140073fc4
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
cmp byte [rdi + 0x97], 0
mov r14, qword [rsp + 0x20]
je 0x140073fff
xor sil, 1
lea rcx, [rdi + 0x18]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, sil
mov rsi, qword [rsp + 0x58]
add rsp, 0x28
pop r15
pop rdi
ret
Function at 0x140074290
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0x6666666666666667
mov rcx, qword [rcx]
mov rdi, qword [rcx + 0x78]
mov rbx, qword [rcx + 0x70]
mov rdx, rdi
sub rdx, rbx
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400743b9
mov ecx, dword [rcx + 0x90]
test ecx, ecx
je 0x1400743cb
cmp ecx, 1
jne 0x1400743b9
cmp rbx, rdi
je 0x140074329
cmp byte [rbx], 0
mov ecx, dword [rbx + 4]
je 0x14007430d
cmp ecx, 0xffffffff
jne 0x140074303
xor al, al
not al
jmp 0x14007431c
call qword [sym.imp.USER32.dll_GetKeyState]
not al
jmp 0x14007431c
cmp ecx, 0xffffffff
jne 0x140074316
xor al, al
jmp 0x14007431c
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x14007433b
add rbx, 0x28
cmp rbx, rdi
jne 0x1400742f0
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsi]
mov rdi, qword [rax + 0x78]
mov rbx, qword [rax + 0x70]
cmp rbx, rdi
je 0x1400743b9
nop dword [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x14007435c
xor eax, eax
jmp 0x140074363
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
jne 0x1400743b0
cmp byte [rbx], 0
mov ecx, dword [rbx + 4]
je 0x140074387
cmp ecx, 0xffffffff
jne 0x14007437d
xor al, al
not al
jmp 0x140074396
call qword [sym.imp.USER32.dll_GetKeyState]
not al
jmp 0x140074396
cmp ecx, 0xffffffff
jne 0x140074390
xor al, al
jmp 0x140074396
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x1400743b0
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x1400743a6
xor al, al
jmp 0x1400743ac
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [rbx], al
add rbx, 0x28
cmp rbx, rdi
jne 0x140074350
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsi + 8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x70]
mov rdi, qword [rcx + 0x78]
cmp rbx, rdi
je 0x140074329
mov ecx, dword [rbx + 4]
cmp ecx, 0xffffffff
jne 0x1400743ef
xor eax, eax
jmp 0x1400743f6
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0xf
test al, 1
je 0x1400743b9
add rbx, 0x28
cmp rbx, rdi
jne 0x1400743e3
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14007a030
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
cmp byte [0x140190c86], r15b
je 0x14007a0d3
mov rdx, qword [rdx + 0x18]
cmp rdx, 0xf
jbe 0x14007a0a3
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14007a09e
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007a1c0
mov rcx, r8
call fcn.1400b7700
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b7380
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp byte [rcx + 0x50], 0
jne 0x14007a069
mov byte [rcx + 0x50], 1
mov rbp, qword [0x1401b7f30]
lea rax, [rbp + 1]
mov qword [0x1401b7f30], rax
cmp byte [rcx], 0
je 0x14007a14a
cmp dword [rcx + 0x60], 0
jne 0x14007a106
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsi + 0x60], eax
jne 0x14007a11d
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rsi + 0x58]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14007a143
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov byte [rsi], 1
mov ecx, 0x38
call fcn.1400b7ae4
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rax], r14d
mov qword [rax + 8], rbp
lea rcx, [rax + 0x10]
mov rdx, rdi
call fcn.14006f450
mov qword [rbx + 0x30], rsi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x1400b49a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14007a1ce
cmp dword [rsi + 0x60], 0
jne 0x14007a1c7
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x58], xmm1
mov rdx, qword [rdi + 0x18]
jmp 0x14007a06d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14008e8e0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x150
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbp, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x14008ea0f
mov qword [rsp + 0x168], rbx
lea rdx, [rsp + 0x40]
mov r8d, 0x100
mov qword [rsp + 0x170], rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
movups xmmword [rsp + 0x20], xmm0
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008e960
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14006a470
cmp qword [0x1401b7d98], 0xf
lea rdx, [0x1401b7d80]
mov rsi, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
cmova rdx, qword [0x1401b7d80]
cmp rsi, 0xf
mov rbx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
cmova rcx, rbx
cmp r8, qword [0x1401b7d90]
jne 0x14008e9be
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008e9c5
mov qword [rbp + 0x108], rdi
cmp rsi, 0xf
jbe 0x14008e9ff
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14008e9f7
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e9f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400b7700
mov rbx, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400b7380
mov rbp, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
ret
Function at 0x1400a4120
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0x120], rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x1401b32a0]
add rcx, 0x2faf080
cmp rcx, rax
jge 0x1400a419a
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x1401b32a0], rax
mov rcx, qword [0x1401b7e78]
mov rdx, qword [0x1401b7e80]
cmp rcx, rdx
je 0x1400a418b
call fcn.1400ae8d0
mov rax, qword [0x1401b7e78]
mov qword [0x1401b7e80], rax
xor edx, edx
lea rcx, [0x14006cf30]
call qword [sym.imp.USER32.dll_EnumWindows]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x1401b32a8]
add rcx, 0x1e8480
xor edi, edi
cmp rcx, rax
jge 0x1400a4281
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x1401b32a8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [0x1401b3740], rax
mov r8d, 0xc8
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1400a4205
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14006a470
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
lea rcx, [0x1401b3748]
call fcn.1400ab320
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400a4281
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a427c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a427c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rbx, rax
sub rax, qword [0x1401b3298]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmmword [0x1400d9bf8]
jbe 0x1400a430f
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov ecx, 0x20
call fcn.1400b7ae4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], reloc.WS2_32.dll_send
mov qword [rsp + 0x40], 0x1f
movups xmm0, xmmword [str._SETTINGS__AutoSave]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400d7d88]
mov word [rax + 0x10], cx
movzx ecx, byte [0x1400d7d8a]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
lea rcx, [rsp + 0x28]
call fcn.14006af60
mov qword [0x1401b3298], rbx
call fcn.140097ed0
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400b7380
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rdi
ret