joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
sub rsp, 0x80
mov rax, qword [0x18002d0a0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r8, qword [rdx]
lea rax, [0x180004e90]
mov byte [rsp + 0x60], 0x54
mov qword [r11 - 0x60], rax
lea rax, [fcn.1800051d0]
add r8, 0x88
mov qword [r11 - 0x58], rax
lea rax, [0x180005180]
mov byte [rsp + 0x61], 0x72
mov qword [r11 - 0x50], rax
lea rax, [0x1800050b0]
mov byte [rsp + 0x62], 0x61
mov qword [r11 - 0x48], rax
lea rax, [0x180005340]
mov byte [rsp + 0x63], 0x6e
mov byte [rsp + 0x64], 0x73
mov byte [rsp + 0x65], 0x66
mov byte [rsp + 0x66], 0x69
mov qword [r11 - 0x40], rax
mov byte [rsp + 0x67], 0x6c
mov byte [rsp + 0x68], 0x65
mov byte [rsp + 0x69], 0
mov qword [r11 - 0x30], rcx
cmp dword [r8 + 4], 0
mov rsi, rcx
jne 0x1800053ff
mov ecx, 0x7f
push rbx
call 0x180188aa9
jmp 0x1800054dd
lea rcx, [rsp + 0x60]
call fcn.180002750
mov rbx, rax
test rax, rax
je 0x1800054dd
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0x20], 0xfffffffe
call rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.1800051d0
mov ecx, 0x18
mov rdi, rax
call fcn.1800154a4
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov ecx, dword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov dword [rax + 0x10], ecx
test rdi, rdi
je 0x1800054b8
nop dword [rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call rbx
mov ecx, 5
push rcx
call 0x18014e2c7
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800051d0
mov ecx, 0x18
mov rdi, rax
call fcn.1800154a4
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov ecx, dword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov dword [rax + 0x10], ecx
test rdi, rdi
jne 0x180005470
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0xfffffffd
call rbx
mov ecx, 0x1388
push rbp
call 0x1801b1be1
mov rdi, qword [rsp + 0xa0]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800147e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rsi
ret
Function at 0x18003c6e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x18003c70d
xor al, al
jmp 0x18003c86f
mov rax, qword [0x18005d6c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x18005d6c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x18005d6d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x18005d6d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x18005d6e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x18005d6e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x18005d6f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x18005d6f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x18005d700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x18003c861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x18003c7b9
mov r11d, 2
jmp 0x18003c7dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x18003c7d3
mov r11d, 1
jmp 0x18003c7dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x18003c885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x18003c822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x18003c83a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x18003c84a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x18003c858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x18003c7a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x18003c86a

Function at 0x1801d0a5f
Capabilities:
Encode data using xor

Disassembly:
jrcxz 0x1801d0a3d
invalid
push 0xffffffffff116f61
call fcn.1802d62ae
xchg eax, ecx
or byte [rdx + riz*8 + 0xc], dh
loopne 0x1801d0aeb
fmul qword [rcx]
sti
pop rcx
mov eax, 0xb8847e80
invalid
movabs al, byte [0x1d867777c36c35f2]
sbb dword [rdx], esi
sub byte [rdx + 0x1e88b7e7], al
ja 0x1801d0a3c
sbb eax, 0x82283219
out 0xb7, eax
mov byte [rsi], bl
out 0x83, al
add al, 0x1b
push 0xc
invalid
pushfq
sbb ecx, dword [rax + 0x60]
sbb eax, 0x90b7e362
add ebp, dword [0x18eb3ff38]
jrcxz 0x1801d0b3e
xchg ebx, eax
pop rsi
mov ecx, 0x1d58b7e0
call 0x1a201ab17
jge 0x1801d0b3b
jbe 0x1801d0aae
add al, 0x48
pop rsp
ja 0x1801d0ab4
pop rdi
jmp 0x14cd04b6d
cmpsd dword [rsi], dword [rdi]
xchg edx, eax
invalid
imul byte [rbp + 0x17]
insb byte [rdi], dx
stc
in al, dx
jns 0x1801d0afe
test dword [rsi], eax
call qword [rbx]
rcl byte [rbx - 0x7b1d10fa], 0x96
invalid
Function at 0x12b43d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x12b43dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x12b43ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x12b43d5
lea eax, [rcx + 1]
jmp 0x12b43fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x12b440e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x12b43f4
sub eax, 3
jb 0x12b442e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x12b447d
sar eax, 1
movsxd rbp, eax
jb 0x12b4464
jmp 0x12b443c
add ebx, ebx
jne 0x12b443a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x12b4464
inc ecx
add ebx, ebx
jne 0x12b444a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x12b4464
call r11
adc ecx, ecx
add ebx, ebx
jne 0x12b445d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x12b444c
add ecx, 2
jmp 0x12b4469
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.012b4392
jmp 0x12b43dd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xeaa000]
mov eax, dword [rdi]
or eax, eax
je 0x12b44d9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xeb4000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x12b4489
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x12b44d3
mov qword [rbx], rax
add rbx, 8
jmp 0x12b44a9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x12b451d
cmp al, 0xef
ja 0x12b4505
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x12b44e5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x12b44f4
mov eax, dword [rdi]
add rdi, 4
jmp 0x12b44f4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x12b4571
sub rsp, 0xffffffffffffff80
jmp 0x46e000

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x140002d70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002dcd
lea rbx, [0x14003cb70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002db4
cmp r10, 2
jb 0x140002db4
cmp byte [r9], r8b
jne 0x140002db4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002d90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002e0f
lea rbx, [0x14003cb70]
cmp r8b, 0x23
jne 0x140002df3
cmp byte [r9], r8b
jne 0x140002df3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002de0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140009190
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140049750]
mov r11d, 1
mov r15d, dword [rsp + 0x90]
mov r14d, edx
mov r9d, r15d
mov r10, rcx
mov rbx, qword [rdi + 0x4000]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
mov eax, 3
and r9d, 0x40000000
mov r9d, dword [rdi + 0x4a00]
cmove eax, r11d
bts r9d, 8
mov dword [rdi + 0x4a00], r9d
mov dword [rdi + 0x4a38], eax
cmp qword [rbx + 0x1b8], 0
jne 0x140009231
cmp qword [rdi + 0x4e18], 0
mov eax, 0x260
je 0x140009236
mov eax, 0x230
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.140012720
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a20], xmm0
xor edx, edx
mov dword [rdi + 0x4a00], r9d
mov dword [rdi + 0x4a08], r11d
mov r9, qword [rbx + 8]
test r10, r10
je 0x1400092a6
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140002c30
jmp 0x1400092b7
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.140002c30
mov rcx, qword [rsp + 0x30]
mov r8d, r15d
movss xmm6, dword [rdi + 0x3918]
xor edx, edx
call fcn.14000c5d0
mov rsi, qword [rdi + 0x4000]
movzx ebp, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], r14d
jne 0x1400092fe
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, r14d
lea rdx, [0x14003ba11]
not r9d
lea r10, [0x14003cb70]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000932b
cmp byte [rdx], r8b
jne 0x14000932b
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140009318
not ebx
cmp dword [rdi + 0x4064], ebx
jne 0x14000935b
xor edx, edx
xor ecx, ecx
call fcn.140005bd0
cmp dword [rdi + 0x4b38], r14d
jne 0x1400093a8
bt r15d, 0x17
jb 0x1400093a8
cmp word [rsi + 0x16c], 0
jne 0x14000937e
cmp byte [rsi + 0x172], 0
je 0x1400093a8
xor edx, edx
mov rcx, rsi
call fcn.14000ecf0
xor edx, edx
mov rcx, rsi
call fcn.140014990
mov rdx, rsi
mov ecx, ebx
call fcn.140005bd0
mov eax, dword [rdi + 0x4b64]
mov dword [rdi + 0x4090], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140039080
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x14000f6d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x14003cb70]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x14000f766
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140019750
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140012ee0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140049750]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140012f41
cmp byte [rbx + 0x4d4e], 0
jne 0x140012f41
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002b20
test dil, 2
je 0x14001306f
jmp 0x140012fca
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140041eec]
mulss xmm1, dword [0x140041ee4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x140041e60]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.140002b20
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013020
lea r11, [0x14003cb70]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013003
cmp byte [r8], r9b
jne 0x140013003
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140012ff0
not ecx
call fcn.1400096c0
test rax, rax
je 0x14001306f
cmp byte [rax + 0xbe], 0
je 0x14001306f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.140002b20
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000c5d0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140039080
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140017ca0
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 + 0x6010], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140017d23
xor edx, edx
add rcx, 0x6018
call fcn.14001a610
mov r8, rsi
lea rcx, [rbx + 0x6018]
mov rdx, rbp
call fcn.1400035b0
mov eax, dword [rbx + 0x6018]
xor edx, edx
mov r9, qword [rbx + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6020]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x140049748]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140017d2f
add rcx, 0x6018
call fcn.1400035b0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140018070
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140049750]
cmp byte [rbx + 0x5f68], 0
jne 0x14001817d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140018176
lea rdx, [0x14003c680]
call fcn.140002e20
mov rdi, rax
test rax, rax
je 0x140018176
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001816d
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001816d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001816d
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001816d
cmp rsi, 0xffffffffffffffff
je 0x14001816d
mov rcx, rsi
call fcn.140006040
mov rbp, rax
test rax, rax
je 0x14001816d
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14001814d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbp
call fcn.1400060f0
jmp 0x140018176
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140018163
mov rdx, rsi
mov rcx, rbp
call fcn.1400183e0
mov rcx, rbp
call fcn.1400060f0
jmp 0x140018176
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001820c
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14001820c
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x1400181ff
mov rax, qword [0x140049750]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.140018620
lea rdx, [0x14003c684]
mov rcx, rdi
mov rsi, rax
call fcn.140002e20
mov rdi, rax
test rax, rax
je 0x140018206
mov r8, qword [rsp + 0x30]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140018206
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140018340
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140049750]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400183a3
mov qword [rsp], rbx
lea rbx, [0x14003cb70]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018383
cmp byte [r8], r9b
jne 0x140018383
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 0x140018370
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1400183cf
cmp dword [r8 + 8], eax
je 0x1400183d6
add r8, 0x48
cmp r8, rcx
jne 0x1400183c0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002aa50
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140049750]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002ac6e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002ac6e
mov rdx, qword [0x140049740]
mov ecx, 0x50
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [0x140049750]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14002ab2a
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14002ab1f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x14002ab47
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14002ab4a
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14002ab8d
mov rsi, qword [r8 + 0x90]
jmp 0x14002ab90
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14002abbb
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140049750]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002ac2e
inc rbx
cmp rbx, 5
jl 0x14002ac10
jmp 0x14002ac5a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14002ac70
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140039080
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14002ae00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140049750]
mov edx, 0x210
call fcn.14000f920
cmp byte [rax], 0
je 0x14002ae76
xor edx, edx
mov ecx, 0x210
call fcn.140012090
test al, al
je 0x14002ae76
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002ae76
mov rbx, qword [0x140049750]
cmp byte [rbx + 0x38d1], 0
je 0x14002ae62
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002770
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x140049750]
mov edx, 0x214
call fcn.14000f920
cmp byte [rax], 0
je 0x14002aee6
xor edx, edx
mov ecx, 0x214
call fcn.140012090
test al, al
je 0x14002aee6
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002aee6
mov rbx, qword [0x140049750]
cmp byte [rbx + 0x38d1], 0
je 0x14002aed2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002770
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x140049750]
mov edx, 0x212
call fcn.14000f920
cmp byte [rax], 0
je 0x14002af56
xor edx, edx
mov ecx, 0x212
call fcn.140012090
test al, al
je 0x14002af56
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002af56
mov rbx, qword [0x140049750]
cmp byte [rbx + 0x38d1], 0
je 0x14002af42
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002770
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x140049750]
mov edx, 0x216
call fcn.14000f920
cmp byte [rax], 0
je 0x14002afc6
xor edx, edx
mov ecx, 0x216
call fcn.140012090
test al, al
je 0x14002afc6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002afc6
mov rbx, qword [0x140049750]
cmp byte [rbx + 0x38d1], 0
je 0x14002afb2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002770
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret