joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180009e00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800ba040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180009ed3
cmp byte [rcx + 0x71], 0
je 0x180009ed3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180009ecf
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 0x180009e94
sub eax, 1
je 0x180009e98
cmp eax, 2
jne 0x180009ecf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18007df20
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180009ec6
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 0x180009ecf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180009e7c
xor al, al
jmp 0x180009e7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18007df20
add rsp, 0x60
pop rbx
ret

Function at 0x1800130c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800ba040]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov r8, qword [rdx + 0x40]
mov rdx, qword [r8]
lea rcx, [rsp + 0x20]
call fcn.180022130
mov r8, qword [rsp + 0x20]
mov r9, r8
mov r10, qword [rsp + 0x28]
cmp r8, r10
je 0x18001315d
movabs rdi, 0xcbf29ce484222325
mov esi, 0x9e3779b9
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, word [r9]
movzx ecx, al
xor rcx, rdi
imul rcx, r11
shr rax, 8
xor rcx, rax
imul rcx, r11
mov rax, rbx
shl rax, 6
mov rdx, rbx
shr rdx, 2
add rcx, rax
lea rax, [rdx + rsi]
add rcx, rax
xor rbx, rcx
add r9, 2
cmp r9, r10
jne 0x180013120
test r8, r8
je 0x1800131a2
mov rax, qword [rsp + 0x30]
sub rax, r8
sar rax, 1
lea rdx, [rax + rax]
mov rax, r8
cmp rdx, 0x1000
jb 0x180013199
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180013199
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.18007df40
nop
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18007df20
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x18001ce90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
jne 0x18001cec9
xor eax, eax
lea r8, [0x180024000]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x18001de40
Capabilities:
Parse pe header

Disassembly:
cmp ecx, 0x200
jg 0x18001de72
je 0x18001de6c
test ecx, ecx
je 0x18001de66
sub ecx, 1
je 0x18001de60
cmp ecx, 1
jne case.default.0x18001de95
lea eax, [rcx + 3]
ret
mov eax, 2
ret
mov eax, 1
ret
mov eax, 9
ret
add ecx, 0xfffffdff
cmp ecx, 0x66
ja case.default.0x18001de95
movsxd rax, ecx
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x1e104]
add rcx, rdx
jmp rcx
mov eax, 0x25
ret
mov eax, 0x27
ret
mov eax, 0x26
ret
mov eax, 0x28
ret
mov eax, 0x21
ret
mov eax, 0x22
ret
mov eax, 0x24
ret
mov eax, 0x23
ret
mov eax, 0x2d
ret
mov eax, 0x2e
ret
mov eax, 8
ret
mov eax, 0x20
ret
mov eax, 0xd
ret
mov eax, 0x1b
ret
mov eax, 0xde
ret
mov eax, 0xbc
ret
mov eax, 0xbd
ret
mov eax, 0xbe
ret
mov eax, 0xbf
ret
mov eax, 0xba
ret
mov eax, 0xbb
ret
mov eax, 0xdb
ret
mov eax, 0xdc
ret
mov eax, 0xdd
ret
mov eax, 0xc0
ret
mov eax, 0x14
ret
mov eax, 0x91
ret
mov eax, 0x90
ret
mov eax, 0x2c
ret
mov eax, 0x13
ret
mov eax, 0x60
ret
mov eax, 0x61
ret
mov eax, 0x62
ret
mov eax, 0x63
ret
mov eax, 0x64
ret
mov eax, 0x65
ret
mov eax, 0x66
ret
mov eax, 0x67
ret
mov eax, 0x68
ret
mov eax, 0x69
ret
mov eax, 0x6e
ret
mov eax, 0x6f
ret
mov eax, 0x6a
ret
mov eax, 0x6d
ret
mov eax, 0x6b
ret
mov eax, 0x10d
ret
mov eax, 0xa0
ret
mov eax, 0xa2
ret
mov eax, 0xa4
ret
mov eax, 0x5b
ret
mov eax, 0xa1
ret
mov eax, 0xa3
ret
mov eax, 0xa5
ret
mov eax, 0x5c
ret
mov eax, 0x5d
ret
mov eax, 0x30
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x34
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x39
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x70
ret
mov eax, 0x71
ret
mov eax, 0x72
ret
mov eax, 0x73
ret
mov eax, 0x74
ret
mov eax, 0x75
ret
mov eax, 0x76
ret
mov eax, 0x77
ret
mov eax, 0x78
ret
mov eax, 0x79
ret
mov eax, 0x7a
ret
mov eax, 0x7b
ret
xor eax, eax
ret
Function at 0x18001e870
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 8
mov rax, qword [rdx + 0x48]
cmp qword [rcx + 0x48], rax
je 0x18001e885
xor al, al
add rsp, 8
ret
mov rcx, qword [rcx + 0x40]
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp], rdi
mov rax, qword [rcx]
cmp rax, rcx
je 0x18001e931
mov r10, qword [rdx + 0x68]
movabs rsi, 0xcbf29ce484222325
mov r11, qword [rdx + 0x50]
movabs rdi, 0x100000001b3
mov rbx, qword [rdx + 0x40]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
mov r9, r10
movzx r8d, byte [rax + 0x10]
xor r8, rsi
imul r8, rdi
xor r8, rdx
imul r8, rdi
and r9, r8
add r9, r9
mov rdx, qword [r11 + r9*8 + 8]
cmp rdx, rbx
je 0x18001e922
movzx r8d, word [rax + 0x10]
mov r9, qword [r11 + r9*8]
cmp r8w, word [rdx + 0x10]
je 0x18001e924
nop word [rax + rax]
cmp rdx, r9
je 0x18001e922
mov rdx, qword [rdx + 8]
cmp r8w, word [rdx + 0x10]
jne 0x18001e910
jmp 0x18001e924
xor edx, edx
test rdx, rdx
je 0x18001e946
mov rax, qword [rax]
cmp rax, rcx
jne 0x18001e8d0
mov rsi, qword [rsp + 0x18]
mov al, 1
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
add rsp, 8
ret
mov rsi, qword [rsp + 0x18]
xor al, al
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
add rsp, 8
ret
Function at 0x180020f70
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180021076
mov rax, qword [rsi + 0x38]
shr rax, 3
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rdi
cmp rax, rcx
jbe 0x180021117
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x20], r14
mov r14, qword [rsi + 8]
mov rbp, qword [r14]
cmp rbp, r14
je 0x180021062
movzx ecx, byte [rbp + 0x10]
movabs rax, 0xcbf29ce484222325
mov rdx, qword [rsi + 0x18]
xor rcx, rax
movzx eax, byte [rbp + 0x11]
movabs r8, 0x100000001b3
imul rcx, r8
mov qword [r11 - 0x10], r12
mov rbx, rbp
mov r12, qword [rbp + 8]
xor rcx, rax
imul rcx, r8
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x28], r15
mov r15, qword [rsi + 0x30]
and r15, rcx
mov qword [rsp + 0x20], rdx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov r13, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18007df40
dec qword [rsi + 0x10]
cmp rdi, r13
je 0x18002107c
cmp rbx, r14
jne 0x180021020
cmp qword [rsp + 0x28], rbp
jne 0x18002104b
mov qword [r15], rbx
mov r13, qword [rsp + 0x40]
mov r15, qword [rsp + 0x30]
mov qword [r12], rbx
mov qword [rbx + 8], r12
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
cmp qword [rsp + 0x28], rbp
jne 0x18002108b
mov qword [r15], r14
mov rax, r14
jmp 0x18002108e
mov rax, r12
mov qword [r15 + 8], rax
cmp rbx, r14
je 0x18002104b
mov r13, qword [rsp + 0x20]
nop dword [rax]
movzx r15d, byte [rbx + 0x10]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rdx, 0x100000001b3
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, r13
mov rbp, qword [r15 + 8]
nop word [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18007df40
dec qword [rsi + 0x10]
cmp rdi, rbp
je 0x180021106
cmp rbx, r14
jne 0x1800210e0
jmp 0x180021048
mov qword [r15], r14
mov qword [r15 + 8], r14
cmp rbx, r14
jne 0x1800210a0
jmp 0x18002104b
mov rcx, qword [rsi + 8]
xor edi, edi
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov rcx, qword [rcx]
test rcx, rcx
je 0x180021145
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18007df40
mov rcx, rbx
test rbx, rbx
jne 0x180021130
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.180022260
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x180021c40
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x180021c75
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.180003b80
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x180021da5
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
movzx edx, byte [rax + 0x11]
xor r9, rbp
mov r11, qword [rsi + 0x30]
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rdi
jne 0x180021d1a
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180021d94
mov rdx, qword [r11 + 8]
movzx r9d, word [rax + 0x10]
cmp r9w, word [rdx + 0x10]
jne 0x180021d59
mov r10, qword [rdx]
cmp r10, rax
je 0x180021d53
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180021d94
cmp r8, rdx
je 0x180021d70
nop
mov rdx, qword [rdx + 8]
cmp r9w, word [rdx + 0x10]
je 0x180021db6
cmp r8, rdx
jne 0x180021d60
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x180021ce0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180021d94
Function at 0x1800222f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
mov rbp, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rbp + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x18002235f
mov rbx, r15
mov r14, r15
jmp 0x1800223a7
mov rcx, qword [rax + rcx*8]
movzx eax, word [r8]
cmp ax, word [rbx + 0x10]
je 0x18002237f
nop dword [rax]
cmp rbx, rcx
je 0x1800223a1
mov rbx, qword [rbx + 8]
cmp ax, word [rbx + 0x10]
jne 0x180022370
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov r14, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
jne 0x1800223c5
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.18007df48
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx eax, word [r12]
mov word [rdi + 0x10], ax
mov rdx, qword [rbp + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x180022402
cvtsi2ss xmm0, rdx
jmp 0x18002241a
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18002242d
cvtsi2ss xmm1, rcx
jmp 0x180022442
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x1800224c2
mov rcx, rbp
call fcn.180021de0
mov rdx, rax
mov rcx, rbp
call fcn.180021c40
mov rdx, qword [rbp + 0x30]
and rdx, r13
add rdx, rdx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
jne 0x18002248b
mov qword [rsp + 0x28], 0
jmp 0x1800224b5
mov rdx, qword [rcx + rdx*8]
movzx ecx, word [rdi + 0x10]
cmp cx, word [rax + 0x10]
je 0x1800224b2
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x1800224f6
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x1800224a0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x180022506
mov qword [rcx + rax*8], rdi
jmp 0x180022518
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x1800224ba
cmp r8, r14
jne 0x180022511
mov qword [rcx + rax*8], rdi
jmp 0x18002251d
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18002251d
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x180022386
Function at 0x18002bfb0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ecx, dword [0x1800bd130]
mov rax, qword gs:[0x58]
mov rdi, qword [rdx]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1800be7e0], ecx
jle 0x18002c012
lea rcx, [0x1800be7e0]
call fcn.18007e068
cmp dword [0x1800be7e0], 0xffffffff
jne 0x18002c012
lea rcx, [0x180081bc0]
call fcn.18007e438
lea rcx, [0x1800be7e0]
call fcn.18007dffc
mov rax, qword [0x1800bd2c8]
xor esi, esi
test rax, rax
je 0x18002c029
mov rcx, qword [rax + 0xa0]
jmp 0x18002c02c
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x18002c037
call fcn.18002df90
call fcn.18002f930
call fcn.180038470
call fcn.18002b720
cmp byte [0x1800ba1a8], sil
je 0x18002c05b
lea rcx, [0x1800ba190]
call fcn.180025ef0
xor edx, edx
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x18002c095
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18002c095
cmp byte [0x1800ba1a8], sil
sete byte [0x1800ba1a8]
call fcn.18003a7b0
call fcn.18003abc0
mov rax, qword [rdi]
lea r8, [0x1800bd2c0]
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rax, qword [0x1800bd2c8]
mov rcx, qword [rax + 0x4210]
mov rcx, qword [rcx]
add rcx, 0xa8
cmp byte [rcx], sil
cmove rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.18002d530
Function at 0x18002d160
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 0x18002d1c1
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 0x18002d180
mov ecx, dword [r9]
jmp 0x18002d2ab
cmp ecx, 0x4e0
jb 0x18002d2ab
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 0x18002d1e0
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 0x18002d230
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 0x18002f930
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1800ba040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rsi
mov rsi, qword [0x1800bd2c8]
test rsi, rsi
je 0x18002f95f
mov rdi, qword [rsi + 0x98]
jmp 0x18002f961
xor edi, edi
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
movd xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x10], xmm1
movss dword [rsi + 0x14], xmm0
cmp byte [rdi + 0x2e], 0
je 0x18002f9ab
call fcn.18002f8c0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [rdi + 0x18]
cvtsi2ss xmm0, qword [rdi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rsi + 0x18], xmm1
mov qword [rdi + 0x18], rcx
call fcn.18002eec0
mov rax, qword [0x1800bd2c8]
cmp byte [rax + 0x2f10], 0
je 0x18002fa44
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002fa44
mov rbx, qword [0x1800bd2c8]
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x210
lea rcx, [rbx + 8]
call fcn.180032db0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rax, qword [0x1800bd2c8]
cmp byte [rax + 0x2f50], 0
je 0x18002fa95
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002fa95
mov rbx, qword [0x1800bd2c8]
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x214
lea rcx, [rbx + 8]
call fcn.180032db0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rax, qword [0x1800bd2c8]
cmp byte [rax + 0x2f30], 0
je 0x18002fae6
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002fae6
mov rbx, qword [0x1800bd2c8]
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x212
lea rcx, [rbx + 8]
call fcn.180032db0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rax, qword [0x1800bd2c8]
cmp byte [rax + 0x2f70], 0
je 0x18002fb37
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002fb37
mov rbx, qword [0x1800bd2c8]
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x216
lea rcx, [rbx + 8]
call fcn.180032db0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
cmp byte [rsi + 0x78], 0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
je 0x18002fb4e
mov eax, 0xffffffff
jmp 0x18002fb5b
mov rax, qword [0x1800bd2c8]
mov eax, dword [rax + 0x43f8]
cmp dword [rdi + 0x28], eax
je 0x18002fb68
mov dword [rdi + 0x28], eax
call fcn.18002ed50
call fcn.18002f130
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18007df20
add rsp, 0x40
pop rdi
ret
Function at 0x180032f40
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 0x180032f9d
lea rbx, [0x1800a2ef0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180032f84
cmp r10, 2
jb 0x180032f84
cmp byte [r9], r8b
jne 0x180032f84
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 0x180032f60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180032fdf
lea rbx, [0x1800a2ef0]
cmp r8b, 0x23
jne 0x180032fc3
cmp byte [r9], r8b
jne 0x180032fc3
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 0x180032fb0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180033120
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18003313a
mov qword [r8], 0
lea rdx, [0x1800a8238]
call fcn.180032ff0
mov rbx, rax
test rax, rax
jne 0x18003315a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180033231
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180033231
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180033231
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180033231
cmp rdi, 0xffffffffffffffff
je 0x180033231
mov rax, qword [0x1800bd2c8]
test rax, rax
je 0x1800331ce
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180033231
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]
mov rcx, rbx
cmp rax, rdi
je 0x18003321e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800bd2c8]
test rax, rax
je 0x180033213
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18003323a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18003322c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18003323c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret