joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4816ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x00831258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4816af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004bc1e0]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x48169e
mov edi, 1
lea rsi, [0x004bc1e0]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0074bd18]
lea rsi, [0x0074b4f0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x4a7000
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4a7017
inc rax
cmp rax, 4
jge 0x4a702f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4a7014
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4a7040
inc rax
cmp rax, 4
jge 0x4a704e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4a7077
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4a705b
jmp 0x4a703d
Function at 0x1400748a0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x7b], 0
mov qword [rsp + 0x83], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1400749a2
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14007497a
add rax, 1
cmp rax, 0x6b
je 0x140074997
cmp byte [rcx + rax], 0
jne 0x140074970
movsxd rdx, eax
cmp eax, 0x6a
je 0x140074997
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14007498b

Function at 0x140074d40
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x140127230], 1
je 0x140074db8
lea rdi, [0x140127230]
mov rcx, rdi
call fcn.140074620
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.140077460
mov esi, dword [0x140127230]
test esi, esi
jne 0x140074dc8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400a6738], eax
cmp eax, 0xffffffff
je 0x1400a4b26
mov dword [0x140127230], 1
mov rcx, rbp
call fcn.140077750
test rbx, rbx
je 0x140074db8
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400749c0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x140074d98
mov ecx, 2
call qword [fcn.1400928f0]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x140074d98

Function at 0x140074f30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140074f50
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.140074df0

Function at 0x140075cd0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140075cf8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.140074df0
test rax, rax
jne 0x140075cea
add rsp, 0x28
ret

Function at 0x140075d60
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140075d88
add rax, 0x18
add rsp, 0x28
ret
call fcn.140074df0
test rax, rax
jne 0x140075d7a
jmp 0x140075d7e
Function at 0x140075ea0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140127238]
test eax, eax
jne 0x140075eb8
xor eax, eax
add rsp, 0x28
ret
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140075ee8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x140075eae
test byte [rax + 0x40], 3
je 0x140075eae
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140075eb0
call fcn.140074df0
test rax, rax
jne 0x140075ece
jmp 0x140075eae

Function at 0x140075f00
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140075f40
test ebx, ebx
jle 0x140075f30
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.140074df0
test rax, rax
jne 0x140075f1d
add rsp, 0x20
pop rbx
ret

Function at 0x140076030
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400760a8
test byte [rbx + 0x40], 0xc
jne 0x14007605f
mov eax, dword [0x140127238]
test eax, eax
jne 0x140076070
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140077460
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140076093
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140076093
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400760bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140077750
call fcn.140074df0
mov rbx, rax
test rax, rax
jne 0x14007604f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1400760da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140077750
call fcn.140075f50
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140076160
call fcn.140077210
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140076198
call fcn.140074d40
mov ecx, dword [0x1400a6738]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400761f0
test esi, esi
je 0x140076176
call fcn.140076030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400761d0
mov edx, edi
call fcn.1400772c0
call fcn.140076030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400761e0
call fcn.140076030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140076030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140074d40
mov ecx, dword [0x1400a6738]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140076135
call fcn.140074df0
mov rbx, rax
jmp 0x140076135
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007614e
call fcn.140074df0
jmp 0x140076176
call fcn.140074df0
mov rbx, rax
jmp 0x140076131
Function at 0x1400760f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400760a8
test byte [rbx + 0x40], 0xc
jne 0x14007605f
mov eax, dword [0x140127238]
test eax, eax
jne 0x140076070
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140077460
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140076093
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140076093
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400760bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140077750
call fcn.140074df0
mov rbx, rax
test rax, rax
jne 0x14007604f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1400760da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140077750
call fcn.140075f50
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140076160
call fcn.140077210
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140076198
call fcn.140074d40
mov ecx, dword [0x1400a6738]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400761f0
test esi, esi
je 0x140076176
call fcn.140076030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400761d0
mov edx, edi
call fcn.1400772c0
call fcn.140076030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400761e0
call fcn.140076030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140076030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140074d40
mov ecx, dword [0x1400a6738]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140076135
call fcn.140074df0
mov rbx, rax
jmp 0x140076135
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007614e
call fcn.140074df0
jmp 0x140076176
call fcn.140074df0
mov rbx, rax
jmp 0x140076131

Function at 0x140076200
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140074d40
mov ecx, dword [0x1400a6738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140076270
test esi, esi
je 0x140076250
call fcn.140076030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140076280
mov edx, esi
call fcn.1400772c0
call fcn.140076030
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140076030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140076030
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140074df0
mov rbx, rax
jmp 0x140076221
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007623a
Function at 0x1400830c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400928f0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call fcn.140092f48
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400928f0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140083130
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401272e4]
mov rbx, rcx
test esi, esi
jle 0x140083260
mov rax, qword [0x1401272e8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14008317b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140083205
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140083160
mov rcx, rbx
call fcn.140083b80
mov rdi, rax
test rax, rax
je 0x140083282
mov rax, qword [0x1401272e8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140083cc0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401272e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140083267
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400831fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140083210
add dword [0x1401272e4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401272e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400831fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400830c0
nop dword [rax]
xor esi, esi
jmp 0x140083188
mov rax, qword [0x1401272e8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400830c0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400830c0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400837f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140127340]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140127320]
test rbx, rbx
je 0x14008384c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140083843
test rsi, rsi
je 0x140083843
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140083828
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140083b80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400f6d60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140083ba0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140083ba8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140083ba0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140083bfd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140083bf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140083ba0
add rax, 0x28
cmp rax, r9
jne 0x140083be0
xor eax, eax
ret

Function at 0x140083c00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400f6d60]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140083c1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140083c28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140083c1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140083cc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400f6d60]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140083cdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140083ce8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400a43a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400a6a20]
jmp 0x140084cd0

Function at 0x140757ad0
Capabilities:
Terminate process

Disassembly:
and eax, eax
invalid
cld
pop r11
jmp 0x140757add
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140757aed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140757ad5
lea eax, [rcx + 1]
jmp 0x140757afb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140757b0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140757af4
sub eax, 3
jb 0x140757b2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140757b7d
sar eax, 1
movsxd rbp, eax
jb 0x140757b64
jmp 0x140757b3c
add ebx, ebx
jne 0x140757b3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140757b64
inc ecx
add ebx, ebx
jne 0x140757b4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140757b64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140757b5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140757b4c
add ecx, 2
jmp 0x140757b69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140757a92
jmp 0x140757add
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x754000]
mov eax, dword [rdi]
or eax, eax
je 0x140757be9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7571e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140757b8d
jns 0x140757bc2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140757bcc
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140757be3
mov qword [rbx], rax
add rbx, 8
jmp 0x140757bad
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140757c2d
cmp al, 0xef
ja 0x140757c15
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140757bf5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140757c04
mov eax, dword [rdi]
add rdi, 4
jmp 0x140757c04
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140757c81
sub rsp, 0xffffffffffffff80
jmp 0x1406ed48c
Function at 0x1400014d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400bf780]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.1400808ec
test rax, rax
je 0x140001501
mov qword [rax], rdi
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400022a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14000154e
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140080e60
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x140001b10
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x3f], 0
mov rbx, rcx
je 0x140001b36
xor eax, eax
lea r8d, [rax + 1]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x3e
jb 0x140001b21
mov byte [rdx + 0x3f], 0
call fcn.1400018b0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140003290
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 0x1400032b0
mov dword [rcx], 0x270
mov rax, rcx
ret
Function at 0x140005700
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400bf780]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400057d3
cmp byte [rcx + 0x71], 0
je 0x1400057d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400057cf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005794
sub eax, 1
je 0x140005798
cmp eax, 2
jne 0x1400057cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140080e60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400057c6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400057cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000577c
xor al, al
jmp 0x14000577c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140080e60
add rsp, 0x60
pop rbx
ret
Function at 0x1400058d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x140005931
lea r8, [r9 + 8]
nop dword [rax]
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 0x1400058f0
mov ecx, dword [r9]
jmp 0x140005a18
cmp ecx, 0x4e0
jb 0x140005a18
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, eax
lea r10, [r10 + 4]
xor edx, r11d
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 0x140005950
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, eax
lea r10, [r10 + 4]
xor edx, r11d
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 0x1400059a0
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