joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006a610
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
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 r13
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, qword [rbp + 0x230]
mov r14, qword [rbp + 0x238]
mov r15, qword [rbp + 0x240]
mov r12d, dword [rbp + 0x248]
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movsx rax, byte [rbx + 0x240]
add rax, 1
je 0x14006a7ee
cmp rax, 1
je 0x14006a73d
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x68]
call fcn.140006dd0
mov ecx, dword [rbx + 0x238]
mov eax, dword [rbx + 0x23c]
mov dword [rbp + 0x1cc], eax
or ecx, 6
mov dword [rbp + 0x1c8], ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140069e70
mov rdi, qword [rax]
mov qword [rbp - 0x80], rdi
mov qword [rax], r13
mov sil, 1
mov byte [rbp - 0x78], sil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14006a6fc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14006a6fc
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x30], r13
mov r8, qword [rbp + 0x1c0]
cmp r8, 7
jbe 0x14006a721
mov rdx, qword [rbp + 0x1a8]
lea rcx, [rbp + 0x1a0]
call fcn.140007c20
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], 7
mov word [rbp + 0x1a8], r13w
jmp 0x14006a74b
mov rdi, qword [rbx]
mov qword [rbp - 0x80], rdi
xor sil, sil
mov byte [rbp - 0x78], sil
lea rax, str.Cannot_write_key_value
mov qword [rsp + 0x38], rax
mov rax, r13
cmp byte [rbx + 0x240], 1
cmove rax, rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
mov r9d, dword [rbp + 0x250]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14]
movaps xmmword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140069590
nop
test sil, sil
cmove rdi, r13
test rdi, rdi
je 0x14006a7cb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14006a7cb
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400827b0
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14006aee0
int3
Function at 0x14006f710
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, 0x70
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov rax, rdx
mov qword [r11 - 0x20], rdx
mov ecx, 0x10000
call fcn.1400830f0
mov rdi, rax
mov qword [rsp + 0x60], rax
mov r8d, 0x8000
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
lea eax, [rcx - 1]
cmp eax, 0x7fff
ja 0x14006f7bf
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.140007750
nop
mov rcx, rdi
call fcn.1400827d0
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400827b0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
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 + 0x58]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140050e80
lea rdx, [0x140114310]
lea rcx, [rsp + 0x38]
call fcn.1400850a4
int3
Function at 0x140071a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x1b0
mov rbp, 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 + 4]
lea rax, vtable.asw::tasklib::performance_logger::performance_logger_storage_module_impl.1.0
mov qword [rcx + rbp - 0x28], rax
mov dword [rsp + 0x20], 0x33433644
mov dword [rsp + 0x24], 0x41313234
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.14001d3b0
mov rdx, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.14001c300
lea rcx, [rsp + 0x50]
call fcn.1400721f0
lea rcx, [rsp + 0x50]
call fcn.14001e630
nop
call fcn.140048e80
mov rcx, rax
call fcn.140062840
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbp - 8]
test rax, rax
je 0x140071b37
lock inc dword [rax + 8]
mov rdi, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
call fcn.140048e80
mov rcx, rax
call fcn.140062840
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rdi, rdi
je 0x140071b6b
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x40]
call qword [case.0x14006e76f.0]
mov edi, 0xffffffff
test rbx, rbx
je 0x140071bac
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140071bac
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14006e76f.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140071bac
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006e76f.0]
lea rcx, [rbp - 0x10]
call fcn.140009ae0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140071bd5
lock xadd dword [rcx + 0xc], edi
cmp edi, 1
jne 0x140071bd5
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e76f.0]
lea rcx, [rbp - 0x20]
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.14003c4b0
Function at 0x140073700
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.1400749c0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rsp, 0x28
jmp 0x140075810
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 [0x140117240]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x1400758a0
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 0x1400758a2
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.140075f70
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140075997
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x14007591b
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x1400759ef
mov ecx, eax
test eax, eax
je 0x140075919
imul rdx, rcx, 0x3e8
jmp 0x14007591b
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x14006e76f.0]
test al, al
je 0x1400759ef
lea rcx, [rbp - 0x38]
call fcn.140009ae0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140075963
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140075963
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e76f.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.140075f70
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x1400758f4
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.140009ae0
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1400759c8
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x1400759c8
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x14006e76f.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400827b0
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 0x140075999
Function at 0x140075620
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 [0x140117240]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x1400756b0
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 0x1400756b2
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.140075d50
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x1400757a7
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x14007572b
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x1400757ff
mov ecx, eax
test eax, eax
je 0x140075729
imul rdx, rcx, 0x3e8
jmp 0x14007572b
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x14006e76f.0]
test al, al
je 0x1400757ff
lea rcx, [rbp - 0x38]
call fcn.140009ae0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140075773
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140075773
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e76f.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.140075d50
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x140075704
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.140009ae0
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1400757d8
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x1400757d8
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x14006e76f.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400827b0
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 0x1400757a9
Function at 0x140075810
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.1400749c0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rsp, 0x28
jmp 0x140075810
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 [0x140117240]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x1400758a0
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 0x1400758a2
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.140075f70
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140075997
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x14007591b
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x1400759ef
mov ecx, eax
test eax, eax
je 0x140075919
imul rdx, rcx, 0x3e8
jmp 0x14007591b
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x14006e76f.0]
test al, al
je 0x1400759ef
lea rcx, [rbp - 0x38]
call fcn.140009ae0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140075963
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140075963
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e76f.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.140075f70
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x1400758f4
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.140009ae0
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1400759c8
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x1400759c8
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x14006e76f.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400827b0
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 0x140075999
Function at 0x140076990
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x28], rdi
lea rax, vtable.asw::mi::IExportable.0
mov qword [rdi], rax
xor esi, esi
mov dword [rsp + 0x20], esi
mov ebx, 1
mov dword [rsp + 0x24], ebx
mov rdx, qword [rsp + 0x20]
call fcn.14002a7f0
nop
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
lea rax, vtable.asw::tasklib::task_scheduler.0
mov qword [rdi], rax
mov byte [rdi + 0x18], sil
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov qword [rdi + 0x48], rsi
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], 0x3938700
mov qword [rdi + 0x98], 0x3938700
mov qword [rdi + 0xa0], 0x11e1a300
call fcn.14008217c
mov ecx, eax
mov dword [rdi + 0x142c], 0xffffffff
mov dword [rdi + 0xac], eax
lea rdx, [rdi + 0xb0]
nop dword [rax]
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 0x140076a60
mov dword [rdi + 0xa8], 0x270
mov qword [rdi + 0x1430], rsi
movabs rax, 0x3ff0000000000000
mov qword [rdi + 0x1438], rax
lea rax, vtable.constructible_task_scheduler.0
mov qword [rdi], rax
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14007d8c0
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 0x14007d921
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 0x14007d8e0
mov ecx, dword [r9]
jmp 0x14007da08
cmp ecx, 0x4e0
jb 0x14007da08
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 0x14007d940
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 0x14007d990
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 0x140083468
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400834b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400834b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400834b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400834b2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400834b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400834b4
xor al, al
add rsp, 0x28
ret
Function at 0x14009dabc
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.140083210
sub rsp, rax
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400a4498
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14009db0b
mov rax, rbp
jmp 0x14009dc13
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 + 0x1292c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400a73d4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1292c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14009dc0f
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 0x14009dc0f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400a73d4
test rax, rax
js 0x14009dc0f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14009dc0f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14009dc01
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14009dc01
cmp byte [rcx], 0xd
jne 0x14009dbe7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14009dbf6
cmp byte [rcx + 1], 0xa
jne 0x14009dbf6
inc rcx
jmp 0x14009dbf6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x117670]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14009dbc9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14009dc13
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400827b0
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 0x1400a12b4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a10a4
Function at 0x1400a76b8
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, [0x1401292c0]
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 0x1400a7716
cmp word [rdx], r12w
jne 0x1400a7716
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400a771c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400a7877
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400a7852
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400a7755
mov rcx, r9
jmp 0x1400a7778
cmp r9, rdx
jae 0x1400a778f
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 0x1400a7739
jmp 0x1400a7877
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 0x1400a784c
cmp dword [rsp + 0x80], edi
je 0x1400a784c
mov rdx, r14
lea r11, [0x1401292c0]
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 0x1400a7825
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400a77f8
mov word [rbx], r12w
jmp 0x1400a7873
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 0x1400a7801
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400a7873
cmp word [rsp + 0x70], r12w
jne 0x1400a7832
cmp rbx, rsi
je 0x1400a77f2
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400a73dc
cmp word [rsp + 0x70], r12w
je 0x1400a7877
mov word [rbx], r13w
jmp 0x1400a7873
lea r11, [0x1401292c0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400a786f
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400a7877
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