joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f3c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10, rcx
mov rax, rcx
lea r11, [rcx + 0x38c]
mov rdx, rcx
mov r8d, dword [rdx]
mov ecx, dword [rdx + 4]
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
mov ecx, r8d
shr ecx, 1
xor ecx, dword [rdx + 0x634]
mov r9d, ecx
xor r9d, 0x9908b0df
and r8d, 1
cmovne ecx, r9d
add rdx, 4
mov dword [rdx - 4], ecx
cmp r11, rdx
jne 0x14002f3d0
lea r9, [r10 + 0x630]
nop word cs:[rax + rax]
mov ecx, dword [rax + 0x38c]
mov edx, dword [rax + 0x390]
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
mov edx, ecx
shr edx, 1
xor edx, dword [rax]
mov r8d, edx
xor r8d, 0x9908b0df
and ecx, 1
cmovne edx, r8d
add rax, 4
mov dword [rax + 0x388], edx
cmp r9, rax
jne 0x14002f420
mov edx, dword [r10 + 0x9bc]
mov eax, dword [r10]
mov qword [r10 + 0x9c0], 0
and eax, 0x7fffffff
and edx, 0x80000000
or edx, eax
mov eax, edx
shr eax, 1
xor eax, dword [r10 + 0x630]
mov ecx, eax
xor ecx, 0x9908b0df
and edx, 1
cmovne eax, ecx
mov dword [r10 + 0x9bc], eax
ret

Function at 0x14002f4b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x9c0]
mov rbx, rcx
cmp rax, 0x26f
ja 0x14002f508
lea rdx, [rax + 1]
mov eax, dword [rbx + rax*4]
mov qword [rbx + 0x9c0], rdx
mov edx, eax
shr edx, 0xb
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor edx, eax
mov eax, edx
shl eax, 0xf
and eax, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
call fcn.14002f3c0
mov rax, qword [rbx + 0x9c0]
jmp 0x14002f4c7

Function at 0x1400316a0
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call dbg.__main
mov rax, qword [0x140037530]
xor edx, edx
mov r9d, dword [rax]
mov rax, qword [0x140037520]
mov r8, qword [rax]
mov rax, qword [0x140037510]
mov rcx, qword [rax]
add rsp, 0x28
jmp sym.WinMain
Function at 0x140cf3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140cf31df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140cf3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cf306f
add dl, dl
jne 0x140cf3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cf30f6
xor eax, eax
add dl, dl
jne 0x140cf30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cf31ad
add dl, dl
jne 0x140cf30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cf30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cf30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cf30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140cf30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140cf307e
mov eax, 1
add dl, dl
jne 0x140cf3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cf3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cf30fb
sub eax, ebx
mov ebx, 1
jne 0x140cf314c
mov ecx, 1
add dl, dl
jne 0x140cf312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cf313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cf3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cf307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140cf3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cf3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cf315d
cmp eax, 0x7d00
jae 0x140cf319b
cmp eax, 0x500
jb 0x140cf3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cf307e
cmp eax, 0x7f
ja 0x140cf319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cf307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140cf31d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140cf307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001dce0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140047050
sub rsp, rax
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14001dda2
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.14003abdc
cmp rax, 1
jne 0x14001ddfe
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14001dd7f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14001dd73
cmp rcx, 1
jb 0x14001ddfe
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14001dd40
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14001ddd3
lea rcx, [rsp + 0x80]
call fcn.14003c11c
jmp 0x14001ddd5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.14002c1a0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14002f8d0
int3

Function at 0x14001de10
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebp, ebp
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x30], bp
lea rbx, [rsp + 0x30]
mov edi, 0x28
mov al, 0x4e
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.14003abdc
cmp rax, 1
jne 0x14001def5
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14001de9c
nop
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14001de90
cmp rcx, 1
jb 0x14001def5
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14001de60
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14002c1a0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14002f8d0
int3
Function at 0x140027140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp byte [0x1400641c6], 0
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
jne 0x1400271c3
mov edx, 3
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140063ff8], rax
mov ebx, dword [rax]
lea rdx, [rax + 4]
mov qword [0x140063ff8], rdx
mov r8d, dword [rdx]
add rdx, 4
mov qword [0x140063ff8], rdx
call fcn.1400254c0
cmp eax, ebx
jne 0x14002732d
mov byte [0x1400641c6], 1
lea rdx, [0x1400523e8]
mov rcx, rsi
call fcn.140047210
test eax, eax
je 0x14002724e
cmp byte [0x1400641c7], 1
je 0x14002724e
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140064808], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140064cc0], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140064528], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140064490], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140064d20], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x1400645b8], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140064cc8], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x140064ce0], rax
mov byte [0x1400641c7], 1
mov r8, qword [0x140063ff8]
mov rax, rsi
mov rdx, r8
sub rdx, rsi
nop
movzx ecx, byte [rax]
xor r9d, r9d
cmp cl, byte [rax + rdx]
jne 0x140027277
inc rax
test cl, cl
jne 0x140027260
mov ecx, r9d
jmp 0x14002727c
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
cmp byte [r8 + rax + 1], r9b
lea rax, [rax + 1]
jne 0x140027283
lea rdx, [r8 + rax]
mov eax, dword [r8 + rax + 1]
add rdx, 5
test ecx, ecx
je 0x1400272e8
nop
add rdx, rax
mov rax, rsi
mov r8, rdx
sub r8, rsi
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x1400272c5
inc rax
test cl, cl
jne 0x1400272b0
mov ecx, r9d
jmp 0x1400272ca
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r9b
jne 0x1400272d1
add rdx, rax
mov eax, dword [rdx + 1]
add rdx, 5
test ecx, ecx
jne 0x1400272a0
movzx ecx, word [rdx]
lea rax, [rdx + 2]
cmp r9w, cx
jae 0x140027318
mov ebx, ecx
nop word [rax + rax]
mov r8, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1400261c0
add rdi, 8
sub rbx, 1
jne 0x140027300
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rcx, str.Error__corrupted_constants_object
call fcn.14003770c
call fcn.14002f8d0
int3

Function at 0x14002cb78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002cbc2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002cbc2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002cbc2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002cbc2
cmp dword [rcx + 0x84], 0xe
jbe 0x14002cbc2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002cbc4
xor al, al
add rsp, 0x28
ret
Function at 0x14002fa2c
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 0x14002fa9b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002fa9b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002fa9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002fa9b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002fa9b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002fa9b
cmp dword [rcx + 0xf8], 0
je 0x14002fa9b
mov ecx, ebx
call fcn.14002fb4c
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.14002f928
nop
cmp dword [rbp + 0x20], 0
je 0x14002fae9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002faf4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002fa2c

Function at 0x14002fc30
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 0x14002fa9b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002fa9b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002fa9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002fa9b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002fa9b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002fa9b
cmp dword [rcx + 0xf8], 0
je 0x14002fa9b
mov ecx, ebx
call fcn.14002fb4c
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.14002f928
nop
cmp dword [rbp + 0x20], 0
je 0x14002fae9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002faf4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002fa2c
Function at 0x140040b30
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 0x140040bb7
mov rsi, rbx
cmp word [rax], bp
je 0x140040b76
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140040b60
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140040b5c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003e738
mov rdi, rax
test rax, rax
je 0x140040ba4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400476b0
mov rbp, rdi
xor ecx, ecx
call fcn.14003c788
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 0x1400432bc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400432d2
mov al, 1
jmp 0x140043332
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400432e3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140043330
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400412d4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140043330
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140043330
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140043330
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140043332
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140046f60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140046f88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140046f88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400014d0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov ecx, 0x20
call fcn.1400018a0
mov rdx, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x140003420]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [str.C:UsersdimalDownloads1.pdf]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400033c8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400033d0]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1400033d4]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov ecx, 0x40
call fcn.1400018a0
mov rcx, rax
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x140003430]
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [str.C:UsersdimalTools_for_CSDangerous_scripts_tg_sendapi.ps1]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400033e8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400033f8]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x140003408]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x140003410]
mov dword [rcx + 0x38], eax
mov byte [rcx + 0x3c], 0
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r8, qword [rsp + 0x30]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rsp + 0x50]
call fcn.1400011c0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001628
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001622
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001622
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400018dc
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001668
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001663
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001663
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400018dc
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001880
add rsp, 0x88
ret

Function at 0x140002200
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000224a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000224a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000224a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000224a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000224a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000224c
xor al, al
add rsp, 0x28
ret
Function at 0x140005ec0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140005f1d
lea rbx, [0x1400c0df0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005f04
cmp r10, 2
jb 0x140005f04
cmp byte [r9], r8b
jne 0x140005f04
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140005ee0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140005f5f
lea rbx, [0x1400c0df0]
cmp r8b, 0x23
jne 0x140005f43
cmp byte [r9], r8b
jne 0x140005f43
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140005f30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400060a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400060ba
mov qword [r8], 0
lea rdx, [0x1400c098c]
call fcn.140005f70
mov rbx, rax
test rax, rax
jne 0x1400060da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400061b3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400061b3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400061b3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400061b3
cmp rdi, 0xffffffffffffffff
je 0x1400061b3
mov rax, qword [0x1400d49d8]
test rax, rax
je 0x140006150
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400061b3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400061a0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d49d8]
test rax, rax
je 0x140006195
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400061bc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400061ae
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400061be
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400094a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x1400c0df0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400d49d8]
not ebx
cmp dword [rcx + 0x3ef8], ebx
jne 0x140009535
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001c2d0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140015db0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400d4040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400d49d8]
mov edi, ecx
cmp byte [rbx + 0x4a3d], 0
jne 0x140015e11
cmp byte [rbx + 0x4a3e], 0
jne 0x140015e11
movsx r9d, word [rbx + 0x5b3a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140005d80
test dil, 1
je 0x140015f38
jmp 0x140015e9c
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b3a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400c5a3c]
mov edx, 0x10
mulss xmm1, dword [0x1400c5a1c]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47a0], rax
mov dword [rbx + 0x478c], 1
movss dword [rbx + 0x4798], xmm0
movss dword [rbx + 0x479c], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x1400c5974]
or dword [rbx + 0x4788], 0x41
movss dword [rbx + 0x47e8], xmm0
call fcn.140005d80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015ef0
lea r11, [0x1400c0df0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015ed3
cmp byte [r8], r9b
jne 0x140015ed3
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 0x140015ec0
not ecx
call fcn.14000d060
test rax, rax
je 0x140015f38
cmp byte [rax + 0xae], 0
je 0x140015f38
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b3a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b3a]
call fcn.140005d80
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f7b0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003d970
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001ad50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c20], 0
lea rbx, [rcx + 0x5c28]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001adf7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001adaa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ce10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400066f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c20]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c30]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400d49d0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001adff
mov rcx, rbx
call fcn.1400066f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b150
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400d49d8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b1b3
mov qword [rsp], rbx
lea rbx, [0x1400c0df0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b193
cmp byte [r8], r9b
jne 0x14001b193
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 0x14001b180
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b98]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001b1e7
mov r10, qword [r10 + 0x5ba0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001b1ee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001b1d4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret