joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006be30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, qword [rbp + 0x60]
mov qword [rbp - 0x80], rsi
mov r14, qword [rbp + 0x68]
mov rax, qword [rbp + 0x70]
xor r12d, r12d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov dword [rsp + 0x60], 0x80
mov r15, qword [rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006befa
mov r9d, dword [rsp + 0x60]
lea r8, [rbp - 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140029ca0
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], r8
mov ecx, dword [rbp - 0x80]
mov dword [rsi + 0x18], ecx
jmp 0x14006bfe3
cmp eax, 0xea
je 0x14006bf0f
lea rdx, str.Cannot_query_registry_value_size
mov ecx, eax
call fcn.14006aaa0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14006bfc3
mov edi, r12d
nop
mov r8d, eax
mov r9, qword [rsp + 0x70]
mov rdx, r9
mov rcx, qword [rsp + 0x68]
sub rdx, rcx
cmp r8, rdx
jae 0x14006bf43
lea rax, [rcx + r8]
mov qword [rsp + 0x70], rax
jmp 0x14006bf7c
jbe 0x14006bf7c
mov rax, qword [rsp + 0x78]
sub rax, rcx
cmp r8, rax
jbe 0x14006bf61
mov rdx, r8
lea rcx, [rsp + 0x68]
call fcn.140028e00
jmp 0x14006bf77
sub r8, rdx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1400b1de0
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x14006bfb5
inc edi
cmp edi, 5
jge 0x14006c01d
mov eax, dword [rsp + 0x60]
jmp 0x14006bf20
lea rdx, str.Cannot_query_registry_value_data
mov ecx, eax
call fcn.14006aaa0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov eax, dword [rbp - 0x80]
mov dword [rsi + 0x18], eax
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x68]
call fcn.140019b40
mov rax, rsi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140081ef0
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.Cannot_query_registry_data_due_to_value_changed_too_often
lea rcx, [rsp + 0x38]
call fcn.14006c0f0
lea rdx, [0x140114d60]
lea rcx, [rsp + 0x38]
call fcn.140084768
int3
Function at 0x14006e950
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
mov rax, rdx
mov qword [r11 - 0x28], rdx
mov ecx, 0x10000
call fcn.140082890
mov rdi, rax
mov qword [rsp + 0x68], rax
mov r8d, 0x8000
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
lea eax, [rcx - 1]
cmp eax, 0x7fff
ja 0x14006ea05
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, ecx
mov rdx, rdi
mov rcx, rbx
call fcn.1400075e0
nop
mov rcx, rdi
call fcn.140081f10
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
lea rax, str.Unable_to_retrieve_environment_variable__
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140050d20
lea rdx, [0x140114190]
lea rcx, [rsp + 0x38]
call fcn.140084768
int3
Function at 0x140070ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x1b0
mov rbx, rcx
lea rax, vtable.asw::tasklib::performance_logger::performance_logger_storage_module_impl.0
mov qword [rcx - 0x30], rax
mov rax, qword [rcx - 0x28]
movsxd rcx, dword [rax + 8]
lea rax, vtable.asw::tasklib::performance_logger::performance_logger_storage_module_impl.1.0
mov qword [rcx + rbx - 0x28], rax
mov dword [rsp + 0x20], 0x33313136
mov dword [rsp + 0x24], 0x37393532
mov dword [rsp + 0x30], 0x6b736174
mov qword [rsp + 0x34], 0x62696c
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], 0x27
lea rcx, [rsp + 0x20]
call fcn.14001c330
mov rdx, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.14001b2b0
lea rcx, [rsp + 0x50]
call fcn.1400716a0
lea rcx, [rsp + 0x50]
call fcn.14001d730
lea rsi, [rbx - 0x10]
call fcn.140048eb0
mov rcx, rax
call fcn.140062620
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 8]
test rax, rax
je 0x140070f66
lock inc dword [rax + 8]
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
call fcn.140048eb0
mov rcx, rax
call fcn.140062620
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rdi, rdi
je 0x140070f99
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x40]
call qword [case.0x140069c0f.0]
test rbx, rbx
je 0x140070fd8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140070fd8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140069c0f.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140070fd8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
mov rcx, rsi
call fcn.140009910
mov rcx, rsi
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
jmp fcn.140070120
Function at 0x140072bc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.140073fd0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rsp, 0x28
jmp 0x140074e30
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x140074ec0
movabs rax, 0x624dd2f1a9fbe77
mul rbx
mov r8, rbx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 9
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], 0
mov r9d, 0xffffffff
mov qword [rbp - 0x18], r9
mov rax, r8
shr rax, 0x3f
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x20]
test al, al
cmove rcx, rdx
lea rdi, [rbp - 0x18]
cmp r8, r9
cmovle rdi, rcx
mov edi, dword [rdi]
jmp 0x140074ec2
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r12d, [rdi + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140075480
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140074fb7
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x140074f3b
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x14007500f
mov ecx, eax
test eax, eax
je 0x140074f39
imul rdx, rcx, 0x3e8
jmp 0x140074f3b
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x140069c0f.0]
test al, al
je 0x14007500f
lea rcx, [rbp - 0x38]
call fcn.140009910
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140074f83
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140074f83
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140075480
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x140074f14
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.140009910
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140074fe8
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x140074fe8
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140069c0f.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x140074fb9
Function at 0x140074c40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x140074cd0
movabs rax, 0x624dd2f1a9fbe77
mul rbx
mov r8, rbx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 9
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], 0
mov r9d, 0xffffffff
mov qword [rbp - 0x18], r9
mov rax, r8
shr rax, 0x3f
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x20]
test al, al
cmove rcx, rdx
lea rdi, [rbp - 0x18]
cmp r8, r9
cmovle rdi, rcx
mov edi, dword [rdi]
jmp 0x140074cd2
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r12d, [rdi + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140075260
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140074dc7
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x140074d4b
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x140074e1f
mov ecx, eax
test eax, eax
je 0x140074d49
imul rdx, rcx, 0x3e8
jmp 0x140074d4b
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x140069c0f.0]
test al, al
je 0x140074e1f
lea rcx, [rbp - 0x38]
call fcn.140009910
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140074d93
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140074d93
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140075260
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x140074d24
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.140009910
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140074df8
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x140074df8
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140069c0f.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x140074dc9
Function at 0x140074e30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.140073fd0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rsp, 0x28
jmp 0x140074e30
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x140074ec0
movabs rax, 0x624dd2f1a9fbe77
mul rbx
mov r8, rbx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 9
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], 0
mov r9d, 0xffffffff
mov qword [rbp - 0x18], r9
mov rax, r8
shr rax, 0x3f
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x20]
test al, al
cmove rcx, rdx
lea rdi, [rbp - 0x18]
cmp r8, r9
cmovle rdi, rcx
mov edi, dword [rdi]
jmp 0x140074ec2
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r12d, [rdi + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140075480
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140074fb7
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x140074f3b
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x14007500f
mov ecx, eax
test eax, eax
je 0x140074f39
imul rdx, rcx, 0x3e8
jmp 0x140074f3b
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x140069c0f.0]
test al, al
je 0x14007500f
lea rcx, [rbp - 0x38]
call fcn.140009910
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140074f83
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140074f83
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140075480
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x140074f14
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.140009910
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140074fe8
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x140074fe8
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140069c0f.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x140074fb9
Function at 0x140075eb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rax - 0x10], rcx
xor esi, esi
mov dword [rax - 0x18], esi
lea rax, [0x1400fa860]
mov qword [rcx + 8], rax
mov dword [rsp + 0x20], esi
mov ebx, 1
mov dword [rsp + 0x24], ebx
mov rdx, qword [rsp + 0x20]
call fcn.140009850
nop
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call fcn.14002a6a0
nop
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
lea rax, vtable.asw::tasklib::task_scheduler.0
mov qword [rdi], rax
mov byte [rdi + 0x20], sil
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x70], rsi
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], 0x3938700
mov qword [rdi + 0xa0], 0x3938700
mov qword [rdi + 0xa8], 0x11e1a300
call fcn.1400818a4
mov ecx, eax
mov dword [rdi + 0x1434], 0xffffffff
mov dword [rdi + 0xb4], eax
lea rdx, [rdi + 0xb8]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rdx], ecx
inc rbx
lea rdx, [rdx + 4]
cmp rbx, 0x270
jb 0x140075f90
mov dword [rdi + 0xb0], 0x270
mov qword [rdi + 0x1438], rsi
movabs rax, 0x3ff0000000000000
mov qword [rdi + 0x1440], rax
lea rax, vtable.constructible_task_scheduler.0
mov qword [rdi], rax
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14007d1b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 8
mov r9, qword [rsp + 0x10]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x14007d211
lea r8, [r9 + 8]
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 0x14007d1d0
mov ecx, dword [r9]
jmp 0x14007d2f8
cmp ecx, 0x4e0
jb 0x14007d2f8
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 0x14007d230
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 0x14007d280
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 0x1400816d0
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 0x14008170a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008170f
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 0x140081758
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400e00e0]
cmp byte [rcx + rax], 0
je 0x140081758
dec r8
sub rdx, 1
jne 0x14008173e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140082b28
Capabilities:
Parse pe header

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

Function at 0x14009d14c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140082930
sub rsp, rax
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400a3a88
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14009d19b
mov rax, rbp
jmp 0x14009d2a3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x129580]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400a69bc
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x129580]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14009d29f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009d29f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400a69bc
test rax, rax
js 0x14009d29f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14009d29f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14009d291
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14009d291
cmp byte [rcx], 0xd
jne 0x14009d277
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14009d286
cmp byte [rcx + 1], 0xa
jne 0x14009d286
inc rcx
jmp 0x14009d286
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1176b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14009d259
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14009d2a3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140081ef0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400a0944
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a0734
Function at 0x1400a6ca0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140129580]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400a6cfe
cmp word [rdx], r12w
jne 0x1400a6cfe
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400a6d04
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400a6e5f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400a6e3a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400a6d3d
mov rcx, r9
jmp 0x1400a6d60
cmp r9, rdx
jae 0x1400a6d77
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400a6d21
jmp 0x1400a6e5f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a6e34
cmp dword [rsp + 0x80], edi
je 0x1400a6e34
mov rdx, r14
lea r11, [0x140129580]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400a6e0d
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400a6de0
mov word [rbx], r12w
jmp 0x1400a6e5b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400a6de9
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400a6e5b
cmp word [rsp + 0x70], r12w
jne 0x1400a6e1a
cmp rbx, rsi
je 0x1400a6dda
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400a69c4
cmp word [rsp + 0x70], r12w
je 0x1400a6e5f
mov word [rbx], r13w
jmp 0x1400a6e5b
lea r11, [0x140129580]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400a6e57
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400a6e5f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret