joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007500
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x140056ad0]
mov rax, qword [rcx + 0xf8]
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 + 0x4050], ebx
jne 0x140007596
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001bd90
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400075a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x140056ad0]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14000ae20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, qword [0x140064828]
mov ebp, edx
movaps xmmword [rsp + 0x30], xmm6
mov r9, rcx
mov rbx, qword [rdi + 0x4008]
cmp qword [rbx + 0x1a8], 0
jne 0x14000ae63
cmp qword [rdi + 0x4da8], 0
mov eax, 0x250
je 0x14000ae68
mov eax, 0x220
movss xmm3, dword [rax + rbx]
xorps xmm5, xmm5
movss xmm4, dword [rax + rbx + 4]
cvttss2si eax, dword [r8]
subss xmm3, dword [rbx + 0x100]
subss xmm4, dword [rbx + 0x104]
movss xmm2, dword [0x14005c784]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
comiss xmm5, xmm1
cvtdq2ps xmm0, xmm0
jb 0x14000aeb8
addss xmm1, xmm3
comiss xmm1, xmm2
jae 0x14000aeb8
movaps xmm1, xmm2
comiss xmm5, xmm0
jb 0x14000aec9
addss xmm0, xmm4
comiss xmm0, xmm2
jae 0x14000aec9
movaps xmm0, xmm2
or dword [rdi + 0x49b8], 2
movss dword [rdi + 0x49d8], xmm1
movss dword [rdi + 0x49dc], xmm0
mov dword [rdi + 0x49c0], 1
test r9, r9
je 0x14000af18
movsxd rdx, dword [rbx + 0xf0]
mov rcx, qword [rbx + 0xf8]
mov eax, dword [rbx + 0x10]
cmp dword [rcx + rdx*4 - 4], eax
jne 0x14000af18
mov qword [rsp + 0x20], r9
lea r8, str._s__s
mov r9, qword [rbx + 8]
jmp 0x14000af50
mov rax, qword [rbx + 8]
test r9, r9
je 0x14000af42
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r9
lea rcx, [rsp + 0x60]
mov r9, rax
xor edx, edx
call fcn.140003670
jmp 0x14000af5c
mov dword [rsp + 0x20], ebp
lea r8, str._s__08X
mov r9, rax
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140003670
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x3920]
mov r8d, 0x1000107
call fcn.14000dd10
mov rsi, qword [rdi + 0x4008]
movzx r14d, al
movss dword [rdi + 0x3920], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], ebp
jne 0x14000afa6
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, ebp
lea rdx, [0x140055a69]
not r9d
lea r10, [0x140056ad0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000afd3
cmp byte [rdx], r8b
jne 0x14000afd3
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 0x14000afc0
not ebx
cmp dword [rdi + 0x4068], ebx
jne 0x14000b003
xor edx, edx
xor ecx, ecx
call fcn.140007760
cmp dword [rdi + 0x4ae8], ebp
jne 0x14000b048
cmp word [rsi + 0x15c], 0
jne 0x14000b01e
cmp byte [rsi + 0x162], 0
je 0x14000b048
xor edx, edx
mov rcx, rsi
call fcn.1400101d0
xor edx, edx
mov rcx, rsi
call fcn.1400166a0
mov rdx, rsi
mov ecx, ebx
call fcn.140007760
mov eax, dword [rdi + 0x4b0c]
mov dword [rdi + 0x4090], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140014610
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140064828]
mov edi, ecx
cmp byte [rbx + 0x4cf1], 0
jne 0x140014671
cmp byte [rbx + 0x4cf2], 0
jne 0x140014671
movsx r9d, word [rbx + 0x5e24]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400035f0
test dil, 2
je 0x14001479f
jmp 0x1400146fa
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e24]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14005c7bc]
mulss xmm1, dword [0x14005c7b0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49d0], rax
mov dword [rbx + 0x49bc], 1
movss dword [rbx + 0x49c8], xmm0
movss dword [rbx + 0x49cc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x14005c6b0]
or dword [rbx + 0x49b8], 0x41
movss dword [rbx + 0x4a18], xmm0
call fcn.1400035f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014750
lea r11, [0x140056ad0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140014733
cmp byte [r8], r9b
jne 0x140014733
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 0x140014720
not ecx
call fcn.14000b350
test rax, rax
je 0x14001479f
cmp byte [rax + 0xb6], 0
je 0x14001479f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5e24]
movsx r9d, word [rbx + 0x5e24]
call fcn.1400035f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000dd10
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140053290
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a620
Capabilities:
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
cmp qword [rcx + 0x5f78], 0
lea rbx, [rcx + 0x5f80]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a6c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a67a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ce80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004170
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5f78]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5f88]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140064820]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a6cf
mov rcx, rbx
call fcn.140004170
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001a9f0
Capabilities:
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 [0x140064828]
xor ebp, ebp
cmp byte [rbx + 0x5ed0], bpl
jne 0x14001aacf
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001aac8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003980
mov rsi, rax
test rax, rax
je 0x14001aac8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001aa54
mov rcx, rax
call fcn.14001ac20
mov r8, qword [0x140064828]
test r8, r8
je 0x14001aabf
movsx rdx, word [r8 + 0x6030]
lea rcx, [r8 + 0x6034]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001aab4
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 + 0x6030], cx
movsx rax, cx
lea rcx, [r8 + 0x6034]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x602c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5ed0], 1
movss xmm0, dword [rbx + 0x5ed4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001ab5e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5ed4], xmm0
jb 0x14001ab5e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001ab51
mov rax, qword [0x140064828]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5ed4], ebp
call fcn.14001ae80
lea rdx, [0x14005661c]
mov rcx, rdi
mov rsi, rax
call fcn.140003890
mov rdi, rax
test rax, rax
je 0x14001ab58
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
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 0x14001ab58
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5ed4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ab80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140064828]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001abe3
mov qword [rsp], rbx
lea rbx, [0x140056ad0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001abc3
cmp byte [r8], r9b
jne 0x14001abc3
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 0x14001abb0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5ee8]
not eax
mov r8, qword [r10 + 0x5ef0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001ac0f
cmp dword [r8 + 8], eax
je 0x14001ac16
add r8, 0x48
cmp r8, rcx
jne 0x14001ac00
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140030860
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x60
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, qword [0x140064828]
mov rbp, rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140030a78
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140030a78
mov qword [rsp + 0x70], rbx
mov ecx, 0x50
mov qword [rsp + 0x78], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140064828]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14003092e
movsx rdx, word [r8 + 0x6030]
lea rax, [r8 + 0x6034]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140030923
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 + 0x6030], cx
movsx rax, cx
lea rax, [rax*8 + 0x6034]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6028]
test rdi, rdi
je 0x14003094b
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 0x14003094e
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14005b9d8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140030991
mov rsi, qword [r8 + 0x90]
jmp 0x140030994
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 0x1400309bf
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140064828]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x20], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x28], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x40], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140030a3e
inc rbx
cmp rbx, 5
jl 0x140030a14
mov rdi, qword [rsp + 0x78]
mov al, 1
mov rbx, qword [rsp + 0x70]
jmp 0x140030a7a
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 rbx, qword [rsp + 0x70]
mov qword [rdi + 0x48], rax
mov al, 1
mov rdi, qword [rsp + 0x78]
jmp 0x140030a7a
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140053290
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
Function at 0x140047760
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x13f8
call fcn.1400541b0
sub rsp, rax
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rax, qword gs:[0x58]
mov rdi, rdx
mov rbx, rcx
mov edx, 4
mov ebp, r9d
mov esi, r8d
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140064934], eax
jle 0x1400477f1
lea rcx, [0x140064934]
call fcn.1400534a0
cmp dword [0x140064934], 0xffffffff
jne 0x1400477f1
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.SetWindowPos
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140064934]
mov qword [0x140064948], rax
call fcn.140053434
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13d4], 0xffffffff
mov ecx, 1
mov dword [rsp + 0x54], eax
nop dword [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [rsp + rcx*4 + 0x54], eax
inc rcx
cmp rcx, 0x270
jb 0x140047810
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x270
call fcn.1400530f0
mov eax, dword [rsp + 0x1450]
mov r9d, ebp
mov dword [rsp + 0x30], eax
mov r8d, esi
mov eax, dword [rsp + 0x1448]
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov rcx, rbx
mov eax, dword [rsp + 0x1440]
mov dword [rsp + 0x20], eax
call qword [0x140064948]
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.140053290
add rsp, 0x13f8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140047890
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x13d0
call fcn.1400541b0
sub rsp, rax
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rax, qword gs:[0x58]
mov edi, edx
mov ebx, ecx
mov edx, 4
mov esi, r8d
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140064960], eax
jle 0x14004791b
lea rcx, [0x140064960]
call fcn.1400534a0
cmp dword [0x140064960], 0xffffffff
jne 0x14004791b
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.mouse_event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140064960]
mov qword [0x140064940], rax
call fcn.140053434
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13b4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x34], eax
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, 0x270
jb 0x140047940
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x270
call fcn.1400530f0
mov ecx, eax
mov eax, 0x80000000
add rcx, rcx
shr rcx, 0x20
add eax, ecx
cmp ebx, 2
jne 0x1400479a0
add eax, 0x80000000
jne 0x1400479a0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.mouse_event_n
call fcn.140051900
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov r8d, esi
mov edx, edi
mov ecx, ebx
call qword [0x140064940]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140053290
add rsp, 0x13d0
pop rdi
pop rsi
pop rbx
ret

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

Disassembly:
push rbx
mov eax, 0x13d0
call fcn.1400541b0
sub rsp, rax
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rax, qword gs:[0x58]
mov ebx, ecx
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140064938], eax
jle 0x140047a64
lea rcx, [0x140064938]
call fcn.1400534a0
cmp dword [0x140064938], 0xffffffff
jne 0x140047a64
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x14005c140]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140064938]
mov qword [0x140064958], rax
call fcn.140053434
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13b4], 0xffffffff
mov r8d, 1
mov dword [rsp + 0x34], eax
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x34], eax
inc r8
cmp r8, 0x270
jb 0x140047a80
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x270
call fcn.1400530f0
mov ecx, ebx
call qword [0x140064958]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140053290
add rsp, 0x13d0
pop rbx
ret
Function at 0x1400530f0
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 0x140053151
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 0x140053110
mov ecx, dword [r9]
jmp 0x140053238
cmp ecx, 0x4e0
jb 0x140053238
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140053170
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400531c0
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 0x140053d60
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41684b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432e80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41670e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416721
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416745
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416759
cmp rbx, 0x1000
jae 0x416718
nop
jmp 0x4167c9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41676d
xor edx, edx
jmp 0x4167c0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432e80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41674f
jmp 0x416735
call fcn.00463060
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004375e0
lea rax, [0x004f0d3e]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00437ee0
mov rax, qword [rsp + 0x38]
call fcn.00437be0
lea rax, [0x004f0dfe]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437ee0
mov rax, qword [rsp + 0x30]
call fcn.00437be0
call fcn.00437840
call fcn.00437660
lea rax, [0x004f39a1]
mov ebx, 0x21
call fcn.00435d20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f4a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004166a0