joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005a7ac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140089da0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14005a803
cmp word [rdx], r13w
jne 0x14005a803
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14005a808
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14005a92d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14005a94e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14005a841
mov rdx, r9
mov word [rbx], cx
jmp 0x14005a868
cmp r9, r8
jae 0x14005a878
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14005a822
jmp 0x14005a92d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005a922
cmp dword [rsp + 0x80], esi
je 0x14005a922
lea r8, [0x140089da0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14005a8fa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14005a8ca
mov word [rbx], r13w
jmp 0x14005a92a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14005a8d7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005a92a
cmp word [rsp + 0x70], r13w
jne 0x14005a907
cmp rbx, r14
je 0x14005a8c4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005b4dc
cmp word [rsp + 0x70], r13w
je 0x14005a92d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140089da0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14005a927
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14005a92d
Function at 0x14005facc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14005fb53
mov rsi, rbx
cmp word [rax], bp
je 0x14005fb12
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14005fafc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005faf8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400562ec
mov rdi, rax
test rax, rax
je 0x14005fb40
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003a160
mov rbp, rdi
xor ecx, ecx
call fcn.140054ec4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400624a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140055278
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140062541
cmp ebx, dword [rsp + 0x30]
je 0x14006253a
test esi, esi
je 0x14006253a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140062515
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140062522
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400624ff
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140062526
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140062543
mov eax, 1
jmp 0x140062543
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400644e8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140064532
call fcn.140047000
mov dword [rax], 0xf
call fcn.140047020
mov dword [rax], 0xd
call fcn.14003eac4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140038070
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14006453d
lea eax, [rbx + 1]
jmp 0x14006451f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14006451d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14006451f
Function at 0x140066fb4
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.14005b4dc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14005b4dc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140067104
cmp rax, 0xffffffffffffffff
je 0x140067104
xor edi, edi
test rbp, rbp
jle 0x1400670af
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140054e4c
mov rbx, rax
test rax, rax
jne 0x14006703c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400670a5
mov edx, 0x8000
mov ecx, r14d
call fcn.140052df8
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.1400596c8
cmp eax, 0xffffffff
je 0x140067085
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14006704c
mov edx, r15d
mov ecx, r14d
call fcn.140052df8
jmp 0x1400670a5
cmp byte [rsi + 0x38], dil
je 0x14006709c
cmp dword [rsi + 0x34], 5
jne 0x14006709c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400670a5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140054ec4
jmp 0x140067118
jns 0x140067118
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14005b4dc
cmp rax, 0xffffffffffffffff
jne 0x1400670d0
cmp byte [rsi + 0x30], dil
je 0x140067118
mov edi, dword [rsi + 0x2c]
jmp 0x140067118
mov ecx, r14d
call fcn.140058b70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140067118
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 0x140067118
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140067111
mov eax, dword [rsi + 0x2c]
jmp 0x140067116
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14005b4dc
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 0x180016b90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea r13d, [rcx + 0x888]
mov rbp, r9
mov r15, r8
mov r14, rdx
mov edi, ecx
cmp ecx, r13d
jae 0x180016ded
mov esi, dword [rsp + 0x70]
mov r12, qword [rsp + 0x38]
mov ecx, 0xf8
cmp edi, 0x319
ja 0x180016cd1
je 0x180016ca4
mov eax, edi
sub eax, 0xf7
je 0x180016c91
sub eax, 0x1d
je 0x180016cc7
sub eax, 0x99
je 0x180016c64
sub eax, 0xb6
je 0x180016c24
cmp eax, 0x1d
jne 0x180016dd8
mov dword [0x40022008], 0x45670123
jmp 0x180016dd8
test r12, r12
jne 0x180016c55
mov eax, 0x11b
nop
cmp eax, 0x11b
je 0x180016c44
cmp eax, 0x551f
je 0x180016ded
jmp 0x180016c49
mov byte [rsp + 0x70], 0
add eax, 0x5404
cmp eax, 0xa808
jbe 0x180016c30
mov rax, r12
xchg qword [0x1800d74e0], rax
jmp 0x180016dd8
mov qword [rsp + 0x28], 0
lea r8, [0x18004b6d0]
mov r9, r14
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r12, rax
jmp 0x180016dd8
mov qword [0x1800d74d8], r14
mov qword [r14 + 0x80], rbp
jmp 0x180016dd8
mov eax, 0x103
nop dword [rax]
cmp eax, 0x103
je 0x180016de8
add eax, 0x9d
cmp eax, 0x1a0
jb 0x180016cb0
mov esi, 4
jmp 0x180016dd8
cmp edi, 0x336
je 0x180016dcd
cmp edi, 0x3ec
je 0x180016da7
cmp edi, 0x4a2
je 0x180016d13
cmp edi, 0x558
je 0x180016d0a
cmp edi, 0x60e
je 0x180016ded
jmp 0x180016dd8
mov dword [rsp + 0x70], esi
jmp 0x180016dd8
cmp esi, 4
jne 0x180016dd8
mov ebx, 0xd1
mov eax, ebx
sub eax, 0xd1
je 0x180016d7d
cmp eax, 1
jne 0x180016d71
xor r9d, r9d
mov dword [rsp + 0x30], 0x2000
xor r8d, r8d
mov dword [rsp + 0x20], 0x56
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180004df0
mov esi, eax
cmp eax, 5
je 0x180016d6c
mov ecx, dword [0x40022010]
and ecx, 0x1fef
mov dword [0x40022010], ecx
mov ecx, 0xf8
inc ebx
cmp ebx, 0xd3
jb 0x180016d21
jmp 0x180016dd8
mov eax, dword [0x40022010]
or eax, 0x10
mov dword [0x40022010], eax
movzx eax, word [r14]
or ax, word [r15]
or ax, word [rbp]
or ax, cx
mov word [0x1ffff802], ax
jmp 0x180016d71
xor r9d, r9d
mov dword [rsp + 0x38], 0x2000
xor r8d, r8d
mov dword [rsp + 0x20], 0x56
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.180004df0
mov esi, eax
jmp 0x180016dd8
mov dword [0x40022008], 0xcdef89ab
add edi, 0xb6
cmp edi, r13d
jae 0x180016ded
jmp 0x180016bd0
mov byte [rsp + 0x70], 1
mov eax, dword [rsp + 0x70]
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800652a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea r15d, [r8 + 0xb]
mov r12, r9
mov ebp, r8d
mov rdi, rdx
mov r13, rcx
cmp r8d, r15d
jae case.0x180065312.3
mov rbx, qword [rsp + 0x30]
lea r14d, [r8 - 0xd8]
mov esi, dword [rsp + 0x80]
lea rdx, [0x180000000]
mov r8d, 0xe000e200
cmp r14d, 0x21
ja case.0x180065312.10
movzx eax, byte [rdx + r14 + 0x65590]
mov ecx, dword [rdx + rax*4 + 0x65564]
add rcx, rdx
jmp rcx
mov ecx, 0xd7
nop dword [rax]
mov eax, ecx
sub eax, 0xd5
je 0x180065350
cmp eax, 2
jne 0x180065336
mov eax, 1
xchg dword [rdi + 0xc], eax
dec ecx
cmp ecx, 0xd5
ja 0x180065320
mov byte [rsp + 0x30], 1
jmp case.0x180065312.10
mov eax, dword [rdi]
shr rax, 5
mov byte [rsp + 0x30], 1
mov eax, dword [r8 + rax*4]
jmp case.0x180065312.10
mov ecx, 0x10a
nop dword [rax]
cmp ecx, 0x10a
je 0x1800653a5
cmp ecx, 0x5e8e
jne 0x1800653b2
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, dword [0x40021004]
and al, 0xc
mov byte [rsp + 0x30], al
add ecx, 0x5d84
cmp ecx, 0xbb08
jbe 0x180065370
mov qword [rsp + 0x28], 0
lea r8, [0x18002be90]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi], rax
test rax, rax
jne 0x180065542
mov ecx, 0x68
mov eax, ecx
sub eax, 0x68
je 0x180065408
cmp eax, 1
je case.0x180065312.3
jmp 0x18006540d
mov byte [rsp + 0x30], 0
inc ecx
cmp ecx, 0x6a
jb 0x1800653f6
jmp 0x180065542
mov byte [rbx], 0
mov qword [rsp + 0x30], r12
jmp case.0x180065312.10
cmp dword [rdi], 0
jne case.0x180065312.10
mov eax, 0x11
cmp eax, 0x11
je 0x180065448
cmp eax, 0x176
jne 0x180065451
mov rax, r12
jmp 0x180065385
mov byte [rbx], 0x30
inc rbx
mov byte [rbx], 0
add eax, 0x165
cmp eax, 0x2ca
jbe 0x180065434
jmp case.0x180065312.10
xor esi, esi
mov rbx, r12
jmp case.0x180065312.10
movzx eax, word [r12]
mov word [rdi + 0x24], ax
jmp case.0x180065312.10
cmp dword [r13], 0xa
je case.0x180065312.10
mov ecx, 0x73
nop word [rax + rax]
mov eax, ecx
sub eax, 0x73
je 0x18006549e
cmp eax, 0x75
je 0x180065440
jmp 0x1800654a1
mov byte [rbx], 0
add ecx, 0x75
cmp ecx, 0x15d
jb 0x180065490
jmp case.0x180065312.10
cmp dword [rdi], 0
jge 0x1800654c2
mov byte [rbx], 0x2d
inc rbx
mov eax, dword [rdi]
neg eax
mov dword [rdi], eax
mov r9d, 0x2710
nop dword [rax + rax]
mov r10d, 0xbd
cmp r10d, 0xbd
jne 0x18006551e
mov eax, dword [rdi]
cdq
idiv r9d
mov r8d, eax
test eax, eax
jne 0x1800654f0
test esi, esi
je 0x18006551e
mov edx, 0x11
mov ecx, edx
sub ecx, 0x11
je 0x180065505
cmp ecx, 1
jne 0x180065517
mov esi, ecx
jmp 0x180065517
lea eax, [r8 + 0x30]
mov byte [rbx], al
mov eax, r8d
imul eax, r9d
inc rbx
sub dword [rdi], eax
inc edx
cmp edx, 0x13
jb 0x1800654f5
add r10d, 0x6468
cmp r10d, 0x6468
jbe 0x1800654d6
mov eax, 0xcccccccd
mul r9d
mov r9d, edx
shr r9d, 3
test r9d, r9d
jg 0x1800654d0
lea rdx, [0x180000000]
mov r8d, 0xe000e200
inc ebp
inc r14d
cmp ebp, r15d
jb 0x1800652f5
jmp case.0x180065312.3
Function at 0x18007f7a0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
lea esi, [rdx - 7]
mov rdi, r9
mov r14, r8
mov r15, rcx
cmp edx, esi
jbe 0x18007f8bd
mov qword [rsp + 0x60], rbx
lea ebx, [rdx - 0xab]
mov qword [rsp + 0x70], rbp
lea rbp, [0x180000000]
nop dword [rax]
cmp ebx, 0x11
ja case.0x18007f7f3.4
mov ecx, dword [rbp + rbx*4 + 0x7f8cc]
add rcx, rbp
jmp rcx
test rdi, rdi
je 0x18007f8b3
jmp case.0x18007f7f3.4
mov rcx, qword [0x1800d7528]
lea r9, [rsp + 0x68]
movzx eax, byte [r14]
movzx edx, word [rcx + 0xa]
imul rdx, rax
mov rax, qword [rcx]
mov ecx, 0x36
lea r8, [rax + rdx*2]
movzx eax, word [r15]
mov word [rsp + 0x68], ax
lea rdx, [rsp + 0x30]
movzx eax, word [rdi]
mov word [rsp + 0x30], ax
call fcn.180047f80
jmp case.0x18007f7f3.4
add byte [r14], 0xe0
jmp case.0x18007f7f3.4
movups xmm0, xmmword [0x1800b0a30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x1800b0a40]
movups xmmword [rdi + 0x10], xmm1
jmp case.0x18007f7f3.4
mov rax, qword [r14]
lea rdx, [rsp + 0x38]
mov r9, rdi
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x20], 0xd6
mov rcx, r15
call fcn.18008e730
jmp case.0x18007f7f3.4
xorps xmm0, xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x38], xmm0
movups xmmword [rdi + 0x48], xmm0
movups xmmword [rdi + 0x58], xmm0
jmp case.0x18007f7f3.4
mov qword [rdi + 0x20], 0
dec ebx
lea eax, [rbx + 0xab]
cmp eax, esi
ja 0x18007f7e0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x180030790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov ebp, dword [rsp + 0xa0]
mov rsi, r9
movaps xmmword [rsp + 0x40], xmm6
mov r12, r8
imul r14d, ebp, 0xfa
mov r13, rdx
movaps xmmword [rsp + 0x30], xmm7
mov r10, rcx
movaps xmmword [rsp + 0x20], xmm8
mov edi, ebp
cmp ebp, r14d
ja 0x18003084a
mov r15d, dword [0x1800624b0]
movss xmm5, dword [0x1800570c8]
movss xmm8, dword [0x18005716c]
movss xmm6, dword [0x1800570f4]
movss xmm7, dword [0x180057160]
mov r8d, dword [rsp + 0xa0]
nop dword [rax]
mov eax, edi
sub eax, 0xd
je 0x180030961
sub eax, 0xe9
je 0x180030a1d
sub eax, 0x2a
je 0x180030a42
sub eax, 0x2fe2
je 0x18003087e
cmp eax, 0x300c
jne 0x180030a1d
mov word [rsp + 0xa0], r8w
mov eax, dword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x40]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm7, xmmword [rsp + 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
test r10, r10
je 0x180030a30
movsxd r9, dword [rsi]
test r9d, r9d
jle 0x180030a30
xor ecx, ecx
cmp r9d, 8
jb 0x18003092a
cmp r15d, 2
jl 0x18003092a
mov edx, r9d
xorps xmm3, xmm3
xorps xmm4, xmm4
and edx, 0x80000007
jge 0x1800308c4
dec edx
or edx, 0xfffffff8
inc edx
mov eax, r9d
sub eax, edx
movsxd rdx, eax
nop dword [rax]
movq xmm0, qword [r10 + rcx*2]
pmovsxwd xmm1, xmm0
movq xmm0, qword [r10 + rcx*2 + 8]
pabsd xmm2, xmm1
pmovsxwd xmm1, xmm0
pmaxsd xmm3, xmm2
add rcx, 8
pabsd xmm2, xmm1
pmaxsd xmm4, xmm2
cmp rcx, rdx
jl 0x1800308d0
pmaxsd xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
pmaxsd xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
pmaxsd xmm3, xmm0
movd r8d, xmm3
cmp rcx, r9
jge 0x180030949
nop
movsx eax, word [r10 + rcx*2]
cdq
xor eax, edx
sub eax, edx
cmp eax, r8d
cmovg r8d, eax
inc rcx
cmp rcx, r9
jl 0x180030930
cmp r8d, 0x7fff
jle 0x180030a1d
mov r8d, 0x7fff
jmp 0x180030a1d
xor ecx, ecx
cmp dword [r10 + 0x10], ecx
jle 0x180030a1d
mov rdx, qword [rsp + 0xa8]
lea rax, [r10 + 0x2294]
mov r11, rsi
mov rbx, r12
sub r11, r10
sub rbx, r10
sub rdx, r10
mov r9, r13
sub r9, r10
nop dword [rax]
nop word [rax + rax]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 0x204]
addss xmm0, xmm5
divss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [rax - 0x844]
mov dword [rdx + rax - 0x2294], 0
movss xmm3, dword [r11 + rax - 0x2294]
movss xmm2, dword [rbx + rax - 0x2294]
comiss xmm3, xmm2
jbe 0x1800309fb
addss xmm2, xmm5
movaps xmm0, xmm3
divss xmm0, xmm2
subss xmm0, xmm8
movss dword [rdx + rax - 0x2294], xmm0
mulss xmm0, xmm6
inc ecx
mulss xmm1, xmm7
addss xmm0, xmm1
movss dword [r9 + rax - 0x2294], xmm0
add rax, 4
cmp ecx, dword [r10 + 0x10]
jl 0x1800309a0
imul eax, ebp, 0x32
add edi, eax
cmp edi, r14d
jbe 0x180030810
jmp 0x18003084a
mov eax, 0xffffffff
mov word [rsp + 0xa0], ax
jmp 0x18003084a
mov eax, dword [rsi]
lea rdx, [rsp + 0xa0]
mov r8, r10
mov dword [rsp + 0xa0], eax
mov ecx, 0x1f
call fcn.18001bc90
jmp 0x180030851
Function at 0x14002924c
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.14001c844
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c844
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002939c
cmp rax, 0xffffffffffffffff
je 0x14002939c
xor edi, edi
test rbp, rbp
jle 0x140029347
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f158
mov rbx, rax
test rax, rax
jne 0x1400292d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002933d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a178
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.14001d520
cmp eax, 0xffffffff
je 0x14002931d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400292e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a178
jmp 0x14002933d
cmp byte [rsi + 0x38], dil
je 0x140029334
cmp dword [rsi + 0x34], 5
jne 0x140029334
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002933d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001af0c
jmp 0x1400293b0
jns 0x1400293b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c844
cmp rax, 0xffffffffffffffff
jne 0x140029368
cmp byte [rsi + 0x30], dil
je 0x1400293b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400293b0
mov ecx, r14d
call fcn.140018630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400293b0
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 0x1400293b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400293a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400293ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c844
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 0x1400017dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001826
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001826
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001826
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001826
cmp dword [rcx + 0x84], 0xe
jbe 0x140001826
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001828
xor al, al
add rsp, 0x28
ret

Function at 0x140005e40
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005c6c

Function at 0x1400126f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012718
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012718
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000b9fc
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.14000b77c
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.0x14000ba52
mov ecx, 1
call fcn.14000b77c
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]
movsd dword [rdi], dword [rsi]
jle 0x140023312
jmp qword [rsp + riz*8 - 0x5af62249]
movsb byte [rdi], byte [rsi]
in al, 0xb7
fisttp qword [rcx]
movsd dword [rdi], dword [rsi]
sti
ud1
in eax, dx
pushfq
invalid
Function at 0x180001620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
ret 0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
movabs rax, 0x5d652f7a6afcef0e
movabs rdx, 0x171bd92b25d4a4fd
mov qword [rbp - 0x60], rax
movabs rcx, 0xd97678f62902ab72
movabs rax, 0x1ad8fd11ceb5ed3f
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x58], rax
xor ebx, ebx
movdqa xmm2, xmmword [rbp - 0x60]
movabs rax, 0x381d32357ce1c4b6
mov qword [rbp - 0x50], rax
mov r8d, ebx
movabs rax, 0xc9c404209cd652ee
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x48], rax
movabs rax, 0x5d002f176a9def49
mov qword [rbp - 0x30], rax
movabs rax, 0x1abdfd62cec6ed7e
mov qword [rbp - 0x28], rax
movabs rax, 0x386432597c83c4db
xorps xmm2, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0xc9a8044c9cb252c0
mov qword [rbp - 0x18], rax
movq rax, xmm2
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp - 0x50]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
movdqa xmm1, xmmword [rbp - 0x10]
xorps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm2
movdqa xmmword [rbp - 0x40], xmm1
test ax, ax
je 0x180001712
inc r8
cmp word [rbp + r8*2 - 0x60], bx
jne 0x180001707
movabs r9, 0xcbf29ce484222325
mov r10, rbx
test r8, r8
je 0x180001754
movzx edx, word [rbp + r10*2 - 0x60]
lea eax, [rdx - 0x41]
cmp ax, 0x19
lea ecx, [rdx + 0x20]
cmova cx, dx
inc r10
movzx eax, cx
movabs rcx, 0x100000001b3
imul r9, rcx
xor r9, rax
cmp r10, r8
jb 0x180001724
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x60], r9
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 0x60]
test rsi, rsi
je 0x1800017a7
mov rsi, qword [rsi + 0x18]
test rsi, rsi
je 0x1800017a7
add rsi, 0x10
mov rdi, qword [rsi]
jmp 0x18000179c
test rdi, rdi
je 0x180001799
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1800017cc
test al, al
jne 0x1800017a3
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x180001784
jmp 0x1800017a7
mov rbx, qword [rbp - 0x58]
mov qword [0x18001cd50], rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
jmp 0x1800011ac