joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e4a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
movzx r15d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
movzx eax, byte [r8 + 1]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 2]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 3]
xor r15, rax
imul r15, rcx
mov rcx, qword [0x180091050]
and rcx, r15
add rcx, rcx
mov rax, qword [0x180091038]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [0x180091028]
cmp rbx, r14
jne 0x18000e52c
mov rbx, r14
mov rbp, r14
jmp 0x18000e56d
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x18000e546
cmp rbx, rcx
je 0x18000e567
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18000e538
mov qword [rdx], rbx
mov byte [rdx + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [0x180091030], rax
je 0x18000e6ff
lea rax, [0x180091028]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.18003ffc0
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r12]
movups xmmword [rax + 0x10], xmm0
mov rdx, qword [0x180091030]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18000e5ce
cvtsi2ss xmm0, rcx
jmp 0x18000e5e3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x180091058]
xorps xmm1, xmm1
test rcx, rcx
js 0x18000e5f9
cvtsi2ss xmm1, rcx
jmp 0x18000e60e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x180091020]
seta al
test al, al
je 0x18000e689
call fcn.18000dfa0
mov rcx, qword [0x180091050]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x180091038]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x180091028]
cmp rax, rbx
jne 0x18000e655
mov qword [rsp + 0x28], 0
jmp 0x18000e675
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x18000e672
mov rbx, rax
cmp rax, rdx
je 0x18000e6cc
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18000e661
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov rdx, qword [0x180091030]
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x180091030], rdx
mov qword [rdi], r14
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x180091038]
mov rax, qword [0x180091050]
and rax, r15
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x180091028]
jne 0x18000e6dc
mov qword [rcx + rax*8], rdi
jmp 0x18000e6ee
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x18000e67a
cmp rdx, rbp
jne 0x18000e6e7
mov qword [rcx + rax*8], rdi
jmp 0x18000e6f3
cmp qword [rcx + rax*8 + 8], r8
jne 0x18000e6f3
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18000e54d
lea rcx, str.unordered_map_set_too_long
call fcn.18003eed4
int3
Function at 0x18000fb80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000fbdd
lea rbx, [0x18007e950]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000fbc4
cmp r10, 2
jb 0x18000fbc4
cmp byte [r9], r8b
jne 0x18000fbc4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18000fba0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000fc1f
lea rbx, [0x18007e950]
cmp r8b, 0x23
jne 0x18000fc03
cmp byte [r9], r8b
jne 0x18000fc03
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18000fbf0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18000fd60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000fd7a
mov qword [r8], 0
lea rdx, [0x18007e730]
call fcn.18000fc30
mov rbx, rax
test rax, rax
jne 0x18000fd9a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.180052c90
mov esi, eax
cmp eax, 0xffffffff
je 0x18000fe68
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1800521b4
test eax, eax
jne 0x18000fe68
mov rcx, rbx
call fcn.180052c90
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000fe68
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1800521b4
test eax, eax
jne 0x18000fe68
cmp rdi, 0xffffffffffffffff
je 0x18000fe68
mov rax, qword [0x180090e50]
test rax, rax
je 0x18000fe0a
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.180053450
mov rsi, rax
test rax, rax
je 0x18000fe68
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18004f634
mov rcx, rbx
cmp rax, rdi
je 0x18000fe56
call fcn.18004a910
mov rax, qword [0x180090e50]
test rax, rax
je 0x18000fe4c
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.18004f118
jmp 0x18000fe70
call fcn.18004a910
test r14, r14
je 0x18000fe63
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000fe72
mov rcx, rbx
call fcn.18004a910
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180015ac0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180015b10
lea r11, [0x18007e950]
nop dword [rax]
cmp r9b, 0x23
jne 0x180015af3
cmp byte [r8], r9b
jne 0x180015af3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180015ae0
mov rcx, qword [0x180090e50]
not eax
movsxd rdx, dword [rcx + 0x1be8]
mov r9, qword [rcx + 0x1bf0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180015b71
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180015b69
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180015b6c
mov rdx, r8
test rdx, rdx
jne 0x180015b40
cmp r9, r10
je 0x180015b80
cmp dword [r9], eax
jne 0x180015b80
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18003dad0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18003db34
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18003db22
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18003db1b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18003daef
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180090e68]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18003db44
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, ecx
imul rdi, rax, 0x38
add rdi, qword [0x180091110]
mov rdx, qword [rdi]
mov cl, byte [rdi + 0x20]
mov rsi, rdx
lea rbx, [rdx - 5]
and cl, 1
je 0x18003db7d
mov rsi, rbx
movzx eax, cl
lea r9, [rsp + 0x38]
test cl, cl
mov r8d, 0x40
cmove rbx, rdx
lea rbp, [rax*2 + 5]
mov rcx, rbx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18003dbb0
mov eax, 0xa
jmp 0x18003dbfd
mov byte [rbx], 0xe9
mov eax, dword [rdi + 8]
sub eax, esi
sub eax, 5
mov dword [rbx + 1], eax
test byte [rdi + 0x20], 1
je 0x18003dbcc
mov rax, qword [rdi]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rdi + 0x20], 6
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18003deb0
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18003dec7
cmp r8b, 0x90
je 0x18003dec7
cmp r8b, 0xcc
jne 0x18003dee9
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18003dee5
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18003dee9
add edx, r10d
cmp edx, r9d
jb 0x18003ded5
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x18003e250
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x18003e29a
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x180091100]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
test rbx, rbx
je 0x18003e2d8
cmp rbx, r14
jb 0x18003e2d3
cmp rbx, r12
jae 0x18003e2d3
cmp qword [rbx + 8], rsi
jne 0x18003e42f
mov rbx, qword [rbx]
jmp 0x18003e2ba
mov r15, rdi
cmp rdi, r14
jb 0x18003e35c
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
sub r15, r13
cmp r15, r14
jb 0x18003e353
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003e353
cmp dword [rbp - 0x10], 0x10000
je 0x18003e323
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18003e353
jmp 0x18003e2ef
test r15, r15
je 0x18003e353
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18003e3f4
cmp r15, r14
jae 0x18003e2e0
test rbx, rbx
jne 0x18003e3f4
cmp rdi, r12
ja 0x18003e42f
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18003e42f
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003e42f
cmp dword [rbp - 0x10], 0x10000
je 0x18003e3ca
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jmp 0x18003e383
test rdi, rdi
je 0x18003e42f
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x18003e356
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18003e400
mov rax, qword [0x180091100]
mov qword [rbx], rax
mov qword [0x180091100], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180052a10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180040b90
sub rsp, rax
mov rax, qword [0x18008e070]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180058204
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180052a5f
mov rax, rbp
jmp 0x180052b67
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x906d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18005f494
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x906d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180052b63
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180052b63
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18005f494
test rax, rax
js 0x180052b63
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180052b63
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180052b55
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180052b55
cmp byte [rcx], 0xd
jne 0x180052b3b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180052b4a
cmp byte [rcx + 1], 0xa
jne 0x180052b4a
inc rcx
jmp 0x180052b4a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x8e460]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180052b1d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180052b67
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003fd30
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005da64
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x18005da96
call fcn.18004df70
mov dword [rax], 0x16
call fcn.1800525d8
jmp 0x18005dbb5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18005dbb5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x18005dbb5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18005dac5
lock or dword [rcx + 0x14], 0x10
jmp 0x18005dbb5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x18005dad9
call fcn.18005dc84
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.180058204
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.18005ecbc
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x18005dba3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x18005db6e
mov rcx, rsi
call fcn.180058204
cmp eax, edi
je 0x18005db59
mov rcx, rsi
call fcn.180058204
cmp eax, 0xfffffffe
je 0x18005db59
mov rcx, rsi
call fcn.180058204
movsxd rbx, eax
lea r14, [0x1800906d0]
mov rcx, rsi
sar rbx, 6
call fcn.180058204
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x18005db60
lea rdx, [0x18008e410]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18005db6e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x18005db92
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x18005db92
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x18005db92
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x18005dbb8
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x18005e810
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1800906d0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x18005e86e
cmp word [rdx], r12w
jne 0x18005e86e
or byte [rax + r8*8 + 0x38], cl
jmp 0x18005e874
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x18005e9cf
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x18005e9aa
lea r9, [rcx + 2]
cmp ax, r13w
je 0x18005e8ad
mov rcx, r9
jmp 0x18005e8d0
cmp r9, rdx
jae 0x18005e8e7
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x18005e891
jmp 0x18005e9cf
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005e9a4
cmp dword [rsp + 0x80], edi
je 0x18005e9a4
mov rdx, r14
lea r11, [0x1800906d0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x18005e97d
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x18005e950
mov word [rbx], r12w
jmp 0x18005e9cb
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x18005e959
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x18005e9cb
cmp word [rsp + 0x70], r12w
jne 0x18005e98a
cmp rbx, rsi
je 0x18005e94a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.18005f49c
cmp word [rsp + 0x70], r12w
je 0x18005e9cf
mov word [rbx], r13w
jmp 0x18005e9cb
lea r11, [0x1800906d0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x18005e9c7
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x18005e9cf
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180062a78
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180062aa8
xor eax, eax
jmp 0x180062b6b
mov rbp, rbx
cmp word [rax], si
je 0x180062acd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180062ab4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180062ab0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800611fc
movsxd r14, eax
test eax, eax
jne 0x180062b0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180062aa1
mov rcx, r14
call fcn.18005c6bc
mov rdi, rax
test rax, rax
jne 0x180062b24
xor ecx, ecx
call fcn.18005b768
jmp 0x180062b00
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800611fc
test eax, eax
jne 0x180062b55
mov rcx, rdi
call fcn.18005b768
jmp 0x180062b5f
xor ecx, ecx
call fcn.18005b768
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18006a260
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18005f49c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18005f49c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18006a3b0
cmp rax, 0xffffffffffffffff
je 0x18006a3b0
xor edi, edi
test rbp, rbp
jle 0x18006a35b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18005a684
mov rbx, rax
test rax, rax
jne 0x18006a2e8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18006a351
mov edx, 0x8000
mov ecx, r14d
call fcn.18006a0e8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18005b458
cmp eax, 0xffffffff
je 0x18006a331
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18006a2f8
mov edx, r15d
mov ecx, r14d
call fcn.18006a0e8
jmp 0x18006a351
cmp byte [rsi + 0x38], dil
je 0x18006a348
cmp dword [rsi + 0x34], 5
jne 0x18006a348
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18006a351
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18005b768
jmp 0x18006a3c4
jns 0x18006a3c4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18005f49c
cmp rax, 0xffffffffffffffff
jne 0x18006a37c
cmp byte [rsi + 0x30], dil
je 0x18006a3c4
mov edi, dword [rsi + 0x2c]
jmp 0x18006a3c4
mov ecx, r14d
call fcn.180063230
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18006a3c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18006a3c4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18006a3bd
mov eax, dword [rsi + 0x2c]
jmp 0x18006a3c2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18005f49c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
invalid
adc eax, 0x399c0f30
mov esp, 0xc2d11fdc
rol edx, 1
rol edx, 1
jge 0x140023288
lodsb al, byte [rsi]
rcr dword [rax - 0x21007e1c], cl
loope 0x140023228
pop rax
lahf
not byte [rsi - 0x6f]
iretd
Function at 0x1400111e5
Capabilities:
Terminate process

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