joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140137500
Capabilities:
Get outbound credentials handle via credssp

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rbx, qword [rsp + 0xd0]
xor r14d, r14d
mov esi, r9d
mov rdi, r8
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], r14
mov dword [rbx + 0x70], 0x80000001
mov dword [rbx + 0x68], edx
mov word [rbx + 0x6c], r14w
call fcn.1400990d0
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140137629
mov qword [rsp + 0x90], rbp
mov rcx, rax
mov ebp, 0x2f
mov edx, ebp
call fcn.14008dd08
test rax, rax
jne 0x140137582
mov rcx, qword [rbx + 0x50]
lea edx, [rbp + 0x11]
call fcn.14008dd08
test rax, rax
je 0x140137582
mov word [rax], bp
mov rdx, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0x90]
test rdi, rdi
je 0x1401375d0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x7c], 2
test rdx, rdx
lea rax, [rbx + 0x30]
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x50]
cmove rcx, r14
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rdx, str.kerberos
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [r9 + 2]
call qword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
je 0x140137630
lea rdx, str.AcquireCredentialsHandle
mov ecx, eax
call fcn.140138010
mov eax, 0xffffffff
jmp 0x140137639
mov byte [rbx + 0x6c], 1
mov eax, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x140137970
Capabilities:
Decrypt data via sspi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov dword [rsp + 0x24], 2
mov rdi, rcx
mov dword [rsp + 0x20], ebp
mov rcx, qword [rcx + 0x58]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rbx, rdx
test rcx, rcx
je 0x1401379bb
call fcn.1400c96e0
mov qword [rdi + 0x58], rbp
mov dword [rdi + 0x70], 0x80000001
cmp byte [rdi + 0x6d], bpl
je 0x140137a5a
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140137ea0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140137a5a
mov eax, dword [rsp + 0x60]
lea rcx, [rdi + 0x40]
mov ebx, 1
mov dword [rsp + 0x30], eax
lea r9, [rdi + 0x70]
mov dword [rsp + 0x44], ebx
xor r8d, r8d
mov dword [rsp + 0x34], 0xa
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x40], ebp
call sub.Secur32.dll_DecryptMessage
test eax, eax
jne 0x140137a34
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x140137a47
mov rcx, qword [rsp + 0x48]
call fcn.140137f60
mov qword [rdi + 0x58], rax
test rax, rax
jne 0x140137a47
jmp 0x140137a42
lea rdx, [0x14015ec98]
mov ecx, eax
call fcn.140138010
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140137a56
call fcn.1400c96e0
mov eax, ebx
jmp 0x140137a5f
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140137f60
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x50]
xor r9d, r9d
mov r8d, 0x40000001
mov qword [rsp + 0x20], rax
mov edi, edx
mov rsi, rcx
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x140137fdf
mov ecx, dword [rsp + 0x50]
call fcn.1400c96f0
mov rbx, rax
test rax, rax
je 0x140137fdf
lea rax, [rsp + 0x50]
mov r9, rbx
mov r8d, 0x40000001
mov qword [rsp + 0x20], rax
mov edx, edi
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x140137fd7
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
call fcn.1400c96e0
lea r9, str.CryptBinaryToString_failed.
xor ecx, ecx
lea r8, [0x140150924]
lea rdx, str.mongoc
call fcn.1400d2db0
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14013cc40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013cc68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14013cc68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400127c0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400127d0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.14000d480
jmp 0x14000123c
mov rax, qword [0x1400127d0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400127d0]
mov dword [rax], 1
mov rax, qword [0x140012810]
mov rdx, rax
mov rax, qword [0x140012800]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140018024], 1
mov rax, qword [0x1400127d0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400127f0]
mov rdx, rax
mov rax, qword [0x1400127e0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400127d0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400127c0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140012710]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140012710]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.14000c6f8
mov rax, qword [0x140012850]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400127b0]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.14000bef0
mov eax, dword [0x140018004]
lea rdx, [0x140018008]
mov ecx, eax
call fcn.14000147c
call fcn.14000bc87
mov rax, qword [0x140012740]
mov rax, qword [rax]
mov rdx, qword [0x140018010]
mov qword [rax], rdx
mov rcx, qword [0x140018010]
mov rdx, qword [0x140018008]
mov eax, dword [0x140018004]
mov r8, rcx
mov ecx, eax
call fcn.14000e3e0
mov dword [0x14001801c], eax
mov eax, dword [0x140018020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14001801c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140018024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14001801c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140012770]
mov dword [rax], 1
mov rax, qword [0x140012780]
mov dword [rax], 1
mov rax, qword [0x140012790]
mov dword [rax], 1
mov rax, qword [0x140012730]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003cd0
Capabilities:
Get session user name

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x130
mov r12, rcx
lea rsi, [rsp + 0x30]
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], 0x100
lea rbp, [r12 + 0x10]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [r12], rbp
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0x28], rax
mov rbx, rax
cmp rax, 0xf
ja 0x140003d50
cmp rax, 1
jne 0x140003d48
movzx edx, byte [rsp + 0x30]
mov byte [r12 + 0x10], dl
mov qword [r12 + 8], rax
mov byte [rbp + rax], 0
mov rax, r12
add rsp, 0x130
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
test rax, rax
je 0x140003d2a
jmp 0x140003d71
lea rdx, [rsp + 0x28]
xor r8d, r8d
mov rcx, r12
call fcn.14000bad0
mov qword [r12], rax
mov rbp, rax
mov rax, qword [rsp + 0x28]
mov qword [r12 + 0x10], rax
cmp ebx, 8
jae 0x140003da0
test bl, 4
jne 0x140003dd8
test ebx, ebx
je 0x140003d8c
movzx eax, byte [rsp + 0x30]
mov byte [rbp], al
test bl, 2
jne 0x140003deb
mov rax, qword [rsp + 0x28]
mov rbp, qword [r12]
jmp 0x140003d2a
mov rax, qword [rsp + 0x30]
lea rdi, [rbp + 8]
and rdi, 0xfffffffffffffff8
mov qword [rbp], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [rbp + rax - 8], rdx
sub rbp, rdi
lea ecx, [rbx + rbp]
sub rsi, rbp
mov ebx, ecx
shr ebx, 3
mov ecx, ebx
rep movsq qword [rdi], qword [rsi]
jmp 0x140003d8c
mov eax, dword [rsp + 0x30]
mov ebx, ebx
mov dword [rbp], eax
mov eax, dword [rsi + rbx - 4]
mov dword [rbp + rbx - 4], eax
jmp 0x140003d8c
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [rbp + rbx - 2], ax
jmp 0x140003d8c
Function at 0x140004740
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x28
mov rcx, rax
lea r8, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140004770
xor eax, eax
add rsp, 0x50
pop rbx
ret
lea rbx, [rsp + 0x40]
xor ecx, ecx
lea r8, [rsp + 0x44]
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x38]
mov r8, rbx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140004762
mov edx, 0x80020003
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
movzx eax, al
add rsp, 0x50
pop rbx
ret

Function at 0x1400053d0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x100
mov rcx, qword [0x1400180c0]
lea rbx, [rsp + 0x90]
lea rsi, [rsp + 0x70]
call sub.gdiplus.dll_GdiplusShutdown
mov rdi, rbx
xor eax, eax
mov ecx, 0xd
rep stosq qword [rdi], rax
vpxor xmm0, xmm0, xmm0
mov rcx, rsi
lea rdi, [rsp + 0x50]
mov qword [rsp + 0x60], 0
vmovdqa xmmword [rsp + 0x50], xmm0
call fcn.1400047f0
mov qword [rsp + 0x48], rdi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rbx
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, rsi
call fcn.14000bb00
mov rcx, qword [rsp + 0x50]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x58]
call rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14000bf00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.14000d270
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x14000cbd2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400181e8]
test eax, eax
je 0x14000cc6a
lea rax, [0x1400181c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400181f0]
mov qword [rbp - 8], rax
jmp 0x14000cc4e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14000cc42
cmp qword [rbp - 0x10], 0
je 0x14000cc42
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000cc08
lea rax, [0x1400181c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000cc6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000cd70
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14000cd98
mov eax, 0
jmp 0x14000cde6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000cdc1
mov eax, 0
jmp 0x14000cde6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14000cde1
mov eax, 0
jmp 0x14000cde6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14000cdec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000ce6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000ce61
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14000ce61
mov rax, qword [rbp - 8]
jmp 0x14000ce7f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14000ce34
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14000da80
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
mov rdi, r8
cmp rdx, 1
je 0x14000db68
mov rax, rdx
shr rax, 0x3c
jne 0x14000db80
lea rbp, [rdx*8]
mov rcx, rbp
call sub.libstdc_6.dll_operator_new_unsigned_long_long_
mov r8, rbp
xor edx, edx
mov rcx, rax
mov rdi, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rbp, [rsi + 0x30]
mov r8, qword [rsi + 0x10]
mov qword [rsi + 0x10], 0
test r8, r8
je 0x14000db3c
xor r10d, r10d
lea r11, [rsi + 0x10]
jmp 0x14000db01
mov rdx, qword [r9]
mov qword [rcx], rdx
mov rax, qword [rax]
mov qword [rax], rcx
test r8, r8
je 0x14000db3c
mov rcx, r8
xor edx, edx
mov r8, qword [r8]
mov rax, qword [rcx + 0x48]
div rbx
lea rax, [rdi + rdx*8]
mov r9, qword [rax]
test r9, r9
jne 0x14000daf0
mov r9, qword [rsi + 0x10]
mov qword [rcx], r9
mov qword [rsi + 0x10], rcx
mov qword [rax], r11
cmp qword [rcx], 0
je 0x14000db34
mov qword [rdi + r10*8], rcx
mov r10, rdx
test r8, r8
jne 0x14000db01
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rcx, rbp
je 0x14000db51
shl rdx, 3
call sub.libstdc_6.dll_operator_delete_void__unsigned_long_long_
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rbp, [rcx + 0x30]
mov qword [rcx + 0x30], 0
mov rdi, rbp
jmp 0x14000dacc
shr rbx, 0x3d
je 0x14000db8b
call fcn.14000ba38
call fcn.14000ba58
mov rcx, rax
vzeroupper
call sub.libstdc_6.dll___cxa_begin_catch
mov rax, qword [rdi]
mov qword [rsi + 0x28], rax
call sub.libstdc_6.dll___cxa_rethrow
mov rbx, rax
vzeroupper
call sub.libstdc_6.dll___cxa_end_catch
mov rcx, rbx
call sub.libgcc_s_seh_1.dll__Unwind_Resume
nop
nop
nop
nop
nop
nop
Function at 0x14000dbc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x58
vmovaps xmmword [rsp], xmm6
vmovaps xmmword [rsp + 0x10], xmm7
vmovaps xmmword [rsp + 0x20], xmm8
vmovaps xmmword [rsp + 0x30], xmm9
vmovaps xmmword [rsp + 0x40], xmm10
vpxor xmm6, xmm6, xmm6
mov rdx, rcx
lea r8, [rcx + 0x380]
mov rax, rcx
mov ecx, 0x80000000
vmovd xmm5, ecx
mov ecx, 0x7fffffff
vmovd xmm4, ecx
mov ecx, 1
vpbroadcastd ymm5, xmm5
vmovd xmm3, ecx
mov ecx, 0x9908b0df
vpbroadcastd ymm4, xmm4
vmovd xmm2, ecx
vpbroadcastd ymm3, xmm3
vpbroadcastd ymm2, xmm2
nop word [rax + rax]
vpand ymm1, ymm4, ymmword [rax + 4]
vpand ymm0, ymm5, ymmword [rax]
add rax, 0x20
vpor ymm0, ymm0, ymm1
vpsrld ymm1, ymm0, 1
vpand ymm0, ymm0, ymm3
vpxor ymm1, ymm1, ymmword [rax + 0x614]
vpsubd ymm0, ymm6, ymm0
vpand ymm0, ymm0, ymm2
vpxor ymm0, ymm1, ymm0
vmovdqu ymmword [rax - 0x20], ymm0
cmp rax, r8
jne 0x14000dc30
mov eax, dword [rdx + 0x384]
mov ecx, dword [rdx + 0x380]
vpxor xmm4, xmm4, xmm4
mov r9d, 0x80000000
vmovd xmm2, r9d
mov r10d, 0x7fffffff
mov r11d, 1
mov r9d, 0x9908b0df
vmovd xmm8, r10d
vmovd xmm10, r11d
vmovd xmm9, r9d
mov r8d, eax
and ecx, 0x80000000
and eax, 0x80000000
vpbroadcastd ymm7, xmm2
and r8d, 0x7fffffff
or ecx, r8d
vpbroadcastd ymm6, xmm8
vpbroadcastd ymm5, xmm10
mov r8d, ecx
and ecx, 1
vpbroadcastd ymm3, xmm9
neg ecx
shr r8d, 1
xor r8d, dword [rdx + 0x9b4]
and ecx, 0x9908b0df
xor ecx, r8d
mov dword [rdx + 0x380], ecx
mov ecx, dword [rdx + 0x388]
mov r8d, ecx
and ecx, 0x80000000
and r8d, 0x7fffffff
or eax, r8d
mov r8d, eax
and eax, 1
neg eax
shr r8d, 1
xor r8d, dword [rdx + 0x9b8]
and eax, 0x9908b0df
xor eax, r8d
mov dword [rdx + 0x384], eax
mov eax, dword [rdx + 0x38c]
and eax, 0x7fffffff
or ecx, eax
and eax, 1
neg eax
shr ecx, 1
xor ecx, dword [rdx + 0x9bc]
and eax, 0x9908b0df
xor eax, ecx
lea rcx, [rdx + 0x9ac]
mov dword [rdx + 0x388], eax
lea rax, [rdx + 0x38c]
nop
vpand ymm1, ymm6, ymmword [rax + 4]
vpand ymm0, ymm7, ymmword [rax]
add rax, 0x20
vpor ymm0, ymm0, ymm1
vpsrld ymm1, ymm0, 1
vpand ymm0, ymm0, ymm5
vpxor ymm1, ymm1, ymmword [rax - 0x3ac]
vpsubd ymm0, ymm4, ymm0
vpand ymm0, ymm0, ymm3
vpxor ymm0, ymm1, ymm0
vmovdqu ymmword [rax - 0x20], ymm0
cmp rcx, rax
jne 0x14000dd60
mov eax, dword [rdx + 0x9bc]
mov ecx, dword [rdx]
vpshufd xmm0, xmm2, 0
vpshufd xmm8, xmm8, 0
vpshufd xmm10, xmm10, 0
vpand xmm8, xmm8, xmmword [rdx + 0x9b0]
vpxor xmm2, xmm2, xmm2
mov qword [rdx + 0x9c0], 0
and ecx, 0x7fffffff
and eax, 0x80000000
vpshufd xmm9, xmm9, 0
vpand xmm0, xmm0, xmmword [rdx + 0x9ac]
or eax, ecx
mov ecx, eax
and eax, 1
vpor xmm0, xmm0, xmm8
neg eax
shr ecx, 1
xor ecx, dword [rdx + 0x630]
and eax, 0x9908b0df
vpsrld xmm1, xmm0, 1
vpand xmm0, xmm0, xmm10
vpxor xmm1, xmm1, xmmword [rdx + 0x620]
vpsubd xmm0, xmm2, xmm0
xor eax, ecx
vpand xmm0, xmm0, xmm9
mov dword [rdx + 0x9bc], eax
vpxor xmm0, xmm1, xmm0
vmovdqu xmmword [rdx + 0x9ac], xmm0
vzeroupper
vmovaps xmm6, xmmword [rsp]
vmovaps xmm7, xmmword [rsp + 0x10]
vmovaps xmm8, xmmword [rsp + 0x20]
vmovaps xmm9, xmmword [rsp + 0x30]
vmovaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14000e340
Capabilities:
Delete file
Query environment variable

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [rcx + 0x10]
mov rbx, rcx
mov rdi, rdx
mov qword [rcx], rbp
test rdx, rdx
je 0x14000e3cb
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0x28], rax
mov rsi, rax
cmp rax, 0xf
ja 0x14000e39c
cmp rax, 1
jne 0x14000e395
movzx eax, byte [rdi]
mov byte [rbx + 0x10], al
mov rax, qword [rsp + 0x28]
mov rdx, qword [rbx]
mov qword [rbx + 8], rax
mov byte [rdx + rax], 0
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
test rax, rax
je 0x14000e37c
jmp 0x14000e3bb
lea rdx, [rsp + 0x28]
xor r8d, r8d
mov rcx, rbx
call fcn.14000bad0
mov qword [rbx], rax
mov rbp, rax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x10], rax
mov r8, rsi
mov rdx, rdi
mov rcx, rbp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
jmp 0x14000e37c
lea rcx, str.basic_string:_construction_from_null_is_not_valid
call fcn.14000ba50
nop
nop dword [rax + rax]
Function at 0x14003c470
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003c47d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003c48d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003c475
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003c4a5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003c492
sub eax, 3
jb 0x14003c4bf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003c4f6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003c4e6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003c4e4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003c4d3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c432
jmp 0x14003c47d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7800
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003c542
cmp rsi, rcx
jae 0x14003c54a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003c529
cmp al, 0x8f
ja 0x14003c529
cmp byte [rsi - 2], 0xf
je 0x14003c52f
sub al, 0xe8
cmp al, 1
ja 0x14003c513
cmp rsi, rcx
jae 0x14003c54a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003c519
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003c54a
lodsb al, byte [rsi]
jmp 0x14003c529
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3a000]
mov eax, dword [rdi]
or eax, eax
je 0x14003c5b3
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6527c]
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 0x14003c557
jns 0x14003c58c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003c596
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 0x14003c5ad
mov qword [rbx], rax
add rbx, 8
jmp 0x14003c577
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 0x14003c5ed
cmp al, 0xef
ja 0x14003c5df
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14003c5bf
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14003c5ce
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 + 0x22f]
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 0x14003c641
sub rsp, 0xffffffffffffff80
jmp 0x14000703c