joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180084970
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rdx]
mov rbx, r8
dec eax
mov r8, rdx
mov rdi, rcx
cmp eax, 0x20
ja case.0x180084a59.4
lea rsi, [0x180000000]
nop dword [rax]
cdqe
movzx eax, byte [rsi + rax + 0x84bd8]
mov ecx, dword [rsi + rax*4 + 0x84bac]
add rcx, rsi
jmp rcx
mov rax, qword [rbx + 0xd0]
movzx r8d, byte [r8 + 1]
add rax, 0xffffffffffffffc4
lea r8, [rax + r8*2]
movzx eax, byte [r8]
dec eax
cmp eax, 0x20
jbe 0x1800849a0
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xcc]
movzx edx, word [rsi + rax*2 + 0x98e00]
mov rcx, rdi
call fcn.180083220
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x9c]
cmp al, 8
jae case.0x180084a59.4
lea edx, [rax + 0x6d]
mov rcx, rdi
call fcn.180083220
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [r8 + 1]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x180084a59.4
cdqe
movzx eax, byte [rsi + rax + 0x84c08]
mov ecx, dword [rsi + rax*4 + 0x84bfc]
add rcx, rsi
jmp rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180085a10
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180084c30
movzx eax, byte [rbx + 0xa2]
mov r9, rbx
mov rcx, rdi
mov rdx, qword [rbx + rax*8 + 0xa8]
inc al
mov byte [rbx + 0xa2], al
call fcn.1800837a0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rbx + 0x34]
mov rcx, rdi
call fcn.1800831f0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x180084aee
lea edx, [rax + 0x35]
jmp 0x180084b00
cmp eax, 1
jne 0x180084afb
lea edx, [rax + 0x1f]
lea eax, [rdx + 0x19]
jmp 0x180084b05
mov edx, 0x39
mov eax, 0x20
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.180083220
movsxd rax, dword [rbx + 8]
mov rcx, rdi
movzx edx, byte [rax + rsi + 0x98fc0]
call fcn.180083220
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x180084b47
lea edx, [rax + 0x31]
jmp 0x180084b59
cmp eax, 1
jne 0x180084b54
lea edx, [rax + 0x19]
lea eax, [rdx - 0xa]
jmp 0x180084b5e
mov edx, 0x10
mov eax, 0x1a
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.180083220
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xb8]
jmp 0x1800849ee
movzx edx, byte [rbx + 0xa0]
and edx, 7
add edx, 0x85
jmp 0x1800849f6
movsxd rax, dword [rbx + 0x98]
jmp 0x1800849ee
Function at 0x14000a6f0
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 0x14000a717
and qword [r8], 0
call fcn.14000a7fc
mov rbx, rax
test rax, rax
je 0x14000a7df
mov rcx, rax
call fcn.14000a678
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000a7d6
mov rax, qword [0x1400da628]
test rax, rax
je 0x14000a74f
inc dword [rax + 0xf4]
mov rdx, qword [0x1400da638]
lea rcx, [rdi + rbp]
call qword [0x1400d6068]
mov rsi, rax
test rax, rax
je 0x14000a7d6
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 0x14000a7ae
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400da628]
test rax, rax
je 0x14000a79c
dec dword [rax + 0xf4]
mov rdx, qword [0x1400da638]
mov rcx, rsi
call qword [0x1400d6070]
jmp 0x14000a7df
test ebp, ebp
jle 0x14000a7c0
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 0x14000a7d1
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000a7e1
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 0x14000ab54
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0x14000ab8c
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 0x14000abe6
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x1400a8080]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x14000abd0
cmp rdx, 2
jb 0x14000abd0
cmp byte [r10], r11b
jne 0x14000abd0
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 0x14000abae
jmp 0x14000ac27
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14000ac27
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x1400a8080]
cmp dl, r11b
jne 0x14000ac0b
cmp byte [r10], r11b
jne 0x14000ac0b
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 0x14000abf9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000c328
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 0x14000c3c1
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14000c379
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.1400184a8
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140017ba4
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, [0x1400da630]
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 0x14000c3c9
mov rcx, rbx
call fcn.140017ba4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400133e4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400da628]
mov rbx, rcx
and dword [rax + 0x5be4], 0
test rcx, rcx
je 0x14001344d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140013458
lea rdx, [0x1400a99d4]
mov rcx, rbx
mov rdi, rax
call fcn.14000a7fc
mov rbx, rax
test rax, rax
je 0x14001344d
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 0x1400305e4
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.14002699c
call fcn.1400277f0
call fcn.14000fbb0
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140030623
cmp byte [0x1400da694], 0
sete byte [0x1400da694]
call fcn.140035e58
test al, al
je 0x14003063f
call fcn.140034468
cmp byte [0x1400da694], 0
je 0x14003063f
call fcn.140033b2c
call fcn.1400110e8
mov rcx, qword [0x1400da6b0]
lea r8, [0x1400da6c0]
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 [0x1400da6b0]
lea r8, [rsp + 0x20]
mov rdx, qword [0x1400da6c0]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140009b68
mov rcx, rax
call fcn.1400269cc
mov rcx, qword [0x1400da6b8]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a3090
add rsp, 0x48
ret
Function at 0x14003198c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov dword [rbp - 0x40], 0xaeaaa881
mov ecx, ebx
mov dword [rbp - 0x3c], 0xb6a49ebc
mov dword [rbp - 0x38], 0xaeb7b9a6
mov word [rbp - 0x34], 0x100
lea eax, [rcx - 0x34]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xc
jb 0x1400319c9
movdqa xmm0, xmmword [0x1400affb0]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x33], bl
mov word [rbp - 0x20], 0xaf
mov byte [rbp - 0x1e], 1
lea eax, [rcx - 0x34]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x11
jb 0x1400319f6
lea rdx, [rbp - 0x40]
mov byte [rbp - 0x1e], bl
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400da6a0], rax
test rax, rax
je 0x140031a98
movdqa xmm0, xmmword [0x1400afd00]
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 [0x1400da6a0]
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 [0x1400da6a0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400da6a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a3090
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x140031ab8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword [0x1400da6a0]
xor edi, edi
mov qword [rbp + 7], rax
xor r9d, r9d
lea rax, [0x1400da6b0]
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, [0x1400da6a8]
mov qword [rbp + 0x17], 2
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [0x1400da6b8]
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 [0x1400da6b8]
lea r9, [rbp - 0x41]
lea r8, [0x1400ae950]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x1400da6a8]
lea r9, [0x1400da6c0]
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.1400079a8
xor ecx, ecx
call fcn.140007770
call fcn.14000a390
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.140009d3c
movdqa xmm0, xmmword [0x1400aff90]
mov edx, edi
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x37], 0xadbb8b80
mov rcx, qword [rax + 0x50]
mov dword [rbp + 0x3b], 0x828c8084
mov dword [rbp + 0x3f], 0x819291ca
mov word [rbp + 0x43], 0x100
lea eax, [rdx - 0x34]
xor byte [rbp + rdx + 0x27], al
inc rdx
cmp rdx, 0x1c
jb 0x140031c7e
movss xmm2, dword [0x1400a9d50]
lea rdx, [rbp + 0x27]
xor r9d, r9d
mov byte [rbp + 0x44], dil
mov qword [rsp + 0x20], rdi
call fcn.140019b7c
mov rcx, qword [0x1400da6a0]
mov qword [0x1400daaf0], rax
call fcn.140027680
mov rdx, qword [0x1400da6b0]
mov rcx, qword [0x1400da6a8]
call fcn.140026770
mov rcx, qword [0x1400da6a8]
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.1400a3090
mov rdi, qword [rsp + 0x110]
add rsp, 0x100
pop rbp
ret
Function at 0x140031d00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call fcn.1400320ac
xor r8d, r8d
mov dword [rsp + 0x20], 0xeef3f2
mov byte [rsp + 0x24], 1
lea eax, [r8 - 0x34]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 3
jb 0x140031d2d
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.14002c104
call fcn.1400320f4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rbx
call fcn.14002c104
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a3090
add rsp, 0x30
pop rbx
ret

Function at 0x140031d7c
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call fcn.140032088
xor r8d, r8d
mov dword [rsp + 0x20], 0xeef3f2
mov byte [rsp + 0x24], 1
lea eax, [r8 - 0x34]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 3
jb 0x140031da9
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.14002c104
call fcn.1400320f4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rbx
call fcn.14002c104
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a3090
add rsp, 0x30
pop rbx
ret

Function at 0x140031df8
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call fcn.1400320d0
xor r8d, r8d
mov dword [rsp + 0x20], 0xeef3f2
mov byte [rsp + 0x24], 1
lea eax, [r8 - 0x34]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 3
jb 0x140031e25
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.14002c104
call fcn.1400320f4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rbx
call fcn.14002c104
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a3090
add rsp, 0x30
pop rbx
ret
Function at 0x140031f4c
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 [0x1400da6a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400da6a0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [0x1400da6a0]
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 0x140031fc2
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.140009d3c
mov rcx, qword [0x1400da6a0]
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 0x140032038
mov byte [rbx + 0xe08], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov byte [rbx + 0x3740], 1
jmp 0x14003203f
mov byte [rbx + 0xe08], sil
call fcn.1400305e4
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x38], 0x12
jne 0x140031f69
call fcn.140027594
call fcn.140027a84
xor ecx, ecx
call fcn.140008044
mov rcx, qword [0x1400da6a0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rbx, qword [rsp + 0x78]
mov al, 1
add rsp, 0x60
pop rsi
ret

Function at 0x140032118
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x20], 0x80828c9a
xor ecx, ecx
mov dword [rbp - 0x1c], 0x879c9082
mov dword [rbp - 0x18], 0x100f5f4
lea eax, [rcx - 0x34]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0xa
jb 0x140032146
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x15], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400da698], rax
test rax, rax
jne 0x140032179
mov eax, 4
jmp 0x140032194
call fcn.14003198c
test al, al
jne 0x140032186
xor eax, eax
jmp 0x140032194
call fcn.140031ab8
neg al
sbb eax, eax
and eax, 2
inc eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a3090
add rsp, 0x40
pop rbp
ret
Function at 0x14003293c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400329ab
cmp byte [rcx + 0x71], 0
je 0x1400329ab
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140032a00
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400329c5
sub eax, 1
je 0x1400329c9
cmp eax, 2
jne 0x140032a00
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a3090
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400329f7
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140032a00
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400329ad
xor al, al
jmp 0x1400329ad

Function at 0x1400335a4
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4f], 0
je 0x1400335bf
xor edx, edx
lea eax, [rdx - 0x34]
xor byte [rcx + rdx], al
inc rdx
cmp rdx, 0x4e
jb 0x1400335ac
mov byte [rcx + 0x4f], 0
mov rax, rcx
ret

Function at 0x1400335c4
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xdd], 0
je 0x1400335e8
xor edx, edx
lea eax, [rdx - 0x34]
xor byte [rcx + rdx], al
inc rdx
cmp rdx, 0xdc
jb 0x1400335cf
mov byte [rcx + 0xdd], 0
mov rax, rcx
ret
Function at 0x140036944
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400d9e00]
xor rax, rsp
mov qword [rbp - 8], rax
or esi, 0xffffffff
mov r14d, edx
mov rdi, rcx
cmp edx, esi
jne 0x14003697e
xor eax, eax
jmp 0x140036a9d
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400369b7
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1400369b7
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], r14b
mov eax, r14d
jmp 0x140036a9d
cmp qword [rdi + 0x80], 0
je 0x140036a9b
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1400369f1
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140036a12
movsx ecx, r14b
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, esi
jmp 0x140036a97
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], r14b
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140036a60
sub eax, 1
je 0x140036a60
cmp eax, 2
jne 0x140036a9b
movsx ecx, byte [rbp - 0x40]
jmp 0x1400369fe
mov rbx, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub rbx, rax
je 0x140036a8b
mov r9, qword [rdi + 0x80]
lea rcx, [rbp - 0x28]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140036a9b
lea rax, [rbp - 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne esi, r14d
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a3090
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret