joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010ef0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.User32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140107f68], rax
mov rbx, rax
test rax, rax
jne 0x140010f1b
lea eax, [rbx - 0x63]
add rsp, 0x20
pop rbx
ret
lea rdx, [0x1400e1cd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f50], rax
test rax, rax
jne 0x140010f6f
lea rdx, str.GetMessageAA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f50], rax
test rax, rax
jne 0x140010f6f
lea rdx, str.GetMessageAW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f50], rax
test rax, rax
je 0x140010fca
mov rbx, qword [0x140107f68]
lea rdx, [0x1400e1d00]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f48], rax
test rax, rax
jne 0x140010fd5
lea rdx, str.PeekMessageAA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f48], rax
test rax, rax
jne 0x140010fd5
lea rdx, str.PeekMessageAW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f48], rax
test rax, rax
jne 0x140010fd5
mov eax, 0xfffffffb
add rsp, 0x20
pop rbx
ret
mov rbx, qword [0x140107f68]
lea rdx, str.PostThreadMessageA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f70], rax
test rax, rax
jne 0x140011030
lea rdx, str.PostThreadMessageAA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f70], rax
test rax, rax
jne 0x140011030
lea rdx, str.PostThreadMessageAW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140107f70], rax
test rax, rax
je 0x140010fca
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140011300
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x140107f60], 0
je 0x140011385
mov ecx, dword [0x140107f78]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [0x140107f70]
test eax, eax
je 0x14001133d
mov rcx, qword [0x140107f60]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140011369
lea r9, str.could_not_wait_for_timer_thread_to_quit
mov edx, 4
lea r8, str.windows_destroy_clock
xor ecx, ecx
call fcn.140003000
mov rcx, qword [0x140107f60]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140107f60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [0x140107f60], rax
mov dword [0x140107f78], eax
add rsp, 0x28
ret

Function at 0x140013340
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [rcx + 8]
neg eax
sbb r9d, r9d
jmp sym.test_navi_controller.exe_hid_read_timeout
Function at 0x140013350
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r15, qword [rcx + 0x48]
xor ebx, ebx
mov ebp, r9d
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov dword [rsp + 0x70], ebx
cmp dword [rcx + 0x24], ebx
jne 0x140013438
mov r8, qword [rcx + 0x10]
xor edx, edx
mov dword [rcx + 0x24], 1
mov rcx, qword [rcx + 0x28]
call fcn.140081f50
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r8d, dword [rdi + 0x10]
lea rax, [rdi + 0x30]
mov rdx, qword [rdi + 0x28]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140013438
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140013438
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [rdi + 0x24], ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rax, qword [rsp + 0x40]
cmp word [rax], bx
je 0x1400134bd
nop
cmp word [rax], 0xd
je 0x1400134ba
add rax, 2
cmp word [rax], bx
jne 0x140013420
jmp 0x1400134bd
test ebp, ebp
js 0x140013452
mov edx, ebp
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140013452
xor eax, eax
jmp 0x1400134d3
mov rcx, qword [rdi]
lea rdx, [rdi + 0x30]
mov r9d, 1
lea r8, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [rdi + 0x24], ebx
test eax, eax
je 0x1400133e2
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1400134b6
mov rdx, qword [rdi + 0x28]
mov rcx, r14
cmp byte [rdx], bl
mov rbx, rsi
jne 0x1400134a7
dec eax
cmp rsi, rax
mov dword [rsp + 0x70], eax
cmova rbx, rax
inc rdx
mov r8, rbx
call fcn.140081180
mov eax, ebx
jmp 0x1400134d3
cmp rsi, rax
cmova rbx, rax
mov r8, rbx
call fcn.140081180
mov eax, ebx
jmp 0x1400134d3
mov word [rax], bx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x18], rax
or eax, 0xffffffff
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400135a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
xor eax, eax
mov rbx, rcx
movzx ecx, word [rcx + 0xc]
mov rsi, r8
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
cmp r8, rcx
jb 0x1400135d9
mov rdi, rdx
jmp 0x140013606
call fcn.1400839b0
mov r8, rsi
mov rdx, rbp
mov rcx, rax
mov rdi, rax
call fcn.140081180
movzx r8d, word [rbx + 0xc]
lea rcx, [rdi + rsi]
sub r8, rsi
xor edx, edx
call fcn.140081f50
movzx esi, word [rbx + 0xc]
mov rcx, qword [rbx]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013651
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140013651
lea rdx, [0x1400bd980]
mov rcx, rbx
call fcn.1400138d0
or eax, 0xffffffff
mov dword [rsp + 0x80], eax
jmp 0x1400136ef
mov rcx, qword [rbx]
lea r8, [rsp + 0x80]
mov r9d, 1
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400136e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
xor edx, edx
mov r8d, eax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x88]
mov dword [rsp + 0x28], esi
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
mov r9d, 0x400
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rax, qword [rsp + 0x88]
cmp word [rax], si
je 0x1400136c6
cmp word [rax], 0xd
je 0x1400136c3
add rax, 2
cmp word [rax], si
jne 0x1400136b2
jmp 0x1400136c6
mov word [rax], si
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x88]
mov qword [rbx + 0x18], rax
or eax, 0xffffffff
mov dword [rsp + 0x80], eax
jmp 0x1400136ef
mov eax, dword [rsp + 0x80]
cmp rdi, rbp
je 0x140013703
mov rcx, rdi
call fcn.14008f86c
mov eax, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140013720
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.hid.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140105a68], rax
test rax, rax
je 0x1400138c2
lea rdx, str.HidD_GetAttributes
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a10], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_GetSerialNumberString
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a18], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_GetManufacturerString
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a20], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_GetProductString
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a28], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_SetFeature
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a30], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_GetFeature
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a38], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_GetIndexedString
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a40], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_GetPreparsedData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a48], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_FreePreparsedData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a50], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidP_GetCaps
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a58], rax
test rax, rax
je 0x1400138c2
mov rcx, qword [0x140105a68]
lea rdx, str.HidD_SetNumInputBuffers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105a60], rax
neg rax
sbb eax, eax
neg eax
dec eax
add rsp, 0x28
ret
or eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x140040110
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0xd0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140101140]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14004014e
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140040175
test rbx, rbx
je 0x14004016e
mov dword [rbx], 0
call fcn.140041c10
mov qword [rbx + 8], rax
mov al, 1
jmp 0x140040240
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [rsp + 0x20], 0
call fcn.140041c10
mov qword [rsp + 0x28], rax
cmp ebp, 0xb7
jne 0x1400401c4
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400408d0
cmp dword [rax], 3
jne 0x1400401c4
test rbx, rbx
je 0x14004023e
mov dword [rbx], 0
call fcn.140041c10
jmp 0x14004023a
test rbx, rbx
jne 0x140040233
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rbx
mov byte [rsp + 0x40], bl
lea r8d, [rbx + 0x23]
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rsp + 0x40]
call fcn.140011ff0
nop
mov dword [rsp + 0x20], ebp
call fcn.140041c10
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x20]
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14003fca0
lea rdx, [0x1400fdba8]
lea rcx, [rsp + 0x60]
call fcn.1400815b8
nop
call fcn.140041c10
mov dword [rbx], ebp
mov qword [rbx + 8], rax
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140062030
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x1400408d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x140101140]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x140040914
mov rcx, qword [rdx]
jmp 0x140040917
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x140040937
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140040700
jmp 0x140040a89
xor r15d, r15d
bt eax, 0xa
jae 0x140040a45
cmp qword [rdi + 0x18], 8
jb 0x140040950
mov rdx, qword [rdi]
jmp 0x140040953
mov rdx, rdi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp word [rdx], r15w
jne 0x140040972
mov r8, r15
jmp 0x140040980
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140040976
lea rcx, [rsp + 0x50]
call fcn.14003de50
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1400409e5
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400338a0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp rbx, 0xffffffffffffffff
jne 0x140040a10
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140040700
nop
jmp 0x140040a89
mov rcx, rdi
call fcn.1400402c0
test al, al
jne 0x140040a3b
mov edx, ebp
mov rcx, rdi
call fcn.1400403a0
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140040a89
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test r14, r14
je 0x140040a56
mov dword [r14], r15d
call fcn.140041c10
mov qword [r14 + 8], rax
mov edx, ebp
mov rcx, rdi
test bpl, 0x10
mov dword [rsp + 0x40], 3
jne 0x140040a71
mov dword [rsp + 0x40], 2
call fcn.1400403a0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx]
mov dword [rsi], eax
mov eax, dword [rcx + 4]
mov dword [rsi + 4], eax
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140062030
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140065d14
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140065d27
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1400663d0
lea rdx, [0x1400fdee8]
lea rcx, [rsp + 0x20]
call fcn.1400815b8
int3

Function at 0x14007094c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140106ec0]
xor edx, edx
jmp fcn.140065d14

Function at 0x14007133c
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140106ec0]
jmp fcn.140065d14
Function at 0x1400a1e18
Capabilities:
Parse pe header

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, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400a1bec
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a1bec
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a1bec
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a1bec
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a1bec
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a1bec
cmp dword [rcx + 0xf8], esi
je 0x1400a1bec
mov ecx, r14d
call fcn.1400a1d34
mov ecx, 2
call fcn.14009e1b8
nop
cmp byte [0x140107408], 0
jne 0x1400a1cb6
mov r15d, 1
mov eax, r15d
xchg dword [0x1401073f8], eax
test ebx, ebx
jne 0x1400a1c5f
mov rdi, qword [0x140101140]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140107400]
cmp rcx, rax
je 0x1400a1c56
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400389c0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140107538]
jmp 0x1400a1c6b
cmp ebx, r15d
jne 0x1400a1c71
lea rcx, [0x140107550]
call fcn.1400a28f0
nop
test ebx, ebx
jne 0x1400a1c88
lea rdx, [0x1400bd708]
lea rcx, [0x1400bd6e0]
call fcn.1400a2bb8
lea rdx, [0x1400bd718]
lea rcx, [0x1400bd710]
call fcn.1400a2bb8
movzx eax, byte [0x140107408]
test esi, esi
cmove eax, r15d
mov byte [0x140107408], al
jmp 0x1400a1cb6
mov ecx, 2
call fcn.14009e20c
test esi, esi
jne 0x1400a1ccd
mov ecx, r14d
call fcn.1400a1ce8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400a1b7c
Function at 0x1400ac6d8
Capabilities:
Create thread
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.1400a59fc
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x1400ac72b
test rbx, rbx
je 0x1400ac71c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x1400ac72b
mov edi, 4
jmp 0x1400ac7d4
call fcn.1400a57d4
test al, al
jne 0x1400ac748
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x1400ac7d4
test bpl, bpl
je 0x1400ac7ab
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x1400ac6b0]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400ac7d4
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x1400ac7a5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400ac7d4
mov edi, dword [rsp + 0x44]
jmp 0x1400ac79d
call fcn.1400a5928
test al, al
jne 0x1400ac7bc
bts esi, 0x15
xor ecx, ecx
jmp 0x1400ac7c4
call fcn.1400a5860
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.1400a56c0
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140027e20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140028940
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14002db82
mov rcx, qword [rsp + 0x40]
call fcn.14002dc30
jmp 0x14002db99
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14002db99
mov rcx, qword [rsp + 0x40]
call fcn.14002dce0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14002dc51
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14002dcd5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14002dca0
mov dword [rsp + 4], 0x9908b0df
jmp 0x14002dca8
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002dc44
add rsp, 0x18
ret
Function at 0x14002dce0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14002dd10
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14002dd92
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14002dd5e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14002dd66
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002dd05
mov qword [rsp + 8], 0xe3
jmp 0x14002ddaa
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14002de31
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14002ddfb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14002de03
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002dd9d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14002de85
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14002de8d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret