joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4868c0
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x486945
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x486aa6
cmp rcx, 0xe
jne 0x4869c0
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x486aa6
cmp rcx, 0xf
jne 0x486a37
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x486aa6
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x4900e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4901aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403200
xorps xmm15, xmm15
mov r14, qword [0x006c9cf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x49018f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004b19c0]
xor ebx, ebx
mov rcx, rdx
call fcn.00465e20
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.004906c0
inc rbx
cmp rcx, rbx
jae 0x49017e
mov edi, 1
lea rsi, [0x004b19c0]
call fcn.00465f00
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x005f8740]
lea rsi, [0x005f7df8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a1a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004900e0

Function at 0x4962c0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4969ff
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4962ed
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x496571
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x49659d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x005f9d00]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004b18c0]
lea rbx, [0x005f85e0]
call fcn.00464a80
inc rax
cmp rax, r8
jge 0x4965c2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4965f7
lea rdi, [0x004b1940]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4962e3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4965db
jmp 0x4965b0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046a1a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004962c0

Function at 0x496ba0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x496bb7
inc rax
cmp rax, 4
jge 0x496bcf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x496bb4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x496be0
inc rax
cmp rax, 4
jge 0x496bee
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x496c17
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x496bfb
jmp 0x496bdd
Function at 0x140001040
Capabilities:
Get system information on windows

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dword [rsp + 0x24], 0x400
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call fcn.1400070b0
mov eax, dword [rsp + 0x24]
mov ecx, eax
call fcn.1400107b0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001082
xor eax, eax
jmp 0x1400010e4
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1400010b5
mov rcx, qword [rsp + 0x28]
call fcn.1400107f0
jmp 0x1400010d5
cmp dword [rsp + 0x20], 0
jne 0x1400010c0
jmp 0x1400010df
cmp dword [rsp + 0x20], 0
jge 0x1400010d5
mov rcx, qword [rsp + 0x28]
call fcn.1400107f0
xor eax, eax
jmp 0x1400010e4
cmp dword [rsp + 0x20], 0xc0000004
je 0x140001066
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret

Function at 0x140001e70
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, 0xc8
cmp qword [rsp + 0xf0], 0
jne 0x140001e9d
mov eax, 0xc000000d
jmp 0x140001f5a
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x38
imul rax, rax, 0
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + rax + 0x60], rcx
mov eax, 0x38
imul rax, rax, 0
mov dword [rsp + rax + 0x58], 0x20
mov eax, 0x38
imul rax, rax, 0
lea rcx, [rsp + 0x38]
mov qword [rsp + rax + 0x68], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlQueryRegistryValues]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140001f56
movzx eax, word [rsp + 0x38]
test eax, eax
jne 0x140001f3f
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov dword [rsp + 0x30], 0xc0000225
jmp 0x140001f56
lea rax, [rsp + 0x38]
mov rdi, qword [rsp + 0xf0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x140001f70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
cmp qword [rsp + 0x48], 0
jne 0x140001f99
mov eax, 0xc000000d
jmp 0x1400020d4
mov rax, qword [rsp + 0x48]
mov qword [rax], 0
mov eax, dword [rsp + 0x30]
and eax, 0xfffffffe
test eax, eax
je 0x140001fba
mov eax, 0xc000000d
jmp 0x1400020d4
cmp qword [rsp + 0x38], 0
je 0x140001fca
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x140001fd4
mov eax, 0xc000000d
jmp 0x1400020d4
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
jne 0x140001fe5
mov byte [rsp], 1
jmp 0x140001fe9
mov byte [rsp], 0
movzx eax, byte [rsp]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
test eax, eax
je 0x14000200c
cmp qword [rsp + 0x40], 0x40
jae 0x14000200c
mov eax, 0xc000007b
jmp 0x1400020d4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000202f
mov eax, 0xc000007b
jmp 0x1400020d4
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x10000000
jb 0x14000204f
mov eax, 0xc000007b
jmp 0x1400020d4
movzx eax, byte [rsp + 1]
test eax, eax
je 0x14000206e
mov eax, dword [rsp + 4]
add rax, 0x18
cmp rax, qword [rsp + 0x40]
jb 0x14000206e
mov eax, 0xc000007b
jmp 0x1400020d4
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [sym.imp.ntoskrnl.exe_MmHighestUserAddress]
mov rax, qword [rax]
cmp qword [rsp + 0x38], rax
ja 0x1400020b1
mov rax, qword [rsp + 8]
add rax, 0x108
mov rcx, qword [sym.imp.ntoskrnl.exe_MmHighestUserAddress]
cmp rax, qword [rcx]
jbe 0x1400020b1
mov eax, 0xc000007b
jmp 0x1400020d4
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x1400020c5
mov eax, 0xc000007b
jmp 0x1400020d4
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 8]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002b60
Capabilities:
Access pe header

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140002bb9
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x24], eax
jmp 0x140002d41
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x10b
je 0x140002bdc
cmp dword [rsp + 0x38], 0x20b
je 0x140002beb
jmp 0x140002bfb
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x34]
mov qword [rsp + 0x48], rax
jmp 0x140002c10
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x140002c10
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x24], eax
jmp 0x140002d41
lea r9, [rsp + 0x28]
mov r8w, 5
mov dl, 1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlImageDirectoryEntryToData]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140002c3e
cmp dword [rsp + 0x28], 0
jne 0x140002c70
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x16]
and eax, 1
test eax, eax
je 0x140002c5b
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x24], eax
jmp 0x140002c66
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x24], eax
jmp 0x140002d41
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
add rax, qword [rsp + 0x88]
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x28], 0
je 0x140002d36
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
sub rax, 8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.140002910
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140002d31
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x24], eax
jmp 0x140002d41
jmp 0x140002c90
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret
Function at 0x140002de0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
cmp qword [rsp + 0x88], 0
je 0x140002e06
cmp qword [rsp + 0x80], 0
jne 0x140002e10
mov eax, 0xc000000d
jmp 0x140002fd2
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140002e42
mov eax, 0xc000012f
jmp 0x140002fd2
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov ecx, eax
call fcn.1400107d0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140002e68
mov eax, 0xc000009a
jmp 0x140002fd2
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov rcx, qword [rsp + 0x48]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x140002ea5
mov rax, qword [rsp + 0x30]
add rax, 0x108
mov qword [rsp + 0x38], rax
jmp 0x140002ed1
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x140002ec7
mov rax, qword [rsp + 0x30]
add rax, 0xf8
mov qword [rsp + 0x38], rax
jmp 0x140002ed1
mov eax, 0xc000007b
jmp 0x140002fd2
mov dword [rsp + 0x20], 0
jmp 0x140002ee5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x140002f8a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov ecx, dword [rdi + rcx + 0x10]
cmp dword [rdx + rax + 8], ecx
jae 0x140002f33
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 8]
mov dword [rsp + 0x24], eax
jmp 0x140002f48
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rdx + rcx + 0x14]
add rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov rdi, qword [rsp + 0x38]
mov edx, dword [rdi + rdx + 0xc]
add rdx, qword [rsp + 0x40]
mov rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x140002edb
jmp 0x140002fa7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x80]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140002fe0
Capabilities:
Access pe header

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x50], 0
je 0x14000302b
cmp qword [rsp + 0x58], 0
jne 0x140003032
xor eax, eax
jmp 0x14000316d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140003051
xor eax, eax
jmp 0x14000316d
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x140003073
mov rax, qword [rsp + 0x28]
add rax, 0x108
mov qword [rsp + 0x30], rax
jmp 0x14000309c
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x140003095
mov rax, qword [rsp + 0x28]
add rax, 0xf8
mov qword [rsp + 0x30], rax
jmp 0x14000309c
xor eax, eax
jmp 0x14000316d
mov dword [rsp + 0x20], 0
jmp 0x1400030b0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x140003155
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe__stricmp]
test eax, eax
jne 0x140003150
movzx eax, byte [rsp + 0x68]
test eax, eax
je 0x140003116
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x140003138
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x14]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0x24], eax
jmp 0x140003155
jmp 0x1400030a6
cmp qword [rsp + 0x60], 0
je 0x140003168
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
mov rax, qword [rsp + 0x38]
add rsp, 0x48
ret
Function at 0x140005cf0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0x23
jne 0x140005db1
mov rax, qword [rsp + 0x88]
inc rax
lea r8, [rsp + 0x24]
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_RtlCharToInteger]
cmp dword [rsp + 0x24], 0
je 0x140005da7
mov eax, dword [rsp + 0x24]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.140005f70
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
jmp 0x140005f6b
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140005f54
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x88], 0
je 0x140005f54
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x140005e91
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x20], eax
jae 0x140005f54
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe__stricmp]
test eax, eax
jne 0x140005f4f
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
movsxd rax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x30], rax
jb 0x140005f4d
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x8c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
jae 0x140005f4d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1400059c0
mov qword [rsp + 0x30], rax
jmp 0x140005f54
jmp 0x140005e87
jmp 0x140005f66
mov rax, qword [rsp + 0x30]
add rsp, 0x78
ret
Function at 0x140005f70
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000606c
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
je 0x14000606c
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x20]
cmp qword [rsp + 0x68], rax
ja 0x14000606c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
movsxd rax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x14000607e
mov rax, qword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140006ab0
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x70
mov dword [rsp + 0x20], 0xc000000d
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
cmp qword [0x14003d5b0], 0
jne 0x140006af4
jmp 0x140006bec
lea rdx, [0x14003d590]
mov rcx, qword [0x14003d5b0]
call fcn.140006250
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140006b1c
jmp 0x140006bec
mov rax, qword [0x14003d590]
cmp qword [rax + 0xc0], 0
jne 0x140006b3f
mov dword [rsp + 0x20], 0xc0000001
jmp 0x140006bec
xor r9d, r9d
mov r8d, 0x40
lea rdx, [0x14003d550]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140006b6c
jmp 0x140006bec
lea rdx, [0x140010f10]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x14003d5a0], rax
cmp qword [0x14003d5a0], 0
jne 0x140006bc7
mov rax, qword [0x14003d5a8]
mov edx, dword [rax + 0x40]
mov rax, qword [0x14003d5a8]
mov rcx, qword [rax + 0x30]
call fcn.140004510
movzx eax, al
test eax, eax
jne 0x140006bc7
mov dword [rsp + 0x20], 0xc000007a
jmp 0x140006bec
mov rax, qword [sym.imp.ntoskrnl.exe_NtBuildNumber]
movzx eax, word [rax]
cmp eax, 0x4563
jl 0x140006bec
call fcn.1400065b0
movzx eax, al
test eax, eax
jne 0x140006bec
mov dword [rsp + 0x20], 0xc0000001
mov eax, dword [rsp + 0x20]
add rsp, 0x70
pop rdi
ret