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

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18001862e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1801826e8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801826f8]
lea rdx, [rdi + rdi]
call fcn.180016e40
mov rax, qword [0x1801826e8]
lea r9, [rdi - 1]
mov qword [0x180182710], r9
mov qword [0x180182718], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180018623
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1801826f8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001856f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800185e4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800185ac
mov r10, qword [rdx]
cmp r10, rax
je 0x1800185a6
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800185e4
cmp r9, rdx
je 0x1800185c0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800185f8
cmp r9, rdx
jne 0x1800185b1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18001861e
mov r9, qword [0x180182710]
jmp 0x180018520
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800185e4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18003dc9c
int3
Function at 0x18001ac90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18001acf1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18001acb0
mov ecx, dword [r9]
jmp 0x18001addb
cmp ecx, 0x4e0
jb 0x18001addb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18001ad10
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18001ad60
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180025a70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
mov r8, rdx
mov r10, qword [rdx + 0x10]
jbe 0x180025a85
mov r8, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x180025ab4
movabs r11, 0x100000001b3
movzx eax, byte [r8 + rcx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x180025aa0
mov r8, rdx
lea rcx, [0x180182440]
lea rdx, [rsp + 0x20]
call fcn.18001ab90
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x180025adb
add rax, 0x30
add rsp, 0x38
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.18003dcc0
int3
Function at 0x180049f6c
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.18003f820
sub rsp, rax
mov rax, qword [0x180162040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18005718c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180049fbb
mov rax, rbp
jmp 0x18004a0c3
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 + 0x180890]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18005be98
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x180890]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18004a0bf
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 0x18004a0bf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18005be98
test rax, rax
js 0x18004a0bf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18004a0bf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18004a0b1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18004a0b1
cmp byte [rcx], 0xd
jne 0x18004a097
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18004a0a6
cmp byte [rcx + 1], 0xa
jne 0x18004a0a6
inc rcx
jmp 0x18004a0a6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x162620]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18004a079
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18004a0c3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003eb20
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 0x180054c90
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 0x180054cff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180054cff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180054cff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180054cff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180054cff
cmp dword [rcx + 0x84], 0xe
jbe 0x180054cff
cmp dword [rcx + 0xf8], 0
je 0x180054cff
mov ecx, ebx
call fcn.180054db0
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.180054b8c
nop
cmp dword [rbp + 0x20], 0
je 0x180054d4d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180054d58
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180054c90
Function at 0x18005bf44
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, [0x180180890]
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 0x18005bf9b
cmp word [rdx], r13w
jne 0x18005bf9b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18005bfa0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18005c0c5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18005c0e6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18005bfd9
mov rdx, r9
mov word [rbx], cx
jmp 0x18005c000
cmp r9, r8
jae 0x18005c010
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 0x18005bfba
jmp 0x18005c0c5
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 0x18005c0ba
cmp dword [rsp + 0x80], esi
je 0x18005c0ba
lea r8, [0x180180890]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18005c092
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18005c062
mov word [rbx], r13w
jmp 0x18005c0c2
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 0x18005c06f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18005c0c2
cmp word [rsp + 0x70], r13w
jne 0x18005c09f
cmp rbx, r14
je 0x18005c05c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18005bea0
cmp word [rsp + 0x70], r13w
je 0x18005c0c5
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, [0x180180890]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18005c0bf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18005c0c5
Function at 0x18005dc20
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18005dc36
mov al, 1
jmp 0x18005dc96
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18005dc47
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18005dc94
mov ecx, dword [rcx + 0x18]
nop
call fcn.18006660c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005dc94
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18005dc94
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18005dc94
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18005dc96
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18006180c
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 0x18006183c
xor eax, eax
jmp 0x1800618ff
mov rbp, rbx
cmp word [rax], si
je 0x180061861
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180061848
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180061844
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.18005b2dc
movsxd r14, eax
test eax, eax
jne 0x18006189f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180061835
mov rcx, r14
call fcn.180055e8c
mov rdi, rax
test rax, rax
jne 0x1800618b8
xor ecx, ecx
call fcn.180055e50
jmp 0x180061894
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.18005b2dc
test eax, eax
jne 0x1800618e9
mov rcx, rdi
call fcn.180055e50
jmp 0x1800618f3
xor ecx, ecx
call fcn.180055e50
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 0x18006191c
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 0x1800619a3
mov rsi, rbx
cmp word [rax], bp
je 0x180061962
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18006194c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180061948
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.180055e8c
mov rdi, rax
test rax, rax
je 0x180061990
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1800e0c00
mov rbp, rdi
xor ecx, ecx
call fcn.180055e50
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 0x180065dac
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.1800576f4
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 0x180065e4d
cmp ebx, dword [rsp + 0x30]
je 0x180065e46
test esi, esi
je 0x180065e46
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180065e21
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180065e2e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180065e0b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180065e32
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180065e4f
mov eax, 1
jmp 0x180065e4f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180069400
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.18005bea0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18005bea0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180069550
cmp rax, 0xffffffffffffffff
je 0x180069550
xor edi, edi
test rbp, rbp
jle 0x1800694fb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180059548
mov rbx, rax
test rax, rax
jne 0x180069488
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800694f1
mov edx, 0x8000
mov ecx, r14d
call fcn.180069284
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.18005d41c
cmp eax, 0xffffffff
je 0x1800694d1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180069498
mov edx, r15d
mov ecx, r14d
call fcn.180069284
jmp 0x1800694f1
cmp byte [rsi + 0x38], dil
je 0x1800694e8
cmp dword [rsi + 0x34], 5
jne 0x1800694e8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800694f1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180055e50
jmp 0x180069564
jns 0x180069564
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18005bea0
cmp rax, 0xffffffffffffffff
jne 0x18006951c
cmp byte [rsi + 0x30], dil
je 0x180069564
mov edi, dword [rsi + 0x2c]
jmp 0x180069564
mov ecx, r14d
call fcn.18006660c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180069564
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 0x180069564
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18006955d
mov eax, dword [rsi + 0x2c]
jmp 0x180069562
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18005bea0
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 0x18006a230
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18006a258
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18006a258
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18006a490
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rcx + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x18006a4b0
lea rdx, [rbx + 1]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call fcn.1800e0c00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]

Function at 0x18006a930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov eax, 0x13c0
call fcn.18003f820
sub rsp, rax
mov rax, qword [0x180162040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, edx
mov esi, ecx
call fcn.18003dd10
mov dword [rsp + 0x24], eax
mov r9d, 1
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x18006a973
btc esi, 0x1f
mov dword [rsp + 0x20], 0x270
btc ebx, 0x1f
lea rcx, [rsp + 0x20]
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x18006a9bd
call fcn.18001ac90
mov ecx, eax
jmp 0x18006aa06
mov qword [rsp + 0x13d0], rdi
inc ebx
call fcn.18001ac90
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x18006a9fa
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x18006a9fa
lea rcx, [rsp + 0x20]
call fcn.18001ac90
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x18006a9e6
mov rdi, qword [rsp + 0x13d0]
shr rcx, 0x20
lea eax, [rcx + rsi]
xor eax, 0x80000000
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.18003eb20
mov rbx, qword [rsp + 0x13d8]
add rsp, 0x13c0
pop rsi
ret
Function at 0x18006d9d0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
lea rdx, [0x1800f5900]
call fcn.18008d510
mov rbx, rax
test rax, rax
je 0x18006db4c
mov qword [rsp + 0x30], rsi
mov rcx, rax
mov qword [rsp + 0x38], rdi
call fcn.18004a150
mov esi, eax
cmp eax, 0xffffffff
je 0x18006db3a
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.18004aa9c
test eax, eax
jne 0x18006db3a
mov rcx, rbx
call fcn.18004a150
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18006db3a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18004aa9c
test eax, eax
jne 0x18006db3a
cmp rdi, 0xffffffffffffffff
je 0x18006db3a
mov rcx, rdi
call fcn.180085fe0
mov rsi, rax
test rax, rax
je 0x18006db3a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18004b824
mov rcx, rbx
cmp rax, rdi
je 0x18006daa1
call fcn.18004a794
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.180085f50
call fcn.18004a794
test rdi, rdi
je 0x18006dab6
mov rdx, rdi
mov rcx, rsi
call fcn.18006d780
mov r8, qword [0x180181128]
test r8, r8
je 0x18006db23
movsx rdx, word [r8 + 0x5460]
lea rcx, [r8 + 0x5464]
mov r9d, dword [r8 + 0x4010]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18006db18
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5460], cx
movsx rax, cx
lea rcx, [r8 + 0x5464]
lea rcx, [rcx + rax*8]
xor eax, eax
mov dword [rcx], r9d
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x545c]
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.18004b5b0
mov rcx, rbx
call fcn.18004a794
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x18006db60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180181128]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18006dbc3
mov qword [rsp], rbx
lea rbx, [0x1800f5e50]
nop dword [rax]
cmp r9b, 0x23
jne 0x18006dba3
cmp byte [r8], r9b
jne 0x18006dba3
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 0x18006db90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52e0]
not eax
mov r8, qword [r10 + 0x52e8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18006dbef
cmp dword [r8 + 8], eax
je 0x18006dbf6
add r8, 0x48
cmp r8, rcx
jne 0x18006dbe0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1800744b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180162040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180181128]
mov edi, ecx
cmp byte [rbx + 0x4e1d], 0
jne 0x180074511
cmp byte [rbx + 0x4e1e], 0
jne 0x180074511
movsx r9d, word [rbx + 0x5218]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18008d9f0
test dil, 2
je 0x18007464f
jmp 0x1800745ab
movss xmm0, dword [rbx + 0x3a08]
mov eax, dword [rbx + 0x4ae8]
movaps xmm1, xmm0
mulss xmm1, dword [0x180148ff4]
mulss xmm0, dword [0x180148fdc]
addss xmm1, dword [rbx + 0xe0]
addss xmm0, dword [rbx + 0xe4]
test al, 1
jne 0x18007456c
xor ecx, ecx
movss dword [rbx + 0x4af8], xmm1
mov qword [rbx + 0x4b00], rcx
or eax, 1
movss dword [rbx + 0x4afc], xmm0
mov dword [rbx + 0x4aec], 1
movss xmm0, dword [rbx + 0x3a70]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x180148ee0]
lea rcx, [rsp + 0x20]
movsx r9d, word [rbx + 0x5218]
or eax, 0x40
mov edx, 0x10
mov dword [rbx + 0x4ae8], eax
movss dword [rbx + 0x4b48], xmm0
call fcn.18008d9f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180074600
lea r11, [0x1800f5e50]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1800745e3
cmp byte [r8], r9b
jne 0x1800745e3
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 0x1800745d0
not ecx
call fcn.180081470
test rax, rax
je 0x18007464f
cmp byte [rax + 0xca], 0
je 0x18007464f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5218]
movsx r9d, word [rbx + 0x5218]
call fcn.18008d9f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18007b820
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003eb20
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret