joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c020
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x14001c02b
je 0x14001c036
call 0x14001c085
mov bl, 0xc7
lahf
pop rsi
jne 0x14001c016
call 0x14001c02e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x14001c016
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x14001c064
je 0x14001c0a2
invalid
je 0x14001c0b3
jne 0x14001c016
lea rax, [0x14001bf3c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x140017c9d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x14001c154
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14001c1ad
je 0x14001c1b3
call 0x14001c1a4
fild qword [rdi - 0x7c]
jmp 0x174f58926
jne 0x14001c176
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x14001c136
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x14001c085
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x14001c02b
je 0x14001c036
call 0x14001c085
mov bl, 0xc7
lahf
pop rsi
jne 0x14001c016
call 0x14001c02e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x14001c016
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x14001c064
je 0x14001c0a2
invalid
je 0x14001c0b3
jne 0x14001c016
lea rax, [0x14001bf3c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x140017c9d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x14001c154
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14001c1ad
je 0x14001c1b3
call 0x14001c1a4
fild qword [rdi - 0x7c]
jmp 0x174f58926
jne 0x14001c176
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x14001c136
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140002640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
add rsi, rcx
mov r10d, dword [r8 + 0x20]
add rbp, rcx
mov ebx, dword [r8 + 0x18]
add r10, rcx
test ebx, ebx
je 0x1400026c3
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400026b3
inc rax
test ecx, ecx
jne 0x1400026a0
test edx, edx
je 0x1400026da
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140002690
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x1400026c5
Function at 0x1400026f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
movsxd r10, dword [0x14004effc]
lea r14, [0x14004ef70]
lea r9, str.0__5_7HIU
mov edi, 0xc
mov r8d, edi
mov rcx, qword [r14 + r10*8]
inc r10d
sub r9, rcx
mov rdx, rcx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 + rdx]
lea rdx, [rdx + 1]
xor al, 0x7b
mov byte [rdx - 1], al
sub r8, 1
jne 0x140002740
xor r15d, r15d
mov byte [rcx + 0xc], r8b
cmp r10d, 0xf
cmovge r10d, r15d
mov dword [0x14004effc], r10d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd r10, dword [0x14004effc]
lea r9, str._3_77HIU
mov qword [0x14004ef68], rax
lea r8d, [r15 + 0xb]
mov rcx, qword [r14 + r10*8]
inc r10d
sub r9, rcx
mov rdx, rcx
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
lea rdx, [rdx + 1]
xor al, 0x7b
mov byte [rdx - 1], al
sub r8, 1
jne 0x1400027a0
cmp r10d, 0xf
mov byte [rcx + 0xb], r15b
cmovge r10d, r15d
mov dword [0x14004effc], r10d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd r10, dword [0x14004effc]
lea r9, str..___HIU
mov r8d, 0xa
mov rcx, qword [r14 + r10*8]
inc r10d
sub r9, rcx
mov rdx, rcx
nop
movzx eax, byte [r9 + rdx]
lea rdx, [rdx + 1]
xor al, 0x7b
mov byte [rdx - 1], al
sub r8, 1
jne 0x1400027f0
cmp r10d, 0xf
mov byte [rcx + 0xa], r15b
cmovge r10d, r15d
mov dword [0x14004effc], r10d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rbx, dword [0x14004effc]
lea r9, [0x14004ccf0]
mov rbp, rax
mov qword [0x14004f090], rax
mov r8, rdi
mov rdx, qword [r14 + rbx*8]
inc ebx
sub r9, rdx
mov rcx, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
lea rcx, [rcx + 1]
xor al, 0x7b
mov byte [rcx - 1], al
sub r8, 1
jne 0x140002850
mov rcx, qword [0x14004ef68]
cmp ebx, 0xf
mov byte [rdx + 0xc], r15b
cmovge ebx, r15d
call fcn.140002640
mov qword [0x14004f098], rax
lea r9, [0x14004cd18]
movsxd rax, ebx
mov r8d, 0xd
inc ebx
mov rdx, qword [r14 + rax*8]
mov rcx, rdx
sub r9, rdx
nop
movzx eax, byte [r9 + rcx]
lea rcx, [rcx + 1]
xor al, 0x7b
mov byte [rcx - 1], al
sub r8, 1
jne 0x1400028a0
cmp ebx, 0xf
mov byte [rdx + 0xd], r15b
mov rcx, rbp
cmovge ebx, r15d
call fcn.140002640
mov qword [0x14004f080], rax
lea r9, [0x14004cd60]
movsxd rax, ebx
mov r8, rdi
inc ebx
mov rdx, qword [r14 + rax*8]
mov rcx, rdx
sub r9, rdx
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
lea rcx, [rcx + 1]
xor al, 0x7b
mov byte [rcx - 1], al
sub r8, 1
jne 0x1400028f0
cmp ebx, 0xf
mov byte [rdx + 0xc], r15b
mov rcx, rbp
cmovge ebx, r15d
call fcn.140002640
mov qword [0x14004eef0], rax
lea r9, [0x14004cca8]
movsxd rax, ebx
inc ebx
mov rdx, qword [r14 + rax*8]
mov r8, rdx
sub r9, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 + r8]
lea r8, [r8 + 1]
xor al, 0x7b
mov byte [r8 - 1], al
sub rdi, 1
jne 0x140002940
mov rcx, qword [0x14004ef68]
cmp ebx, 0xf
mov byte [rdx + 0xc], r15b
cmovge ebx, r15d
mov dword [0x14004effc], ebx
call fcn.140002640
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov qword [0x14004f008], rax
add rsp, 0x20
pop r15
ret
Function at 0x140006430
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140006452
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400064cc
mov rdi, r14
mov rcx, rbx
call fcn.1400078c0
test rax, rax
jle 0x1400064a4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140014670
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400064bc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400064c4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140006466
sub r14, rdi
jmp 0x1400065b9
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400064e3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400064e5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000651a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140014670
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400065b6
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140006555
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140006591
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14001bf14
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x1400065cf
cmp rbp, rax
ja 0x140006561
mov r8, rdi
test rdi, rdi
je 0x1400065b6
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14001bf14
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x1400065b9

Function at 0x140008bf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140008c34
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140008c20
ret
Function at 0x140020d00
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140020af0
Function at 0x14002705c
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 0x14002708e
call fcn.14001c854
mov dword [rax], 0x16
call fcn.14001c6e8
jmp 0x1400271ad
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400271ad
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400271ad
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400270bd
lock or dword [rcx + 0x14], 0x10
jmp 0x1400271ad
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400270d1
call fcn.1400281e4
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140023dcc
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400286fc
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14002719b
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140027166
mov rcx, rsi
call fcn.140023dcc
cmp eax, edi
je 0x140027151
mov rcx, rsi
call fcn.140023dcc
cmp eax, 0xfffffffe
je 0x140027151
mov rcx, rsi
call fcn.140023dcc
movsxd rbx, eax
lea r14, [0x14004e7a0]
mov rcx, rsi
sar rbx, 6
call fcn.140023dcc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140027158
lea rdx, [0x14004c400]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140027166
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14002718a
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14002718a
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14002718a
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 0x1400271b0
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 0x140027f64
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.140012bd0
sub rsp, rax
mov rax, qword [0x14004c060]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140023dcc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140027fb3
mov rax, rbp
jmp 0x1400280bb
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x4e7a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140028ed4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x4e7a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400280b7
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 0x1400280b7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140028ed4
test rax, rax
js 0x1400280b7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400280b7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400280a9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400280a9
cmp byte [rcx], 0xd
jne 0x14002808f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002809e
cmp byte [rcx + 1], 0xa
jne 0x14002809e
inc rcx
jmp 0x14002809e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x4c450]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140028071
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400280bb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140012570
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 0x140028250
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, [0x14004e7a0]
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 0x1400282ae
cmp word [rdx], r12w
jne 0x1400282ae
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400282b4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14002840f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400283ea
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400282ed
mov rcx, r9
jmp 0x140028310
cmp r9, rdx
jae 0x140028327
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 0x1400282d1
jmp 0x14002840f
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 0x1400283e4
cmp dword [rsp + 0x80], edi
je 0x1400283e4
mov rdx, r14
lea r11, [0x14004e7a0]
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 0x1400283bd
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140028390
mov word [rbx], r12w
jmp 0x14002840b
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 0x140028399
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14002840b
cmp word [rsp + 0x70], r12w
jne 0x1400283ca
cmp rbx, rsi
je 0x14002838a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140028edc
cmp word [rsp + 0x70], r12w
je 0x14002840f
mov word [rbx], r13w
jmp 0x14002840b
lea r11, [0x14004e7a0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140028407
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14002840f
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 0x14002c9dc
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 0x14002ca0c
xor eax, eax
jmp 0x14002cacf
mov rbp, rbx
cmp word [rax], si
je 0x14002ca31
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002ca18
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002ca14
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.14002b124
movsxd r14, eax
test eax, eax
jne 0x14002ca6f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002ca05
mov rcx, r14
call fcn.140025c80
mov rdi, rax
test rax, rax
jne 0x14002ca88
xor ecx, ecx
call fcn.140025784
jmp 0x14002ca64
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.14002b124
test eax, eax
jne 0x14002cab9
mov rcx, rdi
call fcn.140025784
jmp 0x14002cac3
xor ecx, ecx
call fcn.140025784
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 0x140034424
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.140028edc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140028edc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140034574
cmp rax, 0xffffffffffffffff
je 0x140034574
xor edi, edi
test rbp, rbp
jle 0x14003451f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400271c8
mov rbx, rax
test rax, rax
jne 0x1400344ac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140034515
mov edx, 0x8000
mov ecx, r14d
call fcn.140021a88
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.140025474
cmp eax, 0xffffffff
je 0x1400344f5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400344bc
mov edx, r15d
mov ecx, r14d
call fcn.140021a88
jmp 0x140034515
cmp byte [rsi + 0x38], dil
je 0x14003450c
cmp dword [rsi + 0x34], 5
jne 0x14003450c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140034515
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140025784
jmp 0x140034588
jns 0x140034588
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140028edc
cmp rax, 0xffffffffffffffff
jne 0x140034540
cmp byte [rsi + 0x30], dil
je 0x140034588
mov edi, dword [rsi + 0x2c]
jmp 0x140034588
mov ecx, r14d
call fcn.14002d2b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140034588
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 0x140034588
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140034581
mov eax, dword [rsi + 0x2c]
jmp 0x140034586
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140028edc
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 0x180007600
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
mov dword [0x1801bde78], eax
mov dword [0x1801bde88], eax
mov rax, qword [0x1801bde80]
mov dword [rax], ecx
mov eax, dword [0x1801bde78]
inc eax
mov dword [0x1801bde78], eax
mov ecx, eax
mov rax, qword [0x1801bde80]
movss dword [rax + rcx*8], xmm1
mov eax, dword [0x1801bde78]
inc eax
mov dword [0x1801bde78], eax
mov ecx, eax
mov rax, qword [0x1801bde80]
movss dword [rax + rcx*8], xmm2
mov eax, dword [0x1801bde78]
inc eax
mov dword [0x1801bde78], eax
mov ecx, eax
mov rax, qword [0x1801bde80]
movss dword [rax + rcx*8], xmm3
mov eax, dword [0x1801bde78]
mov ecx, dword [rsp + 0x28]
inc eax
mov dword [0x1801bde78], eax
mov edx, eax
mov rax, qword [0x1801bde80]
mov dword [rax + rdx*8], ecx
mov eax, dword [0x1801bde78]
mov ecx, dword [rsp + 0x30]
inc eax
mov dword [0x1801bde78], eax
mov edx, eax
mov rax, qword [0x1801bde80]
mov dword [rax + rdx*8], ecx
mov eax, dword [0x1801bde78]
mov ecx, dword [rsp + 0x38]
inc eax
mov dword [0x1801bde78], eax
mov edx, eax
mov rax, qword [0x1801bde80]
mov dword [rax + rdx*8], ecx
mov eax, dword [0x1801bde78]
mov ecx, dword [rsp + 0x40]
inc eax
mov dword [0x1801bde78], eax
mov edx, eax
mov rax, qword [0x1801bde80]
mov dword [rax + rdx*8], ecx
movabs rdx, 0x6843da7060a026b
inc dword [0x1801bde78]
jmp fcn.1800325a0