joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400187d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001170d
movzx eax, al
test eax, eax
jne 0x1400187f0
mov ecx, 7
call fcn.1400115f0
nop
mov byte [rsp + 0x20], 0
call fcn.140011622
mov byte [rsp + 0x21], al
cmp dword [0x140028b78], 1
jne 0x140018814
mov ecx, 7
call fcn.1400115f0
nop
jmp 0x14001886c
cmp dword [0x140028b78], 0
jne 0x140018867
mov dword [0x140028b78], 1
lea rdx, [0x140021660]
lea rcx, [0x140021330]
call fcn.140011357
test eax, eax
je 0x140018848
mov eax, 0xff
jmp 0x140018971
lea rdx, [0x140021220]
lea rcx, [section..rdata]
call fcn.140011609
mov dword [0x140028b78], 2
jmp 0x14001886c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400115dc
call fcn.14001150a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400188c9
mov rcx, qword [rsp + 0x30]
call fcn.1400112d0
movzx eax, al
test eax, eax
je 0x1400188c9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140030020]
nop
call fcn.14001155f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400188fd
mov rcx, qword [rsp + 0x38]
call fcn.1400112d0
movzx eax, al
test eax, eax
je 0x1400188fd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400116ae
nop
call fcn.140018a20
mov dword [rsp + 0x28], eax
call fcn.1400114dd
movzx eax, al
test eax, eax
jne 0x14001891c
mov ecx, dword [rsp + 0x28]
call fcn.140011096
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001892b
call fcn.1400116c7
nop
xor edx, edx
mov cl, 1
call fcn.14001129e
mov eax, dword [rsp + 0x28]
jmp 0x140018971
add rsp, 0x68
ret
Function at 0x140010320
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400df9e0]
lea r10, [0x1400c1980]
mov r8d, ecx
mov rbx, qword [rax + 0x1c10]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov eax, r8d
mov r8d, dword [rbx + 4]
xor rdx, rcx
shr rax, 0x18
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r10 + rcx*4]
not edi
cmp r9d, r8d
jne 0x1400103e1
lea ecx, [r9 + 1]
test r8d, r8d
je 0x1400103cd
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400103d2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140017840
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140011300
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400df9e0]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x140011360
cmp byte [rbx + 0x1f4e], 0
jne 0x140011360
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004240
test dil, 1
je 0x140011486
jmp 0x1400113ea
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400c9270]
mov edx, 0x10
mulss xmm1, dword [0x1400c925c]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x1400c919c]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.140004240
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011440
lea r11, [0x1400c1980]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140011423
cmp byte [r8], r9b
jne 0x140011423
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 0x140011410
not ecx
call fcn.14000af90
test rax, rax
je 0x140011486
cmp byte [rax + 0x8e], 0
je 0x140011486
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff8]
call fcn.140004240
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d560
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140083b60
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140036ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140036f20
cmp al, 0x25
jne 0x140036f14
cmp byte [r8 + 1], al
jne 0x140036f20
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140036f07
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14003707d
cmp byte [r8 + 1], dl
je 0x14003707d
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140036f5d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140036f85
sub dl, 0x61
cmp dl, 0x19
ja 0x140036f77
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140036f85
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140036f40
jmp 0x140036f88
inc r9
cmp r8, r9
jae 0x140036fbf
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140036fb4
bt rdx, rax
jb 0x140036fba
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140036fa0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140004240
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140036ff8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140036ff0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14003706c
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x140037018
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14003705a
movss xmm2, dword [0x1400c9264]
cmp al, 0x39
ja 0x14003705a
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140037034
cmp r8b, 0x2d
jne 0x140037078
xorps xmm1, xmmword [0x1400c9ac0]
movaps xmm0, xmm1
jmp 0x140037080
call fcn.140094fac
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140037080
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140083b60
add rsp, 0x90
pop rbx
ret
Function at 0x1400370a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400370e0
cmp al, 0x25
jne 0x1400370d4
cmp byte [r8 + 1], al
jne 0x1400370e0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400370c7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140037237
cmp byte [r8 + 1], dl
je 0x140037237
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14003711d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140037145
sub dl, 0x61
cmp dl, 0x19
ja 0x140037137
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140037145
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140037100
jmp 0x140037148
inc r9
cmp r8, r9
jae 0x14003717f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140037174
bt rdx, rax
jb 0x14003717a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140037160
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140004240
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400371b8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400371b0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14003722a
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x1400371d8
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140037218
movsd xmm2, qword [0x1400c9220]
cmp al, 0x39
ja 0x140037218
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400371f4
cmp r8b, 0x2d
jne 0x140037232
xorps xmm1, xmmword [0x1400c9ab0]
movaps xmm0, xmm1
jmp 0x14003723a
call fcn.140094fac
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14003723a
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140083b60
add rsp, 0x90
pop rbx
ret
Function at 0x140042a30
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400df9e0]
mov ecx, 1
mov dword [rax + 0x130], 0
mov byte [rax + 0x134], 0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140042a6a
mov rax, qword [0x1400df9e0]
mov byte [rax + 0x130], 1
add rsp, 0x28
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400054e0]
mov dword [rax], 1
mov rax, qword [0x1400054f0]
mov dword [rax], 1
mov rax, qword [0x140005500]
mov dword [rax], 1
mov rax, qword [0x1400054a0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001b50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002822
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x1400028ba
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x14000289e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002892
cmp qword [rbp - 0x10], 0
je 0x140002892
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002858
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400028bb
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140a50058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a501df
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 0x140a50089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a5006f
add dl, dl
jne 0x140a50096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a500f6
xor eax, eax
add dl, dl
jne 0x140a500a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a501ad
add dl, dl
jne 0x140a500b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a500c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a500d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a500dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a500ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a5007e
mov eax, 1
add dl, dl
jne 0x140a50106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a50113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a500fb
sub eax, ebx
mov ebx, 1
jne 0x140a5014c
mov ecx, 1
add dl, dl
jne 0x140a5012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a5013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a50123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a50168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a50175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a5015d
cmp eax, 0x7d00
jae 0x140a5019b
cmp eax, 0x500
jb 0x140a50196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5007e
cmp eax, 0x7f
ja 0x140a5019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a501d2
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 0x140a5007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14011c380
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x1400
call fcn.14019fb10
sub rsp, rax
mov rax, qword [0x1401ff0f0]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea r14, [rsp + 0x1418]
movabs r15, 0xff00ff00ff00ff00
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r14
mov rbp, qword [r14]
xor rbp, r15
mov qword [rsp + 0x30], rbp
mov qword [r14], rbx
movsd xmm0, qword [str.0123456789]
movsd qword [rsp + 0x13e0], xmm0
movzx eax, word [0x1401e93a0]
mov word [rsp + 0x13e8], ax
movzx eax, byte [0x1401e93a2]
mov byte [rsp + 0x13ea], al
call fcn.14017ecdc
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea ecx, [rbx + 1]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x14011c440
mov dword [rsp + 0x50], 0x270
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
mov esi, 7
movzx ebx, byte [rsp + 0x20]
nop
lea rcx, [rsp + 0x50]
call fcn.14016f570
mov ecx, eax
lea rax, [rcx + rcx*4]
add rax, rax
cmp eax, 5
ja 0x14011c4c8
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.14016f570
mov ecx, eax
lea rax, [rcx + rcx*4]
add rax, rax
cmp eax, 6
jb 0x14011c4b0
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rsp + rcx + 0x13e0]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14011c504
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14011c4f9
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14011c515
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140164e40
sub rsi, 1
jne 0x14011c490
xor rbp, r15
mov qword [r14], rbp
mov rax, rdi
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.14019ed10
lea r11, [rsp + 0x1400]
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
Function at 0x14011e900
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401ff0f0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
lea rax, [rbp - 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x14011e964
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.140164130
mov dword [rsp + 0x30], 1
movsd xmm0, qword [str.irQ_]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [0x1401ea7e0]
mov ecx, 0x74
mov word [rsp + 0x20], cx
xor word [rsp + 0x22], 0x1f
xor word [rsp + 0x24], 0x21
xor word [rsp + 0x26], 0x23
xor ax, 0x25
mov word [rsp + 0x28], ax
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x14011e9c5
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140159df0
call fcn.14017a0e8
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
mov r8, rdx
sar r8, 0xb
mov rax, r8
shr rax, 0x3f
add r8, rax
lea r9, [rbp - 0x76]
movabs r10, 0xcccccccccccccccd
jns 0x14011ea60
neg r8
nop word [rax + rax]
sub r9, 2
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x14011ea20
add r9, 0xfffffffffffffffe
mov eax, 0x2d
mov word [r9], ax
jmp 0x14011ea90
sub r9, 2
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x14011ea60
lea r8, [rbp - 0x76]
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.14016aa50
mov dword [rsp + 0x30], 7
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14015d890
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14011eaf9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011eaf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011eb81
call fcn.14019ed30
movsd xmm0, qword [str.3zYF_]
movzx eax, word [0x1401eac68]
movsd qword [rsp + 0x20], xmm0
mov ecx, 0x2e
mov word [rsp + 0x20], cx
xor word [rsp + 0x22], 0x1f
xor word [rsp + 0x24], 0x21
xor word [rsp + 0x26], 0x23
xor ax, 0x25
mov word [rsp + 0x28], ax
lea rax, [rsp + 0x20]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14011eb40
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140159df0
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14019ed10
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401aef20
int3
Function at 0x14013b0b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1401ff0f0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea r14, [rsp + 0x68]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r14
mov rdi, qword [r14]
mov rax, rdi
xor rax, rcx
mov qword [rsp + 0x38], rax
mov qword [r14], rsi
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea r9d, [rsi + 3]
lea r8, [rsp + 0x30]
lea edx, [rsi + 0x5a]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14013b144
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401321c0
nop
mov qword [r14], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14019ed10
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140156190
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1401561b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14015622c
mov rdi, r14
mov rcx, rbx
call fcn.14015d6b0
test rax, rax
jle 0x140156204
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1401a11a0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14015621c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140156224
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1401561c6
sub r14, rdi
jmp 0x14015630f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140156243
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140156245
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140156277
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1401a11a0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14015630c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1401562b2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1401562ed
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1401b0198
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14015630c
cmp rbp, rax
ja 0x1401562c0
test rbp, rbp
je 0x14015630c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1401b0198
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

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

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x140158120
mov dword [rcx], 0x270
mov rax, rcx
ret