joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1803ce0c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jge 0x1803ce111
movzx r10d, dx
sub r8d, r10d
movzx eax, r8w
xor edx, edx
test r9d, r9d
jle 0x1803ce33b
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x1803ce105
inc edx
cmp edx, r9d
jl 0x1803ce0e5
jmp 0x1803ce33b
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov eax, r8d
sub eax, r10d
movzx eax, ax
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [0x180568f10]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r10d, xmm4
cmp r10d, 0xffff
jne 0x1803ce27b
add rax, 0x10
cmp rax, r8
jb 0x1803ce158
movups xmm4, xmmword [r8]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x1803ce33b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x180d9f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x180d9f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180d9f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d9f06f
add dl, dl
jne 0x180d9f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d9f0f6
xor eax, eax
add dl, dl
jne 0x180d9f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d9f1ad
add dl, dl
jne 0x180d9f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d9f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d9f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d9f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180d9f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180d9f07e
mov eax, 1
add dl, dl
jne 0x180d9f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d9f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d9f0fb
sub eax, ebx
mov ebx, 1
jne 0x180d9f14c
mov ecx, 1
add dl, dl
jne 0x180d9f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d9f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d9f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d9f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180d9f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d9f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d9f15d
cmp eax, 0x7d00
jae 0x180d9f19b
cmp eax, 0x500
jb 0x180d9f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d9f07e
cmp eax, 0x7f
ja 0x180d9f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d9f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180d9f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180d9f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001610
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x20], rdx
mov rbp, 0xffffffffffffffff
mov rbx, rbp
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140001650
mov qword [rsp + 0x28], rbx
xor edi, edi
test rbx, rbx
je 0x1400016b3
mov r8, rbx
mov edx, 0x2e
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400016b3
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x1400016b3
mov rcx, rax
cmp rbx, rax
cmovb rcx, rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rcx
inc rax
cmp rbx, rax
jb 0x1400017dc
sub rbx, rax
cmp rbx, 0xffffffffffffffff
cmovb rbp, rbx
add rsi, rax
jmp 0x1400016bc
mov rsi, rdi
mov rbp, rdi
mov rcx, rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov r9, rdi
mov r11d, 0x116410d2
mov ebx, r11d
test rcx, rcx
je 0x140001747
mov r10, qword [rsp + 0x28]
mov r14, qword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r14 + r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx edx, cl
lea r8d, [r9 - 0x31848712]
imul r8d, edx
imul eax, r9d, 0x3186bf26
sub r8d, eax
imul eax, ebx, 0x31848713
sub r8d, eax
add r8d, 0x381487
lea eax, [rdx + r9]
imul ecx, eax, 0x8912812
xor r8d, ecx
add ebx, r8d
inc r9
cmp r9, r10
jb 0x1400016f0
test rbp, rbp
je 0x1400017a7
nop dword [rax]
movzx r8d, byte [rsi + rdi]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx edx, cl
lea r10d, [rdi - 0x31848712]
imul r10d, edx
imul eax, edi, 0x3186bf26
sub r10d, eax
imul eax, r11d, 0x31848713
sub r10d, eax
add r10d, 0x381487
lea eax, [rdx + rdi]
imul r9d, eax, 0x8912812
xor r10d, r9d
add r11d, r10d
inc rdi
cmp rdi, rbp
jb 0x140001750
mov r8d, ebx
mov edx, r11d
mov rcx, r15
call fcn.1400012d0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400054c0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1400024a0
nop
int3
Function at 0x140002580
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rdx]
mov qword [rsp], rdx
movups xmm1, xmmword [r8]
mov qword [rsp + 8], rcx
movups xmm2, xmmword [rdx + 0x10]
mov r15d, 0x20
movups xmmword [rsp + 0x20], xmm0
mov r14, qword [rsp + 0x20]
movsd xmm0, qword [rdx + 0x20]
mov rsi, qword [rsp + 0x28]
movsd qword [rsp + 0x40], xmm0
mov rbp, qword [rsp + 0x40]
movups xmmword [rsp + 0x48], xmm1
mov r13, qword [rsp + 0x50]
mov r12d, 8
movdqa xmm0, xmm2
movq rdi, xmm2
psrldq xmm0, 8
movq r10, xmm0
movups xmmword [rsp + 0x30], xmm2
cmp rsi, r13
jne 0x140002617
cmp r14, qword [rsp + 0x48]
je 0x140002741
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r15 + rcx]
test al, 1
jne 0x14000264c
or eax, 1
mov qword [r12 + rcx], 0
mov dword [r15 + rcx], eax
mov qword [r12 + rcx + 8], 0
mov qword [r12 + rcx + 0x10], 0
xor r11d, r11d
mov ebx, 0x116410d2
test r10, r10
je 0x1400026b7
nop dword [rax]
movzx r8d, byte [rdi + r11]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
cmp dl, 0x19
movzx ecx, al
cmova ecx, r8d
imul eax, r11d, 0x3186bf26
movsx edx, cl
lea r8d, [r11 - 0x31848712]
imul r8d, edx
sub r8d, eax
imul eax, ebx, 0x31848713
sub r8d, eax
lea eax, [rdx + r11]
imul ecx, eax, 0x8912812
add r8d, 0x381487
inc r11
xor r8d, ecx
add ebx, r8d
cmp r11, r10
jb 0x140002660
cmp r9d, ebx
je 0x140002741
mov r8, qword [r14 + 8]
mov eax, dword [r8 + 0x18]
cmp rsi, rax
jae 0x140002721
inc rsi
cmp rsi, rax
jae 0x140002721
mov r10, qword [r14]
mov rax, 0xffffffffffffffff
mov ecx, dword [r8 + 0x20]
add rcx, r10
mov edx, dword [rcx + rsi*4]
add rdx, r10
mov qword [rsp + 0x10], rdx
inc rax
cmp byte [rdx + rax], 0
jne 0x1400026f1
mov ecx, dword [r8 + 0x24]
add rcx, r10
mov qword [rsp + 0x18], rax
movups xmm2, xmmword [rsp + 0x10]
movzx edx, word [rcx + rsi*2]
mov ecx, dword [r8 + 0x1c]
add rcx, r10
mov ebp, dword [rcx + rdx*4]
add rbp, r10
jmp 0x1400025ef
xor r10d, r10d
lea rdi, [0x140007585]
mov qword [rsp + 0x30], rdi
xor ebp, ebp
mov qword [rsp + 0x38], r10
movups xmm2, xmmword [rsp + 0x30]
jmp 0x140002607
mov r15, qword [rsp]
lea rax, [rsp + 0x20]
mov r12, qword [rsp + 8]
cmp r15, rax
je 0x140002761
mov qword [r15 + 8], rsi
movups xmmword [r15 + 0x10], xmm2
mov qword [r15 + 0x20], rbp
movups xmm0, xmmword [r15]
mov rax, r12
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r12], xmm0
movsd xmm0, qword [r15 + 0x20]
movups xmmword [r12 + 0x10], xmm1
movsd qword [r12 + 0x20], xmm0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400054c0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002d80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov ebx, dword [rcx]
lea rsi, [0x14000fad0]
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockShared
mov eax, ebx
shr eax, 8
movzx edx, al
movzx eax, bl
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r8, 0x100000001b3
imul rax, r8
xor rdx, rax
imul rdx, r8
mov eax, ebx
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov eax, ebx
shr rax, 0x18
xor rdx, rax
imul rdx, r8
mov rcx, qword [0x14000fb08]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x14000faf0]
mov rax, qword [rcx + 8]
mov rdx, qword [0x14000fae0]
cmp rax, rdx
je 0x140002e38
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140002e3a
cmp rax, rcx
je 0x140002e38
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140002e28
jmp 0x140002e3a
xor eax, eax
mov rcx, rdx
test rax, rax
cmovne rcx, rax
cmp rcx, rdx
jne 0x140002edd
mov rcx, rsi
call sub.KERNEL32.dll_ReleaseSRWLockShared
xor r8d, r8d
mov edx, dword [rdi]
lea rcx, [rsp + 0x38]
call fcn.1400012d0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov eax, dword [rdi]
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x48], rsi
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rsp + 0x50], 1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x14000fad8]
call fcn.1400027b0
nop
mov rcx, rsi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 4]
mov dword [rdi + 4], ecx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400054c0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rcx + 0x18]
mov rcx, rsi
call sub.KERNEL32.dll_ReleaseSRWLockShared
test rbx, rbx
je 0x140002e55
mov eax, dword [rbx + 4]
mov dword [rdi + 4], eax
jmp 0x140002ebd
Function at 0x140002f00
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140002f35
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140002360
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140003074
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140002fed
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140003063
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14000302a
mov r10, qword [rdx]
cmp r10, rax
je 0x140003024
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 0x140003063
cmp r9, rdx
je 0x14000303f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140003085
cmp r9, rdx
jne 0x140003030
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, rbx
jne 0x140002fa0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x140003063
Function at 0x140004710
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 1
call fcn.1400054e8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400052b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400047c9
cmp dword [rsp + 0x38], 0
jne 0x140004775
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
jne 0x14000478d
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400047b5
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400054c0
add rsp, 0x68
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140005404
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000543e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140005443
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000548c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400073b0]
cmp byte [rcx + rax], 0
je 0x14000548c
dec r8
sub rdx, 1
jne 0x140005472
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000608c
Capabilities:
Parse pe header

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

Disassembly:
cmp rcx, qword [section..data]
jne 0x1400013fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400013f6
repz ret
ror rcx, 0x10
jmp 0x140001628
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140011fc0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400120b8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400016ad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140011fc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400016cf
mov rax, qword [rsp + 0x88]
mov qword [0x1400120b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140012058], rax
mov rax, qword [0x1400120b8]
mov qword [0x140011f30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140012040], rax
mov dword [0x140011f20], 0xc0000409
mov dword [0x140011f24], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140011008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140011fb8], eax
mov ecx, 1
call fcn.14000312c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000d2a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140011fb8], 0
jne 0x140001756
mov ecx, 1
call fcn.14000312c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140001ba0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001a10
Function at 0x140004688
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002c40
xor ebx, ebx
cmp qword [0x140012eb8], rbx
mov rdi, rax
jne 0x14000479b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140004872
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004872
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140012eb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140012ec0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140012ec8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140012ed8], rax
test rax, rax
je 0x140004792
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140012ed0], rax
jmp 0x1400047a2
mov rax, qword [0x140012ed0]
jmp 0x1400047a9
mov rax, qword [0x140012ed0]
mov r11, qword [0x140012ed8]
cmp rax, rdi
je 0x140004810
cmp r11, rdi
je 0x140004810
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140012ed8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140004810
test rax, rax
je 0x140004810
call rsi
test rax, rax
je 0x14000480a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000480a
test byte [rsp + 0x40], 1
jne 0x140004810
bts ebp, 0x15
jmp 0x140004850
mov rcx, qword [0x140012ec0]
cmp rcx, rdi
je 0x140004850
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004850
call rax
mov rbx, rax
test rax, rax
je 0x140004850
mov rcx, qword [0x140012ec8]
cmp rcx, rdi
je 0x140004850
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004850
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140012eb8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004872
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140004874
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400013e0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000ac00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1401c03c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x14022dc29]
test eax, eax
jne 0x14000ac3b
mov rcx, qword [rsp + 0xa0]
call fcn.14000ae30
jmp 0x14000ae17
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14022deb8], eax
jle 0x14000ac87
lea rcx, [0x14022deb8]
call fcn.140168018
cmp dword [0x14022deb8], 0xffffffff
jne 0x14000ac87
lea rcx, [0x14022dc48]
call fcn.140006860
nop
lea rcx, [0x14022deb8]
call fcn.140167fac
mov rax, qword [rsp + 0xa0]
mov ecx, dword [reloc.WS2_32.dll_accept]
cmp dword [rax + 0xd8], ecx
jbe 0x14000adf0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xdc
mov qword [rsp + 0x38], rax
movss xmm2, dword [0x1401a7d60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.14000a5d0
mov r8, qword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [0x14022dc48]
call fcn.14000a580
mov r8, qword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000a530
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14000a580
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x128]
mulss xmm0, dword [0x1401a7b90]
movss xmm1, dword [rsp + 0x7c]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x14022e1f8]
cvttss2si eax, xmm0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x128]
mulss xmm0, dword [0x1401a7b90]
movss xmm1, dword [rsp + 0x78]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x14022e1fc]
cvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14000adba
mov eax, dword [rsp + 0x30]
neg eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0xa0]
add rax, 0xdc
mov qword [rsp + 0x40], rax
movss xmm2, dword [0x1401a7d60]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14000a5d0
mov rax, qword [rax]
mov qword [0x14022dc48], rax
jmp 0x14000ae0a
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.14000a250
mov rax, qword [rax]
mov qword [0x14022dc48], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000ae30
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140167f50
add rsp, 0x98
ret