joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010960
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
test edx, edx
jne 0x140010980
test r8, r8
je 0x140010a30
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
cmp edx, 1
je 0x140010a60
cmp edx, 3
jne 0x140010973
mov ecx, dword [0x140016528]
cmp ecx, 0xffffffff
je 0x140010973
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140010973
test byte [rax + 0x40], 0x30
je 0x140010a88
mov rcx, qword [rax + 0x1d8]
test rcx, rcx
je 0x1400109c2
call sym._pthread_cleanup_dest.part.0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400109e7
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400109df
call rsi
pxor xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
lea rcx, [rbx + 0x38]
call sym.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call sym.pthread_spin_destroy
cmp eax, 1
je 0x140010b5c
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x140010b4f
mov ecx, dword [0x140016528]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x140010973
mov rcx, qword [0x140023140]
test rcx, rcx
je 0x140010973
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov qword [0x140023140], 0
jmp 0x140010973
lea rdx, [sym.SetThreadName_VEH]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov qword [0x140023140], rax
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rax + 0x30]
mov eax, dword [rax + 0xbc]
test eax, eax
jne 0x140010b00
test rcx, rcx
je 0x140010aa1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x1d8]
mov qword [rbx + 0x30], 0
mov dword [rbx + 0xbc], 1
test rcx, rcx
je 0x140010ac4
call sym._pthread_cleanup_dest.part.0
test byte [rbx + 0x44], 4
je 0x140010b40
mov rcx, qword [rbx + 0x28]
mov dword [rbx], 0xdeadbeef
test rcx, rcx
je 0x1400109e7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], 0
lea rcx, [rbx + 0x38]
call sym.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
jmp 0x1400109f4
test rcx, rcx
je 0x140010b40
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], 0
lea rcx, [rbx + 0x38]
call sym.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call sym.pthread_spin_destroy
cmp eax, 1
je 0x140010b5c
mov qword [rbx + 0x68], 0xffffffffffffffff
jmp 0x140010973
lea rcx, [rbx + 0x38]
call sym.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
jmp 0x140010b20
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x140010a18
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140011dc0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140016518]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call sym.pthread_mutex_lock
mov rax, qword [0x140023158]
test rax, rax
je 0x140011e30
mov r9, qword [0x140023160]
lea r8, [rax - 1]
xor ecx, ecx
cmp rax, 1
jne 0x140011e0e
jmp 0x140011ea8
cmp rcx, rax
je 0x140011e30
lea r8, [rax - 1]
cmp r8, rcx
jb 0x140011e30
lea rax, [rcx + r8]
shr rax, 1
mov rdx, rax
shl rdx, 4
add rdx, r9
cmp rbx, qword [rdx + 8]
je 0x140011e48
jb 0x140011e00
lea rcx, [rax + 1]
cmp r8, rcx
jae 0x140011e0e
mov rcx, rdi
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rax, qword [rdx]
test rax, rax
je 0x140011e30
cmp qword [rax + 0x1d8], rbx
jne 0x140011e30
test byte [rax + 0x40], 0xc
jne 0x140011e30
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x140011e30
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x140011e30
mov rcx, rdi
call sym.pthread_mutex_unlock
test esi, esi
je 0x140011ea0
sub esi, 2
cmp esi, 0x15
ja 0x140011eb3
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.pthread_cancel
xor eax, eax
jmp 0x140011e3d
cmp rbx, qword [r9 + 8]
jne 0x140011e30
mov rax, qword [r9]
jmp 0x140011e4b
mov eax, 0x16
jmp 0x140011e3d
Function at 0x140012160
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, rcx
mov rdi, rdx
mov rsi, r8
mov r12, r9
call sym.pop_pthread_mem
mov rbx, rax
test rax, rax
je 0x140012394
test rbp, rbp
je 0x14001219b
mov rax, qword [rax + 0x1d8]
mov qword [rbp], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbx + 0x44], 1
mov dword [rbx + 0xbc], 0
mov qword [rbx + 0x28], 0xffffffffffffffff
mov r14, r13
mov qword [rbx + 8], r12
mov r12, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rsi
xor esi, esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call r12
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x140012210
test esi, esi
jne 0x140012200
xor ecx, ecx
mov esi, 1
call r14
jmp 0x1400121cf
add esi, 1
mov ecx, 0x14
call r13
cmp esi, 5
jne 0x1400121cf
mov qword [rbx + 0x38], 0xffffffffffffffff
lea r12, [rbx + 0x68]
mov rcx, r12
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1400123ba
cmp qword [rbx + 0x30], 0
mov dword [rbx], 0xbab1f00d
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xc0], 0
mov dword [rbx + 0xb8], 0
je 0x14001237d
xor edx, edx
test rdi, rdi
je 0x14001227d
mov eax, dword [rdi]
mov rsi, qword [rdi + 0x10]
mov dword [rbx + 0x44], eax
test al, 8
jne 0x1400123a0
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0xc0], eax
mov edx, esi
lea r8, [sym.pthread_create_wrapper]
mov r9, rbx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rsi, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140012348
mov eax, dword [rbx + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x140012320
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [rbx + 0x44], 4
jne 0x140012300
mov qword [rbx + 0x28], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rsi
mov qword [rbx + 0x28], 0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400122e7
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x1400122c1
mov edx, 2
cmp eax, edx
cmovle edx, eax
cmp eax, 0xf
mov eax, 0xf
cmovge edx, eax
jmp 0x1400122c1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140012357
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r12
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1400123ba
mov qword [rbx + 0x68], 0xffffffffffffffff
pxor xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
test rbp, rbp
je 0x14001238a
mov qword [rbp], 0
cmp qword [rbx + 0x1d0], 0
je 0x1400123b0
mov eax, 0xb
jmp 0x1400122f1
call sym.__pthread_self_lite
mov eax, dword [rax + 0xc0]
jmp 0x140012275
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x140012394
call sym.replace_spin_keys.part.0
nop
Function at 0x1400046b0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x688
mov rax, qword [0x140018008]
xor rax, rsp
mov qword [rsp + 0x678], rax
cmp dword [rsp + 0x698], 0
je 0x1400046e9
mov dword [rsp + 0x670], 0
jmp 0x1400046f4
mov dword [rsp + 0x670], 2
mov eax, dword [rsp + 0x670]
or eax, 0x10
mov r9d, eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x690]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14000474d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.SetupDiGetClassDevs_failed___d__r_n
lea rcx, [rsp + 0x50]
call fcn.1400048e0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x1400048bc
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x250], 0
jmp 0x140004772
mov eax, dword [rsp + 0x250]
inc eax
mov dword [rsp + 0x250], eax
lea r8, [rsp + 0x28]
mov edx, dword [rsp + 0x250]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400048b7
lea rdx, [0x1400157d0]
lea rcx, [rsp + 0x2c]
call fcn.1400049a0
test eax, eax
jne 0x1400047bb
lea rdx, [rsp + 0x2c]
lea rcx, [0x1400157e0]
call fcn.1400049a0
test eax, eax
je 0x1400047bd
jmp 0x140004762
mov dword [rsp + 0x258], 8
mov dword [rsp + 0x25c], 0x12
cmp dword [rsp + 0x698], 0
je 0x1400047ea
mov dword [rsp + 0x674], 1
jmp 0x1400047f5
mov dword [rsp + 0x674], 2
mov eax, dword [rsp + 0x674]
mov dword [rsp + 0x260], eax
mov dword [rsp + 0x264], 2
mov dword [rsp + 0x268], 0
mov r9d, 0x14
lea r8, [rsp + 0x258]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
jne 0x14000486a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.SetupDiSetClassInstallParams_failed___d__r_n
lea rcx, [rsp + 0x270]
call fcn.1400048e0
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x1400048bc
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
jne 0x1400048b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.SetupDiCallClassInstaller_failed___d__r_n
lea rcx, [rsp + 0x470]
call fcn.1400048e0
lea rcx, [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x1400048bc
jmp 0x140004762
mov eax, 1
mov rcx, qword [rsp + 0x678]
xor rcx, rsp
call fcn.140007890
add rsp, 0x688
ret

Function at 0x140004e80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x140004c40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140004ed4
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x58], rcx
add rsp, 0x48
ret
Function at 0x140007c77
Capabilities:
Terminate process

Disassembly:
push rax
add byte [rcx + rax*2 + 0x48], dh
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400194c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140007c77
mov rax, qword [0x1400195b8]
mov qword [0x140019430], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140019540], rax
mov dword [0x140019420], 0xc0000409
mov dword [0x140019424], 1
mov rax, qword [0x140018008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140018010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400194b8], eax
mov ecx, 1
call fcn.14000a628
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400133e0]
or eax, 0xb6fb
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400194b8], 0
jne 0x140007cfe
mov ecx, 1
call fcn.14000a628
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1400092ec
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000915c
Function at 0x14000cc04
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140018008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000a1d0
xor ebx, ebx
cmp qword [0x14001a4f0], rbx
mov rdi, rax
jne 0x14000cd17
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000cdee
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cdee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14001a4f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14001a4f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14001a500], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14001a510], rax
test rax, rax
je 0x14000cd0e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14001a508], rax
jmp 0x14000cd1e
mov rax, qword [0x14001a508]
jmp 0x14000cd25
mov rax, qword [0x14001a508]
mov r11, qword [0x14001a510]
cmp rax, rdi
je 0x14000cd8c
cmp r11, rdi
je 0x14000cd8c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14001a510]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000cd8c
test rax, rax
je 0x14000cd8c
call rsi
test rax, rax
je 0x14000cd86
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000cd86
test byte [rsp + 0x40], 1
jne 0x14000cd8c
bts ebp, 0x15
jmp 0x14000cdcc
mov rcx, qword [0x14001a4f8]
cmp rcx, rdi
je 0x14000cdcc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cdcc
call rax
mov rbx, rax
test rax, rax
je 0x14000cdcc
mov rcx, qword [0x14001a500]
cmp rcx, rdi
je 0x14000cdcc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cdcc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14001a4f0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cdee
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000cdf0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140007890
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008bb4
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rbp], rax
mov esi, dword [0x14000c20c]
mov dword [rsp + 0x30], InitCommonControls
cmp esi, 0xfffffffe
jne 0x140008d4c
xor edi, edi
mov dword [rsp + 0x50], 0x94
lea rcx, [rsp + 0x50]
mov dword [0x14000c20c], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
nop dword [rax + rax]
test eax, eax
je 0x140008d46
lea esi, [rdi + 1]
cmp dword [rsp + 0x60], esi
jne 0x140008d46
cmp dword [rsp + 0x54], 4
jne 0x140008d46
cmp dword [rsp + 0x58], 0xa
jae 0x140008d46
lea ecx, [rdi + 0x4a]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
nop dword [rax + rax]
test eax, eax
je 0x140008d46
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelDesktopResourceLocale
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
nop dword [rax + rax]
test eax, eax
jne 0x140008d46
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rbp - 0x10]
xor r8d, r8d
lea rdx, [0x140009770]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x140008d46
lea rcx, [rbp - 0x10]
mov al, byte [rcx]
sub al, 0x30
cmp al, 9
ja 0x140008cef
movsx eax, byte [rcx]
add edi, 0xfffffffd
shl edi, 4
add edi, eax
jmp 0x140008d15
mov al, byte [rcx]
sub al, 0x20
cmp byte [rcx], 0x61
movzx edx, al
movzx eax, byte [rcx]
cmovl edx, eax
movsx r8d, dl
lea eax, [r8 - 0x41]
cmp eax, 5
ja 0x140008d26
shl edi, 4
add edi, 0xffffffc9
add edi, r8d
call qword [sym.imp.USER32.dll_CharNextA]
nop dword [rax + rax]
mov rcx, rax
jmp 0x140008cda
lea rax, [rbp - 0x10]
cmp rcx, rax
je 0x140008d46
and edi, 0x3ff
cmp edi, esi
je 0x140008d3e
cmp edi, 0xd
jne 0x140008d46
mov dword [0x14000c20c], esi
jmp 0x140008d4c
mov esi, dword [0x14000c20c]
mov eax, esi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400013e0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140001910
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000195a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000195a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000195a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000195a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000195a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000195c
xor al, al
add rsp, 0x28
ret
Function at 0x140011401
Capabilities:
Terminate process

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

Function at 0x14001150a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001bbb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001bbd0
xor al, al
jmp 0x14001bc51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001bbe3
xor al, al
jmp 0x14001bc51
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001bc0d
xor al, al
jmp 0x14001bc51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001bc21
xor al, al
jmp 0x14001bc51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001bc33
xor al, al
jmp 0x14001bc51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001bc4f
xor al, al
jmp 0x14001bc51
mov al, 1
add rsp, 0x38
ret
Function at 0x1400170e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001726b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x140234b70]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140034d20
xorps xmm15, xmm15
mov r14, qword [0x1405123c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x140017145
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x140017154
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x140017173
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x140017183
cmp rbx, 0x1000
jae 0x14001714b
jmp 0x1400171ed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140017195
xor edx, edx
jmp 0x1400171e4
mov rcx, qword [0x140234b70]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140034d20
xorps xmm15, xmm15
mov r14, qword [0x1405123c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x140017179
jmp 0x140017168
call fcn.140068680
xorps xmm15, xmm15
mov r14, qword [0x1405123c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.1400393e0
lea rax, [0x1402c8e00]
mov ebx, 0x18
nop dword [rax]
call fcn.140039c60
mov rax, qword [rsp + 0x38]
call fcn.1400399a0
lea rax, [0x1402c9630]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.140039c60
mov rax, qword [rsp + 0x30]
call fcn.1400399a0
call fcn.140039620
call fcn.140039440
lea rax, [0x1402ccfc0]
mov ebx, 0x21
call fcn.140037a40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140064f40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400170e0
Function at 0x1400172a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400174c6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x140234b68]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140034da0
xorps xmm15, xmm15
mov r14, qword [0x1405123c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140017313
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140017322
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x140017345
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x140017355
cmp rbx, 0x1000
jae 0x140017319
nop
jmp 0x1400173d8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x14001736d
xor esi, esi
jmp 0x1400173ca
mov rax, qword [0x140234b68]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140034da0
xorps xmm15, xmm15
mov r14, qword [0x1405123c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x14001734b
jmp 0x140017336
call fcn.140068680
xorps xmm15, xmm15
mov r14, qword [0x1405123c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140017460
nop dword [rax + rax]
call fcn.1400393e0
lea rax, [0x1402c9649]
mov ebx, 0x19
call fcn.140039c60
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.1400399a0
lea rax, [0x1402c9630]
mov ebx, 0x19
call fcn.140039c60
mov eax, dword [rsp + 0x34]
call fcn.1400399a0
nop
call fcn.140039620
call fcn.140039440
lea rax, [0x1402c30c5]
mov ebx, 0xd
call fcn.140037a40
nop dword [rax + rax]
cmp eax, 0x5af
je 0x140017400
call fcn.1400393e0
lea rax, [0x1402c9649]
mov ebx, 0x19
call fcn.140039c60
mov rax, qword [rsp + 0x38]
call fcn.1400399a0
lea rax, [0x1402c9630]
mov ebx, 0x19
call fcn.140039c60
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.1400399a0
call fcn.140039620
call fcn.140039440
lea rax, [0x1402cc37d]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.140037a40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140064f40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.1400172a0