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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov r11, rcx
mov rdi, qword [0x1800adb28]
add rdi, rcx
mov r9, qword [0x1800adc18]
add r9, rcx
cmp byte [r9 + 0x14], 0
jne 0x180058078
mov word [r9 + 0x15], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x60], rax
mov byte [r9], al
movzx eax, byte [rsp + 0x61]
mov byte [r9 + 1], al
movzx eax, byte [rsp + 0x62]
mov byte [r9 + 2], al
movzx eax, byte [rsp + 0x63]
mov byte [r9 + 3], al
mov byte [r9 + 0x17], 0
mov byte [r9 + 0x14], 1
mov dword [rsp + 0x70], r8d
mov eax, dword [r9]
mov dword [rsp + 0x60], eax
movzx eax, byte [r9 + 0x15]
test al, al
je 0x1800580a5
xor ecx, ecx
mov edx, eax
mov eax, dword [rsp + rcx + 0x60]
not eax
xor dword [rsp + rcx + 0x70], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180058091
movzx eax, byte [r9 + 0x16]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x1800580d4
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x60]
not al
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 4
jb 0x1800580c0
movzx eax, byte [r9 + 0x17]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x70]
mov dword [r9 + rcx*4 + 4], eax
mov byte [r9 + 0x17], cl
mov dword [rdi + 0x38], r8d
mov r9, qword [0x1800adb28]
add r9, r11
mov r10, qword [r9 + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r10]
lea r10, [r10 + 1]
xor rdx, rcx
imul rdx, r11
test cl, cl
jne 0x180058120
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x18005814d
lea eax, [r8 - 0x1d]
cmp eax, 7
jbe 0x180058193
jmp 0x1800581bb
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x180058167
lea eax, [r8 - 0x1a]
cmp eax, 6
jbe 0x180058193
jmp 0x1800581bb
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x18005817e
cmp r8d, 0x10
je 0x180058193
jmp 0x1800581bb
movabs rax, 0x8c270feab0c1f42b
cmp rdx, rax
jne 0x18005819d
cmp r8d, 0x56
jne 0x1800581bb
mov byte [r9 + 0x9c], 0
jmp 0x1800581f6
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x1800581de
cmp rdx, rax
je 0x1800581de
cmp byte [r9 + 0x9c], 0xff
je 0x1800581f6
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x1800581f6
mov byte [r9 + 0x9c], 0xff
jmp 0x1800581f6
cmp r8d, 7
jne 0x18005824a
cmp rdx, rcx
je 0x180058255
mov rax, qword [r9]
cmp rax, qword [r9 + 8]
je 0x1800581f6
mov qword [r9 + 8], rax
mov rax, qword [0x1800abd88]
mov r8, qword [0x1800adc20]
add r8, qword [rax]
lea rax, [0x180001004]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r8
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, rdi
call fcn.18005af80
nop
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp r8d, 6
jne 0x1800581e9
cmp rdx, rax
jne 0x1800581e9
mov rax, qword [r9]
cmp rax, qword [r9 + 8]
je 0x180058262
mov qword [r9 + 8], rax
mov rdx, rbx
mov rcx, r9
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp fcn.180058280
Function at 0x18005b054
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18005b08e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18005b093
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18005b0dc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800885e0]
cmp byte [rcx + rax], 0
je 0x18005b0dc
dec r8
sub rdx, 1
jne 0x18005b0c2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18006b5d8
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.18005d930
sub rsp, rax
mov rax, qword [0x1800ab0c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180070ecc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18006b627
mov rax, rbp
jmp 0x18006b733
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 + 0xad490]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180077b1c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xad490]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18006b72f
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006b72f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180077b1c
test rax, rax
js 0x18006b72f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18006b72f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18006b721
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18006b721
cmp byte [rcx], 0xd
jne 0x18006b707
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18006b716
cmp byte [rcx + 1], 0xa
jne 0x18006b716
inc rcx
jmp 0x18006b716
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xab4d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18006b6e9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18006b733
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18005d880
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 0x18006ea68
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x18006ea9f
call fcn.180068394
mov dword [rax], 0x16
call fcn.18006b198
xor eax, eax
jmp 0x18006eb31
mov rdx, r9
mov rcx, r8
call fcn.18006ea04
mov rbx, rax
test rax, rax
je 0x18006eb2e
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x18006e938]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x18006eb1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180068324
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18006eb02
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18006eb11
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.180074340
jmp 0x18006eb2e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18006eb2b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18006ffb4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180070023
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180070023
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180070023
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180070023
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180070023
cmp dword [rcx + 0x84], 0xe
jbe 0x180070023
cmp dword [rcx + 0xf8], 0
je 0x180070023
mov ecx, ebx
call fcn.1800700c8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18006febc
nop
cmp dword [rbp + 0x20], 0
jne 0x180070084
call fcn.180078f54
cmp eax, 1
jne 0x180070074
xor dl, dl
jmp 0x18007007e
call fcn.180079d48
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x18007008f
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180070098
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18006ffb4
Function at 0x180070fec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180071002
mov al, 1
jmp 0x18007106e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180071013
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18007106c
mov ecx, dword [rcx + 0x18]
nop
call fcn.18007bb8c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18007106c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18007106c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18007106c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18007106e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180074df8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800b7050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x180074e5d
test rax, rax
jne 0x180074e4b
lea r9, [0x18008d430]
lea r8, [0x18008d428]
lea rdx, [0x18008d430]
lea ecx, [rax + 0xa]
call fcn.180074a70
test rax, rax
je 0x180074e5d
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.180084a20
jmp 0x180074e77
xor edx, edx
mov rcx, rbp
call fcn.1800750e8
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180076e04
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
xor edi, edi
mov rax, r15
lea rcx, [0x1800ad490]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x180076e5a
cmp word [rdx], r9w
jne 0x180076e5a
or byte [rax + rbp*8 + 0x38], 4
jmp 0x180076e5f
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x180076fde
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x180076fa9
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x180076ea7
cmp rcx, r8
jae 0x180076ec7
cmp word [rcx], r9w
jne 0x180076ea7
add rax, 4
mov edx, r9d
jmp 0x180076eaa
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x180076e7c
jmp 0x180076fde
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180076fa2
cmp dword [rsp + 0x80], edi
je 0x180076fa2
lea r9, [0x1800ad490]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x180076f7c
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x180076f2f
mov word [rbx], bp
jmp 0x180076fdb
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x180076f4a
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x180076fdb
cmp word [rsp + 0x70], bp
jne 0x180076f88
cmp rbx, rsi
je 0x180076f27
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180077b24
cmp word [rsp + 0x70], bp
je 0x180076fde
mov word [rbx], 0xd
jmp 0x180076fdb
mov rcx, r15
lea r9, [0x1800ad490]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x180076fd8
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x180076fde
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
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
Function at 0x18007b384
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 0x18007b3b4
xor eax, eax
jmp 0x18007b477
mov rbp, rbx
cmp word [rax], si
je 0x18007b3d9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18007b3c0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18007b3bc
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.180079a4c
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x18007b41a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18007b3ad
call fcn.1800756c0
mov rdi, rax
test rax, rax
jne 0x18007b430
xor ecx, ecx
call fcn.180074340
jmp 0x18007b40f
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.180079a4c
test eax, eax
jne 0x18007b461
mov rcx, rdi
call fcn.180074340
jmp 0x18007b46b
xor ecx, ecx
call fcn.180074340
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 0x18007e1e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x18007e253
cmp word [rcx], si
je 0x18007e253
lea rdx, [0x18008e6f8]
call fcn.180081710
test eax, eax
je 0x18007e253
lea rdx, [0x18008e710]
mov rcx, rbx
call fcn.180081710
test eax, eax
jne 0x18007e249
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18007e270
mov eax, dword [rsp + 0x30]
jmp 0x18007e282
mov rcx, rbx
call fcn.180070dec
jmp 0x18007e282
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x18007e274
xor eax, eax
jmp 0x18007e282
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x18007e282
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18007e294
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800715c0
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18007e337
cmp edi, dword [rsp + 0x30]
je 0x18007e330
test ebp, ebp
je 0x18007e330
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x18007e30c
sub dx, 0x61
cmp dx, 0x19
ja 0x18007e318
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x18007e2f9
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x18007e31c
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x18007e339
mov eax, 1
jmp 0x18007e339
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180082208
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.180077b24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180077b24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180082355
cmp rax, 0xffffffffffffffff
je 0x180082355
xor edi, edi
test rbp, rbp
jle 0x180082303
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180074950
mov rbx, rax
test rax, rax
jne 0x180082290
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800822f9
mov edx, 0x8000
mov ecx, r14d
call fcn.18008208c
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.180073da0
cmp eax, 0xffffffff
je 0x1800822d9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800822a0
mov edx, r15d
mov ecx, r14d
call fcn.18008208c
jmp 0x1800822f9
cmp byte [rsi + 0x38], dil
je 0x1800822f0
cmp dword [rsi + 0x34], 5
jne 0x1800822f0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800822f9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180074340
jmp 0x180082367
jns 0x180082367
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180077b24
cmp rax, 0xffffffffffffffff
jne 0x180082321
cmp byte [rsi + 0x30], dil
je 0x180082367
jmp 0x18008235d
mov ecx, r14d
call fcn.18007bb8c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180082367
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 0x180082367
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180082362
mov edi, dword [rsi + 0x2c]
jmp 0x180082367
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180077b24
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 0x180082d30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180082d58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180082d58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140019d10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14009d680]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14009dba0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x140019d78
cmp byte [rbx + 0x4a76], 0
jne 0x140019d78
movsx r9d, word [rbx + 0x5b9a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14001f450
test sil, 1
je 0x140019eb0
jmp 0x140019e11
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140078678]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x140078670]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
or dword [rbx + 0x47a8], 1
mov qword [rbx + 0x47c0], rax
movss dword [rbx + 0x47b8], xmm0
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mov rax, qword [0x14009dba0]
mulss xmm0, dword [0x140078628]
or dword [rax + 0x47a8], 0x40
movss dword [rax + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b9a]
call fcn.14001f450
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140019e61
lea r11, [0x140076c20]
cmp r9b, 0x23
jne 0x140019e44
cmp byte [r8], r9b
jne 0x140019e44
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140019e31
not ecx
call fcn.14001dc10
test rax, rax
je 0x140019eb0
cmp byte [rax + 0xb6], 0
je 0x140019eb0
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b9a]
movsx r9d, word [rbx + 0x5b9a]
call fcn.14001f450
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400173e0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400728e0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14001db60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14009dba0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001dbc3
mov qword [rsp], rbx
lea rbx, [0x140076c20]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001dba3
cmp byte [r8], r9b
jne 0x14001dba3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001db90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bf8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001dbf7
mov r10, qword [r10 + 0x5c00]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001dbfe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001dbe4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14001dc90
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14001dce0
lea r11, [0x140076c20]
cmp r9b, 0x23
jne 0x14001dcc3
cmp byte [r8], r9b
jne 0x14001dcc3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001dcb0
not ecx
jmp fcn.14001dc10

Function at 0x14001e580
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140076c20]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x14001e617
movsxd r8, edx
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.14001b9b0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret