joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016400
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140025df0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140016420
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140016428
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140016420
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14001647d
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 0x140016474
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140016420
add rax, 0x28
cmp rax, r9
jne 0x140016460
xor eax, eax
ret

Function at 0x140016480
Capabilities:
Parse pe header

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

Function at 0x140016540
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140025df0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001655f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140016568
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14001ca40
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 0x14001cb42
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14001cb1a
add rax, 1
cmp rax, 0x6b
je 0x14001cb37
cmp byte [rcx + rax], 0
jne 0x14001cb10
movsxd rdx, eax
cmp eax, 0x6a
je 0x14001cb37
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 0x14001cb2b
Function at 0x14001cee0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x14002ce20], 1
je 0x14001cf58
lea rdi, [0x14002ce20]
mov rcx, rdi
call fcn.14001c7c0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001c140
mov esi, dword [0x14002ce20]
test esi, esi
jne 0x14001cf68
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400224a8], eax
cmp eax, 0xffffffff
je 0x140021846
mov dword [0x14002ce20], 1
mov rcx, rbp
call fcn.14001c430
test rbx, rbx
je 0x14001cf58
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001cb60
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x14001cf38
mov ecx, 2
call qword [fcn.14001b9d0]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001cf38
call sub.msvcrt.dll_abort
nop

Function at 0x14001cf90
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001cc70
cmp qword [0x14002e048], 0
mov rbx, rax
je 0x14001d0a8
test rax, rax
je 0x14001d0a8
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.140020210
cmp eax, 1
je 0x14001d0b6
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.14002184c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400224a8]
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 0x14001d0bc
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.14001ca40
nop
jmp fcn.14002184c

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

Disassembly:
sub rsp, 0x28
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d0f0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001cf90
Function at 0x14001d860
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 0x14001d988
cmp eax, 1
je 0x14001d8bb
call fcn.14001c7c0
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.14001c140
mov r12d, dword [rbx]
test r12d, r12d
je 0x14001d8d0
cmp r12d, 1
jne 0x14001d960
mov rcx, rbp
call fcn.14001c430
test rdi, rdi
je 0x14001d8bb
mov rcx, rdi
call fcn.14001cb60
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x14001cc40]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x14001d9c8
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call r12
test rax, rax
je 0x14001d9b0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call r12
test rax, rax
je 0x14001d9a0
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x14001d8a6
mov ecx, 2
call qword [fcn.14001b9d0]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001d8a6
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001cf90
test rax, rax
jne 0x14001d949
jmp 0x140021865
call fcn.14001cf90
test rax, rax
jne 0x14001d925
jmp 0x14002187e
call fcn.14001cf90
test rax, rax
jne 0x14001d8ff
jmp 0x140021874
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 0x14001dc50
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.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001dcc8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.140020220
cmp esi, dword [rbx + 0x48]
jae 0x14001dca3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001dca3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.140020260
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.14001cf90
mov rbx, rax
jmp 0x14001dc7d
Function at 0x14001dce0
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.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001dde0
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.140020220
cmp esi, dword [rbx + 0x48]
jae 0x14001dd60
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.140020260
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 0x14001dded
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14001dded
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 0x14001dd2f
call fcn.14001cf90
mov rbx, rax
jmp 0x14001dd1a
mov rcx, r13
call fcn.140020260
mov eax, 0xc
jmp 0x14001dd4d

Function at 0x14001de70
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001de98
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001cf90
test rax, rax
jne 0x14001de8a
add rsp, 0x28
ret

Function at 0x14001df00
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001df28
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001cf90
test rax, rax
jne 0x14001df1a
jmp 0x14001df1e

Function at 0x14001e040
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14002ce28]
test eax, eax
jne 0x14001e058
xor eax, eax
add rsp, 0x28
ret
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001e088
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001e04e
test byte [rax + 0x40], 3
je 0x14001e04e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001e050
call fcn.14001cf90
test rax, rax
jne 0x14001e06e
jmp 0x14001e04e

Function at 0x14001e0a0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001e0e0
test ebx, ebx
jle 0x14001e0d0
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.14001cf90
test rax, rax
jne 0x14001e0bd
add rsp, 0x20
pop rbx
ret
Function at 0x14001e1d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001e248
test byte [rbx + 0x40], 0xc
jne 0x14001e1ff
mov eax, dword [0x14002ce28]
test eax, eax
jne 0x14001e210
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001c140
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001e233
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001e233
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001e25c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001c430
call fcn.14001cf90
mov rbx, rax
test rax, rax
jne 0x14001e1ef
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 0x14001e27a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001c430
call fcn.14001e0f0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001e300
call fcn.14001f3b0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001e338
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001e390
test esi, esi
je 0x14001e316
call fcn.14001e1d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001e370
mov edx, edi
call fcn.14001f460
call fcn.14001e1d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001e380
call fcn.14001e1d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001e1d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001e2d5
call fcn.14001cf90
mov rbx, rax
jmp 0x14001e2d5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001e2ee
call fcn.14001cf90
jmp 0x14001e316
call fcn.14001cf90
mov rbx, rax
jmp 0x14001e2d1
Function at 0x14001e290
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001e248
test byte [rbx + 0x40], 0xc
jne 0x14001e1ff
mov eax, dword [0x14002ce28]
test eax, eax
jne 0x14001e210
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001c140
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001e233
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001e233
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001e25c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001c430
call fcn.14001cf90
mov rbx, rax
test rax, rax
jne 0x14001e1ef
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 0x14001e27a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001c430
call fcn.14001e0f0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001e300
call fcn.14001f3b0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001e338
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001e390
test esi, esi
je 0x14001e316
call fcn.14001e1d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001e370
mov edx, edi
call fcn.14001f460
call fcn.14001e1d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001e380
call fcn.14001e1d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001e1d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001e2d5
call fcn.14001cf90
mov rbx, rax
jmp 0x14001e2d5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001e2ee
call fcn.14001cf90
jmp 0x14001e316
call fcn.14001cf90
mov rbx, rax
jmp 0x14001e2d1

Function at 0x14001e3a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001cee0
mov ecx, dword [0x1400224a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001e410
test esi, esi
je 0x14001e3f0
call fcn.14001e1d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001e420
mov edx, esi
call fcn.14001f460
call fcn.14001e1d0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001e1d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001e1d0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001cf90
mov rbx, rax
jmp 0x14001e3c1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001e3da
Function at 0x140018d30
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140018d3d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140018d4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140018d35
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140018d65
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140018d52
sub eax, 3
jb 0x140018d7f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140018db6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140018da6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140018da4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140018d93
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140018cf2
jmp 0x140018d3d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb200
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140018e02
cmp rsi, rcx
jae 0x140018e0a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140018de9
cmp al, 0x8f
ja 0x140018de9
cmp byte [rsi - 2], 0xf
je 0x140018def
sub al, 0xe8
cmp al, 1
ja 0x140018dd3
cmp rsi, rcx
jae 0x140018e0a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140018dd9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140018e0a
lodsb al, byte [rsi]
jmp 0x140018de9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x15000]
mov eax, dword [rdi]
or eax, eax
je 0x140018e73
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x191dc]
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 0x140018e17
jns 0x140018e4c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140018e56
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 0x140018e6d
mov qword [rbx], rax
add rbx, 8
jmp 0x140018e37
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 0x140018ead
cmp al, 0xef
ja 0x140018e9f
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140018e7f
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140018e8e
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 + 0x227]
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 0x140018f01
sub rsp, 0xffffffffffffff80
jmp 0x14000b0e8
Function at 0x1400110fa
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140012b50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14002706a]
call fcn.140011537
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x140012b8c
mov rcx, qword [rbp + 0x100]
call fcn.14001111d
jmp 0x140012ba7
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x140012ba7
mov rcx, qword [rbp + 0x100]
call fcn.14001129e
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001129e
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140013120
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002706a]
call fcn.140011537
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140013164
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x1400131f5
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1400131ba
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400131c4
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140013159
mov qword [rbp + 0x88], 0xe3
jmp 0x140013213
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x1400132bc
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140013278
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140013282
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140013202
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14001331c
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140013326
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x1400112f3
Capabilities:
Terminate process

Disassembly:
jmp 0x140015500
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