joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007e80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x140007ea0
mov dword [rcx], 0x270
mov rax, rcx
ret

Function at 0x140008b00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140008b61
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140008b20
mov ecx, dword [r9]
jmp 0x140008c4b
cmp ecx, 0x4e0
jb 0x140008c4b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140008b80
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140008bd0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140009a14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009a5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009a5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009a5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009a5e
cmp dword [rcx + 0x84], 0xe
jbe 0x140009a5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140009a60
xor al, al
add rsp, 0x28
ret
Function at 0x14000f94c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f9bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f9bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f9bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f9bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f9bb
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f9bb
cmp dword [rcx + 0xf8], 0
je 0x14000f9bb
mov ecx, ebx
call fcn.14000fa60
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f854
nop
cmp dword [rbp + 0x20], 0
jne 0x14000fa1c
call fcn.140013454
cmp eax, 1
jne 0x14000fa0c
xor dl, dl
jmp 0x14000fa16
call fcn.140013420
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14000fa27
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fa30
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000f94c

Function at 0x14000fb34
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f94c
Function at 0x140012e10
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140012e40
xor eax, eax
jmp 0x140012f03
mov rbp, rbx
cmp word [rax], si
je 0x140012e65
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140012e4c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140012e48
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140012d30
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x140012ea6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140012e39
call fcn.140013d00
mov rdi, rax
test rax, rax
jne 0x140012ebc
xor ecx, ecx
call fcn.140011310
jmp 0x140012e9b
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140012d30
test eax, eax
jne 0x140012eed
mov rcx, rdi
call fcn.140011310
jmp 0x140012ef7
xor ecx, ecx
call fcn.140011310
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001620c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140011de8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140016296
cmp byte [rbp - 0x21], r15b
je 0x140016291
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400162cc
call fcn.140010edc
test eax, eax
jne 0x1400162b8
cmp byte [rbp - 0x21], r15b
je 0x1400162b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400162cc
cmp byte [rbp - 0x21], r15b
je 0x1400162c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001137c
test eax, eax
jne 0x14001636c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140011de8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001630b
cmp byte [rbp - 0x21], r15b
je 0x140016340
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140016340
call fcn.140010edc
test eax, eax
jne 0x14001632c
cmp byte [rbp - 0x21], r15b
je 0x140016325
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140016340
cmp byte [rbp - 0x21], r15b
je 0x14001633d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001137c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001636c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001636f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001637d
mov rcx, rdi
call fcn.140011310
cmp byte [rbp + 0x3f], r15b
je 0x14001638c
mov rcx, qword [rbp + 0x27]
call fcn.140011310
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140018850
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140018878
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140018878
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14002773c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x140027763
and qword [r8], 0
call fcn.140027848
mov rbx, rax
test rax, rax
je 0x14002782b
mov rcx, rax
call fcn.1400276c4
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140027822
mov rax, qword [0x140102ef8]
test rax, rax
je 0x14002779b
inc dword [rax + 0xf4]
mov rdx, qword [0x140102f08]
lea rcx, [rdi + rbp]
call qword [0x140102068]
mov rsi, rax
test rax, rax
je 0x140027822
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x1400277fa
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140102ef8]
test rax, rax
je 0x1400277e8
dec dword [rax + 0xf4]
mov rdx, qword [0x140102f08]
mov rcx, rsi
call qword [0x140102070]
jmp 0x14002782b
test ebp, ebp
jle 0x14002780c
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14002781d
mov qword [r14], rdi
mov rax, rsi
jmp 0x14002782d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140027ba0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x140027bce
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1400d4120]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x140027bab
not r8d
mov eax, r8d
ret

Function at 0x140027bd8
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 0x140027c32
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x1400d4120]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x140027c1c
cmp rdx, 2
jb 0x140027c1c
cmp byte [r10], r11b
jne 0x140027c1c
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 0x140027bfa
jmp 0x140027c73
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140027c73
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x1400d4120]
cmp dl, r11b
jne 0x140027c57
cmp byte [r10], r11b
jne 0x140027c57
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 0x140027c45
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x140029b0c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140029ba5
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x140029b5d
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140035fb8
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400356b4
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140102f00]
movsxd r8, eax
mov rax, qword [rdi + 0x5c90]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140029bad
mov rcx, rbx
call fcn.1400356b4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140030d58
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140102ef8]
mov rbx, rcx
and dword [rax + 0x5be4], 0
test rcx, rcx
je 0x140030dc1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140030dcc
lea rdx, [0x1400d5adc]
mov rcx, rbx
mov rdi, rax
call fcn.140027848
mov rbx, rax
test rax, rax
je 0x140030dc1
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 0x14005c228
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140044d84
call fcn.140045bd8
call fcn.14002d394
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005c267
cmp byte [0x140102f64], 0
sete byte [0x140102f64]
call fcn.140062eb4
test al, al
je 0x14005c283
call fcn.140061d48
cmp byte [0x140102f64], 0
je 0x14005c283
call fcn.140060eb0
call fcn.14002ea5c
mov rcx, qword [0x140102f80]
lea r8, [0x140102f90]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x20], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140102f80]
lea r8, [rsp + 0x20]
mov rdx, qword [0x140102f90]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140026a08
mov rcx, rax
call fcn.140044db4
mov rcx, qword [0x140102f88]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x48
ret

Function at 0x14005d380
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm1, xmm1
mov rdi, rcx
cvtss2sd xmm1, xmm2
lea rcx, [rsp + 0x38]
mov rbx, r9
mov rsi, rdx
call fcn.14006502c
cmp qword [rsp + 0x50], 0xf
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x58]
cmova r8, qword [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14005d423
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d41e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d41e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfa98
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005d44c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov dword [rbp - 0x40], 0x4440466f
mov ecx, ebx
mov dword [rbp - 0x3c], 0x4c5e684a
mov dword [rbp - 0x38], 0x544d4758
mov word [rbp - 0x34], 0x100
lea eax, [rcx + 0x22]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xc
jb 0x14005d489
movdqa xmm0, xmmword [0x1400dc080]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x33], bl
mov word [rbp - 0x20], 0x41
mov byte [rbp - 0x1e], 1
lea eax, [rcx + 0x22]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x11
jb 0x14005d4b6
lea rdx, [rbp - 0x40]
mov byte [rbp - 0x1e], bl
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140102f70], rax
test rax, rax
je 0x14005d558
movdqa xmm0, xmmword [0x1400dbed0]
lea rdx, [rbp - 0x18]
mov rcx, rax
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x140102f70]
xor r9d, r9d
mov dword [rsp + 0x30], 0x40
xor r8d, r8d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140102f70]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140102f70]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cfb30
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x14005d578
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword [0x140102f70]
xor edi, edi
mov qword [rbp + 7], rax
xor r9d, r9d
lea rax, [0x140102f80]
mov qword [rbp - 0x15], rdi
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rax, [rbp - 0x39]
mov qword [rbp - 1], 2
mov qword [rsp + 0x50], rax
lea edx, [rdi + 1]
lea rax, [0x140102f78]
mov qword [rbp + 0x17], 2
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [0x140102f88]
mov qword [rbp - 0x29], rdi
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x49]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x19], Ordinal_30
mov dword [rbp - 0x21], reloc.WLDAP32.dll_Ordinal_60
mov dword [rbp - 0x1d], 1
mov dword [rbp - 5], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0xd], 1
mov qword [rbp + 0xf], 1
mov dword [rbp - 0x49], 0xb000
mov dword [rbp - 0x45], 0xa000
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
mov rcx, qword [0x140102f88]
lea r9, [rbp - 0x41]
lea r8, [0x1400dada8]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x140102f78]
lea r9, [0x140102f90]
mov rdx, qword [rbp - 0x41]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x30], 2
lea r9d, [rdi + 8]
mov qword [rsp + 0x28], reloc.WS2_32.dll_sendto
lea rcx, str.1.89.7_WIP
mov edx, 0x37c8
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x42c
call fcn.140024500
xor ecx, ecx
call fcn.1400242c8
call fcn.140027330
mov edx, 0x3f800000
mov ecx, 0x40400000
mov dword [rax + 0x48], edx
mov qword [rax + 0x40], rdi
mov dword [rax + 0x3c], 0x40800000
mov dword [rax + 0x80], ecx
mov dword [rax + 0x88], edi
mov dword [rax + 0x8c], edx
mov dword [rax + 0x74], ecx
mov dword [rax + 0x20], 0x3f000000
call fcn.140026be4
movdqa xmm0, xmmword [0x1400dc070]
mov edx, edi
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x37], 0x4751656e
mov rcx, qword [rax + 0x50]
mov dword [rbp + 0x3b], 0x58565652
mov dword [rbp + 0x3f], 0x5b484f14
mov word [rbp + 0x43], 0x100
lea eax, [rdx + 0x22]
xor byte [rbp + rdx + 0x27], al
inc rdx
cmp rdx, 0x1c
jb 0x14005d73e
movss xmm2, dword [0x1400d5ee0]
lea rdx, [rbp + 0x27]
xor r9d, r9d
mov byte [rbp + 0x44], dil
mov qword [rsp + 0x20], rdi
call fcn.140037770
mov rcx, qword [0x140102f70]
mov qword [0x1401033c0], rax
call fcn.140045a68
mov rdx, qword [0x140102f80]
mov rcx, qword [0x140102f78]
call fcn.140044b58
mov rcx, qword [0x140102f78]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400cfb30
mov rdi, qword [rsp + 0x110]
add rsp, 0x100
pop rbp
ret
Function at 0x14005df74
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call fcn.14005e970
xor r8d, r8d
mov dword [rsp + 0x20], 0x41d1c
mov byte [rsp + 0x24], 1
lea eax, [r8 + 0x22]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 3
jb 0x14005dfa1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x24], 0
call fcn.140058358
call fcn.14005e9b8
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rbx
call fcn.140058358
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x30
pop rbx
ret

Function at 0x14005dff0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call fcn.14005e94c
xor r8d, r8d
mov dword [rsp + 0x20], 0x41d1c
mov byte [rsp + 0x24], 1
lea eax, [r8 + 0x22]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 3
jb 0x14005e01d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x24], 0
call fcn.140058358
call fcn.14005e9b8
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rbx
call fcn.140058358
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x30
pop rbx
ret

Function at 0x14005e06c
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call fcn.14005e994
xor r8d, r8d
mov dword [rsp + 0x20], 0x41d1c
mov byte [rsp + 0x24], 1
lea eax, [r8 + 0x22]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 3
jb 0x14005e099
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x24], 0
call fcn.140058358
call fcn.14005e9b8
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rbx
call fcn.140058358
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cfb30
add rsp, 0x30
pop rbx
ret
Function at 0x14005e0e8
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rsi
sub rsp, 0x60
xorps xmm0, xmm0
xor esi, esi
movups xmmword [rax - 0x38], xmm0
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
mov rcx, qword [0x140102f70]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140102f70]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [0x140102f70]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005e15e
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.140026be4
mov rcx, qword [0x140102f70]
mov rbx, rax
mov qword [rax + 0xc8], rcx
lea rcx, [rsp + 0x70]
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x70]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
movd xmm0, dword [rsp + 0x74]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005e1d4
mov byte [rbx + 0xe08], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov byte [rbx + 0x3740], 1
jmp 0x14005e1db
mov byte [rbx + 0xe08], sil
call fcn.14005c228
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x38], 0x12
jne 0x14005e105
call fcn.14004597c
call fcn.140045e6c
xor ecx, ecx
call fcn.140024b9c
mov rcx, qword [0x140102f70]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rbx, qword [rsp + 0x78]
mov al, 1
add rsp, 0x60
pop rsi
ret