joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027930
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14002798d
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, qword [rsp + 0x130]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x130]
jmp 0x140027b9e
cmp dword [rsp + 0x20], 0x104
jae 0x1400279a1
mov dword [rsp + 0x30], 0x104
jmp 0x1400279a9
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0xe0]
call fcn.14001d670
lea rcx, [rsp + 0x58]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x34]
inc eax
mov eax, eax
shl rax, 1
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x58]
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140245c20
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.140027c20
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140242610
nop
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 3
jne 0x140027a6b
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
cmp eax, 0x3a
jne 0x140027a6b
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140027a6b
jmp 0x140027a92
cmp dword [rsp + 0x20], 0
jbe 0x140027a92
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
jne 0x140027a92
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
xor ecx, ecx
mov rdx, qword [rsp + 0x28]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xf0]
call fcn.140025340
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 + 0xa0]
lea rcx, [rsp + 0x90]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0x138]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x100]
call fcn.1400276f0
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0xc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x38]
call fcn.140027c90
lea rax, [rsp + 0xd0]
mov rdi, qword [rsp + 0x130]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x130]
add rsp, 0x118
pop rdi
pop rsi
ret
Function at 0x1400296b0
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 0x1400296ed
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 0x14002980e
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 0x1400296d1
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 0x140029854
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 0x14002980e
mov eax, dword [rsp]
add rsp, 0x28
ret
Function at 0x140029870
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 0x1400298b4
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 0x140029a35
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 0x140029898
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 0x140029a87
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 0x140029a35
mov rax, qword [rsp]
add rsp, 0x28
ret
Function at 0x14002c6f0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rcx, [rsp + 0xa0]
call fcn.14001d670
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.1400274c0
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.14002ca10
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1402404a0
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14002c7ff
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.14002ca90
movzx eax, byte [rsp + 0x20]
jmp 0x14002c834
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x14002c814
mov dword [rsp + 0x28], 1
jmp 0x14002c81c
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x50]
call fcn.14002ca90
movzx eax, byte [rsp + 0x21]
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x1400395a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rcx, [0x140309e28]
call fcn.140023600
nop
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x20]
call fcn.140240540
nop
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xa
ja case.default.0x14003960d
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x397b4]
add rax, rcx
jmp rax
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x20]
call fcn.140039850
mov rax, qword [rsp + 0x38]
jmp 0x1400397ad
mov rax, qword [rsp + 0x60]
add rax, 8
mov edx, 1
mov rcx, rax
call fcn.14001b050
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.14001b050
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 8]
shl rax, 2
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
call fcn.14001b050
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x10]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov rax, qword [rsp + 0x60]
add rax, 8
mov edx, 8
mov rcx, rax
call fcn.14001b050
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140029e30
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov edx, 0x10
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.14001b050
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov edx, 0x20
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.14001b050
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140029ef0
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140029ef0
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140029ef0
mov eax, eax
mov qword [rsp + 0x30], rax
jmp 0x14003978e
mov edx, 0x20
mov rcx, qword [rsp + 0x60]
call fcn.14001b050
mov eax, eax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
and rax, 0x7fffffff
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
call fcn.140039850
mov rax, qword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
Function at 0x140048980
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 0x140048a14
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 0x140048b42
mov eax, dword [rsp + 0x34]
add eax, 2
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
lea rcx, [rsp + 0x60]
lea rdx, [0x1403040c0]
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140245c20
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 0x140048aba
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 0x140048b42
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140048adc
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.1400253f0
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 0x140098420
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 0x140098468
mov qword [rsp + 0x20], 0
mov r9d, 0xb8
lea r8, str.D:prjsOdin_srcqueue.cpp
lea rdx, str.q__mask___0
lea rcx, str.Assertion_Failure
call fcn.140017b10
int3
xor eax, eax
test eax, eax
jne 0x140098430
mov rax, qword [rsp + 0x80]
add rax, 0x30
xor edx, edx
mov rcx, rax
call fcn.140245260
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.140245260
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 0x140098576
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.140244e50
movzx eax, al
test eax, eax
je 0x140098574
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.140245570
mov rax, qword [rsp + 0x80]
add rax, 0x18
mov r8d, 3
mov edx, 1
mov rcx, rax
call fcn.140244fb0
jmp 0x1400985b9
jmp 0x1400985b4
cmp dword [rsp + 0x3c], 0
jge 0x14009859a
mov rcx, qword [rsp + 0x80]
call fcn.14021fd60
movzx eax, al
test eax, eax
jne 0x140098598
mov eax, 0xffffffff
jmp 0x1400985b9
jmp 0x1400985b4
mov rax, qword [rsp + 0x80]
add rax, 0x30
xor edx, edx
mov rcx, rax
call fcn.140245260
mov dword [rsp + 0x30], eax
jmp 0x140098488
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140138540
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 8]
mov qword [rsp + 0x10], rax
jmp 0x1401385ad
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x18]
cmp qword [rsp + 0x10], rax
je 0x1401385d3
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
jmp 0x1401385a0
mov eax, dword [rsp]
add rsp, 0x28
ret
Function at 0x14013f8a0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
lea rcx, [rsp + 0xb0]
call fcn.140024e80
lea rcx, [rsp + 0x30]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x40]
mov rdi, rax
mov rsi, qword [rsp + 0x100]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.1400274c0
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xd0]
call fcn.140024e80
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 + 0x70]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xa0]
call fcn.140025680
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14013f9c6
mov byte [rsp + 0x20], 1
jmp 0x14013f9cb
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140142050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x140303f40]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x188], 0
jne 0x1401420a8
mov qword [rsp + 0x20], 0
mov r9d, 0xcf
lea r8, str.D:prjsOdin_srcmain.cpp
lea rdx, str.output
lea rcx, str.Assertion_Failure
call fcn.140017b10
int3
xor eax, eax
test eax, eax
jne 0x140142073
lea rdx, str.rxgybzw
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ucrtbased.dll__popen]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1401420d7
xor al, al
jmp 0x1401421ae
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14020bb30
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14023d430
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ucrtbased.dll_feof]
test eax, eax
jne 0x14014216f
mov r9, qword [rsp + 0x38]
mov r8d, 0xff
mov edx, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.ucrtbased.dll_fread]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
mov rax, qword [rsp + 0x188]
mov rcx, qword [rax]
call fcn.14001a620
mov rcx, qword [rsp + 0x188]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ucrtbased.dll_ferror]
test eax, eax
je 0x14014216d
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.14020bba0
movzx eax, byte [rsp + 0x30]
jmp 0x1401421ae
jmp 0x1401420f4
movzx eax, byte [0x14030d550]
test eax, eax
je 0x14014219a
mov rax, qword [rsp + 0x188]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x180]
lea rcx, str._SYSTEM_CALL_OUTPUT___s_____s_n
call fcn.14001c3e0
nop
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x40]
call fcn.14020bba0
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140254b90
add rsp, 0x178
ret
Function at 0x14020afb0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140303f40]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, str._tRAM:
call fcn.14001c390
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov rax, qword [rsp + 0x28]
mov ecx, 0x100000
div rcx
mov rdx, rax
lea rcx, str._lld_MiB_n
call fcn.14001c390
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140254b90
add rsp, 0x78
ret
Function at 0x14020bbd0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x188
lea rcx, [rsp + 0xf8]
call fcn.14001d670
lea rcx, [rsp + 0x68]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x48]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14002c2b0
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x150]
call fcn.1400ffc10
lea rcx, [rsp + 0x128]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0x128]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], 0
jmp 0x14020bca4
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x28], rax
jge 0x14020bdbc
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140025390
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x108]
call fcn.140025340
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x88]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x88]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x118]
call fcn.1400276f0
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x58]
lea rcx, [rsp + 0xc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp qword [rsp + 0x60], 0
jle 0x14020bdb7
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xd0]
call fcn.1400265f0
nop
jmp 0x14020bc97
lea rax, [rsp + 0xd0]
mov rdi, qword [rsp + 0x1a0]
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x1a0]
add rsp, 0x188
pop rdi
pop rsi
ret