joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400031a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400031ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400031ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400031ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400031ea
cmp dword [rcx + 0x84], 0xe
jbe 0x1400031ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400031ec
xor al, al
add rsp, 0x28
ret
Function at 0x402480
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004078e0]
test rbx, rbx
je 0x4024d4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4024cb
test r12, r12
je 0x4024cb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4024b0
lea rcx, [0x00407900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402810
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x004043b0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402889
mov rcx, r10
call fcn.004026e0
test eax, eax
je 0x402889
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x402886
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x40287d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402889
add r8, 0x28
cmp r8, r9
jne 0x402868
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x14000ebe0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp], 0xffffffff
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 8], rax
jmp 0x14000ec18
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 8]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 8]
dec rax
mov qword [rsp + 8], rax
cmp qword [rsp + 0x18], 0
je 0x14000ec63
mov eax, dword [rsp]
shr eax, 8
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x140232380]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
jmp 0x14000ec0b
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x14000ed20
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x10], rax
mov qword [rsp + 8], 0
jmp 0x14000ed57
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 8], rax
jge 0x14000ed84
imul eax, dword [rsp], 0x1000193
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor eax, ecx
mov dword [rsp], eax
jmp 0x14000ed4a
mov eax, dword [rsp]
add rsp, 0x28
ret

Function at 0x14000eda0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x10], rax
mov qword [rsp], 0
jmp 0x14000eddc
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp], rax
jge 0x14000ee19
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 8]
imul rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x10]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor rax, rcx
mov qword [rsp + 8], rax
jmp 0x14000edd1
mov rax, qword [rsp + 8]
add rsp, 0x28
ret

Function at 0x14000ee30
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x10], rax
mov qword [rsp + 8], 0
jmp 0x14000ee67
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 8], rax
jge 0x14000ee98
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
jmp 0x14000ee5a
mov eax, dword [rsp]
add rsp, 0x28
ret
Function at 0x14000eeb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x10], rax
mov qword [rsp], 0
jmp 0x14000eeec
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp], rax
jge 0x14000ef29
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 8]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 8], rax
jmp 0x14000eee1
mov rax, qword [rsp + 8]
add rsp, 0x28
ret
Function at 0x14000ef40
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x30], 0xcc9e2d51
mov dword [rsp + 0x34], 0x1b873593
mov dword [rsp + 0x38], 0xf
mov dword [rsp + 0x3c], 0xd
mov dword [rsp + 0x40], 5
mov dword [rsp + 0x44], 0xe6546b64
mov rax, qword [rsp + 0x68]
cqo
and rdx, 3
add rax, rdx
sar rax, 2
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp], eax
mov dword [rsp + 4], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x10], 0
jmp 0x14000efde
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x10], rax
jge 0x14000f050
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 8], eax
imul eax, dword [rsp + 8], 0xcc9e2d51
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
shl eax, 0xf
mov ecx, dword [rsp + 8]
shr ecx, 0x11
or eax, ecx
mov dword [rsp + 8], eax
imul eax, dword [rsp + 8], 0x1b873593
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
shl eax, 0xd
mov ecx, dword [rsp]
shr ecx, 0x13
or eax, ecx
imul eax, eax, 5
add eax, 0xe6546b64
mov dword [rsp], eax
jmp 0x14000efd1
mov rax, qword [rsp + 0x68]
and rax, 3
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 1
je 0x14000f0bd
cmp qword [rsp + 0x18], 2
je 0x14000f09c
cmp qword [rsp + 0x18], 3
je 0x14000f07b
jmp 0x14000f115
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
imul eax, dword [rsp + 4], 0xcc9e2d51
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shl eax, 0xf
mov ecx, dword [rsp + 4]
shr ecx, 0x11
or eax, ecx
mov dword [rsp + 4], eax
imul eax, dword [rsp + 4], 0x1b873593
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
xor rax, qword [rsp + 0x68]
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0x10
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x85ebca6b
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0xd
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0xc2b2ae35
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0x10
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x58
ret
Function at 0x14000f7a0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x40]
call fcn.14021ea40
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14021e9a0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14000f7eb
mov dword [rsp + 0x20], 6
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.14021e9a0
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14000fd00
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x70]
call fcn.14021ec50
lea rcx, [rsp + 0x40]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.140011b90
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000fd8f
xor eax, eax
jmp 0x14000fdc8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x30]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.14021ebf0
mov eax, dword [rsp + 0x20]
add rsp, 0x88
pop rdi
pop rsi
ret
Function at 0x140011320
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
je 0x14001134a
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
test eax, eax
jne 0x140011356
xor eax, eax
jmp 0x14001143c
mov dword [rsp + 0x20], 0x64
mov eax, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov rdi, rcx
mov rsi, qword [rsp + 0x88]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14021e140
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
dec eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400113c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xcb
jne 0x1400113c9
xor eax, eax
jmp 0x14001143c
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
ja 0x1400113e7
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x30]
jmp 0x14001143c
mov eax, dword [rsp + 0x20]
shl rax, 1
mov ecx, dword [rsp + 0x20]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x50]
mov rdi, rdx
mov rsi, qword [rsp + 0x88]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, rax
mov rax, qword [rsp + 0x38]
mov r8, rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14021f700
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
jmp 0x14001138a
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140015ff0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140015f20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
lea r8, [0x140016130]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
jne 0x14001608a
lea rax, str.CreateThread:_GetLastError
mov qword [rsp + 0x20], rax
mov r9d, 0x222
lea r8, str.c:devtoolsOdin_src_threading.cpp
lea rdx, str.t__win32_handle___NULL
lea rcx, str.Assertion_Failure
call fcn.14000ba00
int3
xor eax, eax
test eax, eax
jne 0x140016052
add rsp, 0x48
ret

Function at 0x140016230
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x70
lea rax, [0x1402be7d8]
mov qword [0x1402be800], rax
lea rax, [0x1402be7d8]
mov qword [0x1402be808], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x3c]
cmp qword [0x1402bb088], rax
jle 0x140016289
mov rax, qword [0x1402bb088]
mov qword [rsp + 0x30], rax
jmp 0x140016292
mov eax, dword [rsp + 0x3c]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [0x1402bb088], rax
mov rcx, qword [0x1402bb088]
call fcn.14000ba90
test eax, eax
jne 0x1400162d8
mov qword [rsp + 0x20], 0
mov r9d, 0x8e
lea r8, str.c:devtoolsOdin_srccommon_memory.cpp
lea rdx, str.gb_is_power_of_two_DEFAULT_PAGE_SIZE_
lea rcx, str.Assertion_Failure
call fcn.14000ba00
int3
xor eax, eax
test eax, eax
jne 0x14001629e
add rsp, 0x70
pop rdi
ret
Function at 0x14001b210
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
mov dword [rsp], 0x811c9dc5
jmp 0x14001b24d
mov rax, qword [rsp + 0x38]
sub rax, 8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 8]
add rax, 8
mov qword [rsp + 8], rax
cmp qword [rsp + 0x38], 8
jl 0x14001b36e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
mov eax, 1
imul rax, rax, 5
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
mov eax, 1
imul rax, rax, 6
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
jmp 0x14001b231
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14001b3b4
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
jmp 0x14001b36e
mov eax, dword [rsp]
add rsp, 0x28
ret
Function at 0x14001b3d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp], rax
jmp 0x14001b414
mov rax, qword [rsp + 0x38]
sub rax, 8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 8]
add rax, 8
mov qword [rsp + 8], rax
cmp qword [rsp + 0x38], 8
jl 0x14001b595
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
mov eax, 1
imul rax, rax, 5
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
mov eax, 1
imul rax, rax, 6
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
mov eax, 1
imul rax, rax, 7
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
jmp 0x14001b3f8
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14001b5e7
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
jmp 0x14001b595
mov rax, qword [rsp]
add rsp, 0x28
ret
Function at 0x14001e0f0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rcx, [rsp + 0xa0]
call fcn.140011450
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
mov rdi, rax
mov rsi, qword [rsp + 0xf0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0x30]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xb0]
call fcn.1400193c0
lea rcx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x90]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xc0]
call fcn.14001e410
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140219280
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14001e1ff
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.14001e490
movzx eax, byte [rsp + 0x20]
jmp 0x14001e234
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x14001e214
mov dword [rsp + 0x28], 1
jmp 0x14001e21c
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x50]
call fcn.14001e490
movzx eax, byte [rsp + 0x21]
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x140038220
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400382b4
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
jmp 0x1400383e2
mov eax, dword [rsp + 0x34]
add eax, 2
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
lea rcx, [rsp + 0x60]
lea rdx, [0x1402bbf70]
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.14021e140
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14003835a
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
jmp 0x1400383e2
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14003837c
mov eax, dword [rsp + 0x34]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xa0]
call fcn.1400179d0
lea rcx, [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x80]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd0]
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x1400845a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x1c], 0
jne 0x1400845e8
mov qword [rsp + 0x20], 0
mov r9d, 0xb8
lea r8, str.c:devtoolsOdin_srcqueue.cpp
lea rdx, str.q__mask___0
lea rcx, str.Assertion_Failure
call fcn.14000ba00
int3
xor eax, eax
test eax, eax
jne 0x1400845b0
mov rax, qword [rsp + 0x80]
add rax, 0x30
xor edx, edx
mov rcx, rax
call fcn.14021d7e0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x48], rax
mov edx, 2
mov rcx, qword [rsp + 0x48]
call fcn.14021d7e0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x1400846f6
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov r8d, dword [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14021d3d0
movzx eax, al
test eax, eax
je 0x1400846f4
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 3
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call fcn.14021dba0
mov rax, qword [rsp + 0x80]
add rax, 0x18
mov r8d, 3
mov edx, 1
mov rcx, rax
call fcn.14021d530
jmp 0x140084739
jmp 0x140084734
cmp dword [rsp + 0x3c], 0
jge 0x14008471a
mov rcx, qword [rsp + 0x80]
call fcn.1401f21e0
movzx eax, al
test eax, eax
jne 0x140084718
mov eax, 0xffffffff
jmp 0x140084739
jmp 0x140084734
mov rax, qword [rsp + 0x80]
add rax, 0x30
xor edx, edx
mov rcx, rax
call fcn.14021d7e0
mov dword [rsp + 0x30], eax
jmp 0x140084608
add rsp, 0x68
pop rdi
pop rsi
ret