joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140040e80
test ecx, ecx
jne 0x140040ed0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140040e8c
test ecx, ecx
jne 0x140040ed0
mov rcx, rdi
call fcn.140040d30
movzx eax, al
test bpl, bpl
jne 0x140040ed7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140040ec3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140041048]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140040ec3.2
xor eax, eax
test bpl, bpl
je 0x140040e9c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140041029
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x140040f0a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140040f89
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140040f50
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x140040f6b
inc rax
dec rdi
cmp rax, 1
jne 0x140040f30
jmp 0x140040f89
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x140040f6b
cmp ebx, 0x5c
je 0x140040f6b
inc rax
dec rdi
cmp rax, 1
jne 0x140040f50
jmp 0x140040f89
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140041037
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140040fb3
mov al, 9
cmp rdx, 2
je 0x140040fb7
cmp rdx, 1
jne 0x140040fc7
cmp byte [r8], 0x2e
jne 0x140040fc7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140040fc7
mov al, 0xa
jmp 0x140040fc7
cmp byte [r8], 0x2e
jne 0x140040fc7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140040ec3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140040ec3.2
mov ecx, 2
jmp case.0x140040ec3.2
lea r8, str.library_std_srcpath.rs
call fcn.14006d020
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14006d020
ud2
Function at 0x1400466d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140077350]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140046714
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14004677a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400467b1
test eax, eax
js 0x14004678b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400467a4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str._s_a_
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140040200
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14003a0f0
mov ecx, 7
int 0x29
ud2

Function at 0x1400480d0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140095b69]
mov ecx, 0x10
mov edx, 8
call fcn.14001bd70
test rax, rax
je 0x1400481af
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140048240]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400481a1
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140048178
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.14001bd80
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.14001bd80
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14006ca40
ud2
Function at 0x14005a150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14005a1ca
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14005a1c0
cmp r10, r11
jb 0x14005a263
cmp r10, rdx
ja 0x14005a277
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14005a1c2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14005a1a0
jmp 0x14005a237
ja 0x14005a1ca
mov r11, r10
cmp rax, r8
jne 0x14005a172
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14005a23b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14005a210
mov r8, r10
sub ecx, r9d
jns 0x14005a22e
jmp 0x14005a23d
cmp r10, rdx
je 0x14005a249
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14005a23d
xor al, 1
cmp r8, rdx
jne 0x14005a1f0
jmp 0x14005a23d
xor eax, eax
jmp 0x14005a23d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140079ec9]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14006cbe0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14006d120
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14006d0a0
ud2
Function at 0x1400619a4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400617d0
Function at 0x140001050
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x510
mov rax, qword [0x140003008]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov rsi, rcx
xor edi, edi
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x1400010f4
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x60], 0x100002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0xa8], rsi
mov rcx, rbx
mov dword [rsp + 0x60], 0x100002
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
jne 0x1400010f4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
cmove rdi, rbx
mov rax, rdi
jmp 0x1400010f6
xor eax, eax
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.140001130
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140001a38
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14016c370
mov rax, rcx
neg rcx
test rax, 7
je 0x14016c38d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14016c3e8
test al, 7
jne 0x14016c380
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14016c3a1
mov rdx, qword [rax - 8]
test dl, dl
je 0x14016c412
test dh, dh
je 0x14016c40c
shr rdx, 0x10
test dl, dl
je 0x14016c406
test dh, dh
je 0x14016c400
shr rdx, 0x10
test dl, dl
je 0x14016c3fa
test dh, dh
je 0x14016c3f4
shr edx, 0x10
test dl, dl
je 0x14016c3ee
test dh, dh
jne 0x14016c3a1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x140092c6b
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400fc3c0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400fbd40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400fc3ff
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140279020]
jmp 0x1400fc409
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x140092dec
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401859c0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1401857f0
lea rcx, [rsp + 0x40]
call fcn.140185970
movzx eax, al
test eax, eax
jne 0x140185a08
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140185820
mov rax, qword [rsp + 0x70]
jmp 0x140185bd9
lea rcx, [rsp + 0x40]
call fcn.140185940
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1401858e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140185940
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.140093963
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140185aae
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140185820
mov rax, qword [rsp + 0x80]
jmp 0x140185bd9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140092b5d
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140092a13
lea rcx, [rsp + 0x48]
call fcn.140092676
movzx eax, al
test eax, eax
jne 0x140185b15
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140091889
lea rcx, [rsp + 0x40]
call fcn.140185820
mov rax, qword [rsp + 0x88]
jmp 0x140185bd9
lea rcx, [rsp + 0x48]
call fcn.140093125
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140185940
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.140093963
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140185bab
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140091889
lea rcx, [rsp + 0x40]
call fcn.140185820
mov rax, qword [rsp + 0xa0]
jmp 0x140185bd9
lea rcx, [rsp + 0x48]
call fcn.1400929f0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140091889
lea rcx, [rsp + 0x40]
call fcn.140185820
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140092df6
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400fc2f0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400fbcc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400fc331
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140279020]
jmp 0x1400fc337
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140092e7d
Capabilities:
Get geographical location

Disassembly:
jmp 0x14017e840
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14017d770
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14017e8a7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140279030]
jmp 0x14017e8c9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140092612
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140092e91
Capabilities:
Terminate process

Disassembly:
jmp 0x1400d82f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400930c1
Capabilities:
Print debug messages

Disassembly:
jmp 0x14019c980
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140264ae8]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14019c9a6
jmp 0x14019ca23
mov rcx, qword [rbp + 0x30]
call fcn.1400928fb
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14019c9bf
jmp 0x14019ca23
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14019c9dc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140091a05
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140091e4c
test eax, eax
jne 0x14019ca23
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140092ae0
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400935cb
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400da150
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400da170
xor al, al
jmp 0x1400da1f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400da183
xor al, al
jmp 0x1400da1f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400da1ad
xor al, al
jmp 0x1400da1f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400da1c1
xor al, al
jmp 0x1400da1f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400da1d3
xor al, al
jmp 0x1400da1f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400da1ef
xor al, al
jmp 0x1400da1f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140093b20
Capabilities:
Terminate process

Disassembly:
jmp 0x1400fd470
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400fd49e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14009433b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140094395
Capabilities:
Print debug messages

Disassembly:
jmp 0x140172cd0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x14009444e
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400fc430
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400fbd80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400fc479
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140279020]
jmp 0x1400fc488
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x14017a0d0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140091a05
sub rsp, rax
mov rax, qword [0x140264ae8]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140267cc0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14017a2c2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14017a216
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14017a216
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14017a1fb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14017a198
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14017a282
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14017a2e1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14017a2bd
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14017a2e1
jmp 0x14017a16e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140092ae0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14017a390
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140091a05
sub rsp, rax
mov rax, qword [0x140264ae8]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140267cc0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14017a59d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14017a4e9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14017a4e9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14017a4c9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14017a458
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14017a55d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14017a5bc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14017a598
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14017a5bc
jmp 0x14017a42e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140092ae0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400beee7
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14011c6a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x14011c6c8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x14011c712
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14011c6bd
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret