joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bd30
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x14003dd10], 1
je 0x14001bda8
lea rdi, [0x14003dd10]
mov rcx, rdi
call fcn.14001b610
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001af90
mov esi, dword [0x14003dd10]
test esi, esi
jne 0x14001bdb8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14002f518], eax
cmp eax, 0xffffffff
je 0x14002e726
mov dword [0x14003dd10], 1
mov rcx, rbp
call fcn.14001b280
test rbx, rbx
je 0x14001bda8
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001b9b0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x14001bd88
mov ecx, 2
call qword [fcn.14001a760]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001bd88
call sub.msvcrt.dll_abort
nop

Function at 0x14001bde0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001bac0
cmp qword [0x140040048], 0
mov rbx, rax
je 0x14001bef8
test rax, rax
je 0x14001bef8
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14001f060
cmp eax, 1
je 0x14001bf06
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je fcn.14002e72c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x14002f518]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14001bf0c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001b890
nop
jmp fcn.14002e72c

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

Disassembly:
sub rsp, 0x28
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001bf40
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001bde0
Function at 0x14001c6b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001c7d8
cmp eax, 1
je 0x14001c70b
call fcn.14001b610
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.14001af90
mov r12d, dword [rbx]
test r12d, r12d
je 0x14001c720
cmp r12d, 1
jne 0x14001c7b0
mov rcx, rbp
call fcn.14001b280
test rdi, rdi
je 0x14001c70b
mov rcx, rdi
call fcn.14001b9b0
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x14001ba90]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001bd30
mov ecx, dword [0x14002f518]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x14001c818
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call r12
test rax, rax
je 0x14001c800
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call r12
test rax, rax
je 0x14001c7f0
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x14001c6f6
mov ecx, 2
call qword [fcn.14001a760]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001c6f6
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001bde0
test rax, rax
jne 0x14001c799
jmp 0x14002e745
call fcn.14001bde0
test rax, rax
jne 0x14001c775
jmp 0x14002e75e
call fcn.14001bde0
test rax, rax
jne 0x14001c74f
jmp 0x14002e754
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x14001caa0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001cb18
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001f070
cmp esi, dword [rbx + 0x48]
jae 0x14001caf3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001caf3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001f0b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001bde0
mov rbx, rax
jmp 0x14001cacd
Function at 0x14001cb30
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001cc30
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.14001f070
cmp esi, dword [rbx + 0x48]
jae 0x14001cbb0
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.14001f0b0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x14001cc3d
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14001cc3d
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x14001cb7f
call fcn.14001bde0
mov rbx, rax
jmp 0x14001cb6a
mov rcx, r13
call fcn.14001f0b0
mov eax, 0xc
jmp 0x14001cb9d

Function at 0x14001ccc0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001cce8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001bde0
test rax, rax
jne 0x14001ccda
add rsp, 0x28
ret

Function at 0x14001cd50
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001cd78
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001bde0
test rax, rax
jne 0x14001cd6a
jmp 0x14001cd6e

Function at 0x14001ce90
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14003dd18]
test eax, eax
jne 0x14001cea8
xor eax, eax
add rsp, 0x28
ret
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001ced8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001ce9e
test byte [rax + 0x40], 3
je 0x14001ce9e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001cea0
call fcn.14001bde0
test rax, rax
jne 0x14001cebe
jmp 0x14001ce9e

Function at 0x14001cef0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001cf30
test ebx, ebx
jle 0x14001cf20
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.14001bde0
test rax, rax
jne 0x14001cf0d
add rsp, 0x20
pop rbx
ret
Function at 0x14001d020
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d098
test byte [rbx + 0x40], 0xc
jne 0x14001d04f
mov eax, dword [0x14003dd18]
test eax, eax
jne 0x14001d060
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001af90
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001d083
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001d083
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001d0ac
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001b280
call fcn.14001bde0
mov rbx, rax
test rax, rax
jne 0x14001d03f
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 0x14001d0ca
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001b280
call fcn.14001cf40
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001d150
call fcn.14001e200
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001d188
call fcn.14001bd30
mov ecx, dword [0x14002f518]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d1e0
test esi, esi
je 0x14001d166
call fcn.14001d020
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d1c0
mov edx, edi
call fcn.14001e2b0
call fcn.14001d020
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d1d0
call fcn.14001d020
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d020
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001bd30
mov ecx, dword [0x14002f518]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001d125
call fcn.14001bde0
mov rbx, rax
jmp 0x14001d125
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d13e
call fcn.14001bde0
jmp 0x14001d166
call fcn.14001bde0
mov rbx, rax
jmp 0x14001d121
Function at 0x14001d0e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d098
test byte [rbx + 0x40], 0xc
jne 0x14001d04f
mov eax, dword [0x14003dd18]
test eax, eax
jne 0x14001d060
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001af90
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001d083
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001d083
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001d0ac
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001b280
call fcn.14001bde0
mov rbx, rax
test rax, rax
jne 0x14001d03f
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 0x14001d0ca
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001b280
call fcn.14001cf40
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001d150
call fcn.14001e200
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001d188
call fcn.14001bd30
mov ecx, dword [0x14002f518]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d1e0
test esi, esi
je 0x14001d166
call fcn.14001d020
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d1c0
mov edx, edi
call fcn.14001e2b0
call fcn.14001d020
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d1d0
call fcn.14001d020
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d020
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001bd30
mov ecx, dword [0x14002f518]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001d125
call fcn.14001bde0
mov rbx, rax
jmp 0x14001d125
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d13e
call fcn.14001bde0
jmp 0x14001d166
call fcn.14001bde0
mov rbx, rax
jmp 0x14001d121

Function at 0x14001d1f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001bd30
mov ecx, dword [0x14002f518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d260
test esi, esi
je 0x14001d240
call fcn.14001d020
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d270
mov edx, esi
call fcn.14001e2b0
call fcn.14001d020
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001d020
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d020
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001bde0
mov rbx, rax
jmp 0x14001d211
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d22a
Function at 0x140022940
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
movabs rsi, 0x657220677562206c
movabs rbx, 0x6c75662074696d62
movabs r9, 0x756f6e6520746f6e
movabs r10, 0x6563617073206867
movabs r11, 0x726f6620726f6620
movabs r12, 0x617078652074616d
movabs r14, 0x5028206e6f69736e
movabs r15, 0x757320657361656c
mov qword [rbp - 0x38], rsi
sub rdx, rcx
movabs rsi, 0x2f2f3a7370747468
mov qword [rbp - 0x40], rbx
lea rax, [rdx + 0x78]
movabs rbx, 0x2074612074726f70
mov qword [rbp - 0x28], rsi
and rax, 0xfffffffffffffff0
movabs rsi, 0x736775622f67726f
mov qword [rbp - 0x18], rsi
movabs rsi, 0x202020200a3a29
mov qword [rbp - 0x30], rbx
movabs rbx, 0x2e756e672e636367
mov qword [rbp - 0x20], rbx
movabs rbx, 0x2f736775622f6772
mov qword [rbp - 0xf], rsi
mov rsi, rdx
mov qword [rbp - 0x70], r9
mov qword [rbp - 0x68], r10
mov qword [rbp - 0x60], r11
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x17], rbx
call fcn.140014d80
movabs rdx, 0x657220677562206c
movdqa xmm0, xmmword [rbp - 0x20]
sub rsp, rax
mov r8, rsi
movabs rax, 0x6c75662074696d62
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x20]
movabs rax, 0x2074612074726f70
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x58], rdx
movabs rdx, 0x2f2f3a7370747468
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rdx
mov rdx, rcx
mov rcx, rax
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
movaps xmmword [rsp + 0x70], xmm0
call sub.msvcrt.dll_memcpy
mov rcx, rbx
mov byte [rsp + rsi + 0x88], 0
call fcn.14002dfb0
nop
nop
nop
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x14002f5e0], 0
jne 0x140022a43
mov byte [0x14002f5e0], 1
call fcn.14002da10
test rax, rax
je 0x140022a18
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call fcn.140013b90
mov ecx, 2
mov rsi, qword [fcn.14001a760]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sub.msvcrt.dll_fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x140022a09
call rsi
mov rcx, rbx
mov rdx, rax
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x140030731]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x14002de47
jmp 0x14002de3f
call rsi
mov rcx, rdi
mov rdx, rax
call sub.msvcrt.dll_fputs
jmp 0x1400229d7
mov ecx, 2
call qword [fcn.14001a760]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sub.msvcrt.dll_fwrite
nop
jmp 0x14002de3a
mov ecx, 2
call qword [fcn.14001a760]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
Function at 0x14002ddd0
Capabilities:
Write file on windows

Disassembly:
call fcn.14002d910
call fcn.14002db60
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x14002dd77
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.1400217e0
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.1400218d0
test al, al
jne 0x14002dd95
lea rbx, [0x140033750]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.1400218d0
test al, al
je 0x14002dd9a
mov ecx, 8
call fcn.14002d8a0
lea r8, [0x140028c10]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x140033380]
add rax, 0x10
mov qword [rcx], rax
call fcn.14002dc20
add rbx, 0x90
jmp 0x14002dd06
call fcn.14002dbd0
mov rcx, rdi
call fcn.140021bf0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.14002d910
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x14002de4c
call fcn.14002d910
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.14002da40
call sub.msvcrt.dll_abort
mov rcx, rdi
call fcn.14001ad30
call fcn.14002dbd0
call fcn.14002d910
call fcn.14002da40
jmp 0x14002de3a
Function at 0x180037668
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180222070]
xor rax, rsp
mov qword [rsp + 0x90], rax
movss xmm6, dword [0x18020a7a0]
movss dword [rsp + 0x24], xmm6
mov rdx, qword [rcx]
cmp rdx, 2
jb 0x18003784a
mov ecx, 0x68
mov dword [rsp + 0x20], ecx
mov eax, dword [0x180254688]
cmp eax, 0x9f3
jl 0x1800376d2
mov ecx, 0x70
jmp 0x1800376e4
add eax, 0xfffff766
mov r8d, 0x40
cmp eax, 0x45
cmovbe ecx, r8d
mov dword [rsp + 0x20], ecx
movsxd rax, ecx
mov rcx, qword [rax + rdx]
test rcx, rcx
jne 0x1800376fc
movaps xmm0, xmm6
jmp 0x18003784d
mov r14d, dword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x180037711
movaps xmm0, xmm6
jmp 0x18003784d
xor ebx, ebx
movabs r15, 0x9e94335b2ff148a2
mov dword [rsp + 0x28], ebx
cmp ebx, r14d
jge 0x180037842
lea eax, [rbx*8]
movsxd rcx, eax
mov rdi, qword [rcx + rsi + 0x20]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x30], rdi
test rdi, rdi
jne 0x18003774e
jmp 0x18003783b
lea rcx, [rsp + 0x30]
call fcn.180037438
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rdi]
cmp byte [rsp + 0x38], 0
je 0x18003783b
movabs rcx, 0xe4f5464df818902b
mov qword [rsp + 0x50], rcx
movabs rcx, 0x9476320c3799b9ac
mov qword [rsp + 0x58], rcx
movabs rcx, 0xc9e6cd063f107360
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r15
movabs rcx, 0x8d8125289277e27b
mov qword [rsp + 0x70], rcx
movabs rcx, 0xfa19426d52cedcc0
mov qword [rsp + 0x78], rcx
movabs rcx, 0xc9e6cd063f741c2d
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.18011c3a0
test rax, rax
je 0x18003783b
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [0x18020a764]
jb 0x180037842
comiss xmm6, xmm0
jb 0x180037842
mulss xmm6, xmm0
movss dword [rsp + 0x24], xmm6
jmp 0x180037842
inc ebx
jmp 0x18003771d
jmp 0x18003784a
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180119f00
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
ret
Function at 0x18005efd4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180222070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0x5a4d
mov r14, r9
mov rbp, r8
cmp word [rdx], ax
jne 0x18005f079
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x18005f079
movzx esi, word [rcx + 0x14]
xor r11d, r11d
movzx ebx, word [rcx + 6]
add rsi, rcx
test rbx, rbx
je 0x18005f079
xor r8d, r8d
lea rcx, [rsi + 0x18]
test dword [rcx + 0x24], 0x20000
jne 0x18005f06a
mov rax, qword [rcx]
mov rdi, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
sub rdi, rax
mov byte [rsp + 0x38], 0
movzx r9d, byte [rax]
movzx r10d, byte [rax + rdi]
sub r9d, r10d
jne 0x18005f065
inc rax
test r10d, r10d
jne 0x18005f04f
test r9d, r9d
je 0x18005f09d
inc r11d
inc r8
add rcx, 0x28
cmp r8, rbx
jl 0x18005f02e
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180119f00
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
movsxd rax, r11d
mov r9, r14
lea rcx, [rax + rax*4]
mov ebx, dword [rsi + rcx*8 + 0x24]
mov r8d, dword [rsi + rcx*8 + 0x20]
add rbx, rdx
mov rdx, rbx
call fcn.18005eedc
cmp rax, 0xffffffffffffffff
je 0x18005f079
add rax, rbx
jmp 0x18005f07b
Function at 0x180078e64
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rax, rax
je 0x180078ea2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
add eax, 0xffffff80
test eax, 0xffffff7f
je 0x180078ea2
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180078f18
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180078f18
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x767e8cf9
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x180078f14
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x180078ef4
cmp r11d, 0xe8774b39
je 0x180078f1d
test edx, edx
jne 0x180078ed7
mov rax, qword [rax]
jmp 0x180078eb3
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbx
add rax, r8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax