joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004ae4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6d0
mov rax, qword [0x140009070]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x58], 0
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
call fcn.140002fec
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x6e0]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
mov rax, qword [rsp + 0x68]
add rax, 0xe8
mov qword [rsp + 0x78], rax
lea r9, [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x78]
call fcn.140005d3c
test eax, eax
jne 0x140004ba2
movzx eax, byte [rsp + 0x40]
cmp eax, 1
jne 0x140004ba2
lea rcx, [0x1400075b0]
call fcn.14000659c
mov eax, 0xc0000022
jmp 0x140004ced
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x48]
mov r9, qword [rax + 8]
mov rax, qword [rsp + 0x48]
mov r8, qword [rax]
mov edx, 0x200
lea rcx, [rsp + 0x2b8]
call fcn.140006344
mov dword [rsp + 0x8c], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
mov edx, 0x200
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x140004c19
jmp 0x140004cd6
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xc0000034
jne 0x140004c5d
mov dword [rsp + 0x50], 1
jmp 0x140004c65
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x8c], eax
xor r9d, r9d
mov r8, qword [rsp + 0x6e8]
mov edx, 7
lea rcx, [rsp + 0x80]
call fcn.140002e10
mov r9d, 0x3e8
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call fcn.140005240
movzx eax, al
test eax, eax
je 0x140004ccc
cmp dword [rsp + 0x54], 1
jne 0x140004ccc
mov dword [rsp + 0x58], 0xc0000022
lea rcx, [0x1400075e0]
call fcn.14000659c
xor eax, eax
test eax, eax
jne 0x140004bca
cmp qword [rsp + 0x60], 0
je 0x140004ce9
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.140006740
add rsp, 0x6d0
pop rdi
ret
Function at 0x140004d08
Capabilities:
Attach user process memory

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140009070]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x140004d90
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x140004db4
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140004daf
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x140004db4
jmp 0x140004efd
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140004dfd
jmp 0x140004eea
movzx eax, byte [rsp + 0xc0]
test eax, eax
jne 0x140004e1d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140004eea
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x140004ebd
mov byte [rsp + 0x90], 0xb8
mov byte [rsp + 0x91], 0x22
mov byte [rsp + 0x92], 0
mov byte [rsp + 0x93], 0
mov byte [rsp + 0x94], 0xc0
mov byte [rsp + 0x95], 0xc3
mov r8d, 6
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.140006900
jmp 0x140004ec5
mov rax, qword [rsp + 0x40]
mov byte [rax], 0x90
jmp 0x140004ec9
movzx eax, byte [rsp + 0xc0]
test eax, eax
jne 0x140004ee0
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor eax, eax
test eax, eax
jne 0x140004dcc
cmp qword [rsp + 0x30], 0
je 0x140004efd
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140006740
add rsp, 0xa8
ret
Function at 0x140008540
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xorps xmm0, xmm0
lea r11, [rcx + 6]
movups xmmword [rcx], xmm0
xor eax, eax
mov r9, rdx
movups xmmword [rcx + 0x10], xmm0
mov r10, rcx
sub r9, rcx
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rax
lea ebx, [rax + 7]
mov dword [rcx], r8d
nop dword [rax]
imul ecx, r8d, 0xbc8f
movzx eax, r8b
xor al, byte [r9 + r11 - 6]
mov byte [r11 - 2], al
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 - 5]
mov byte [r11 - 1], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
imul ecx, r8d, 0xbc8f
movzx eax, r8b
xor al, byte [r9 + r11 - 4]
mov byte [r11], al
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 - 3]
mov byte [r11 + 1], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
imul ecx, r8d, 0xbc8f
movzx eax, r8b
xor al, byte [r9 + r11 - 2]
mov byte [r11 + 2], al
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 - 1]
mov byte [r11 + 3], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
movzx eax, r8b
xor al, byte [r11 + r9]
mov byte [r11 + 4], al
imul r8d, r8d, 0xbc8f
lea r11, [r11 + 7]
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
sub rbx, 1
jne 0x140008570
mov rbx, qword [rsp + 8]
mov rax, r10
ret
Function at 0x140008ae0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140042040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edx, 0xea60
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x140008b4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_:__d__n
call fcn.140001080
mov ecx, 1
call fcn.140018708
int3
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, edi
cmp eax, 0xea60
jb 0x140008b42
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x40], 2
jae 0x140008b94
mov ecx, 1
call fcn.140018708
int3
call fcn.140001bc0
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140009bd4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140009bc0
ret
Function at 0x14000e2c0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000e38c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000e38c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000e3a5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000e37c
cmp byte [rax], 0x5c
jne 0x14000e376
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14000e376
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000e362
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14000e373
test r8b, 0x10
jne 0x14000e376
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14000e376
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000ad10
test edi, edi
jne 0x14000e2e0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000ad00
int3

Function at 0x140012840
Capabilities:
Parse pe header

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

Function at 0x140018708
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 0x140018573
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140018573
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140018573
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140018573
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140018573
cmp dword [rcx + 0x84], 0xe
jbe 0x140018573
cmp dword [rcx + 0xf8], 0
je 0x140018573
mov ecx, ebx
call fcn.140018624
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.140018400
nop
cmp dword [rbp + 0x20], 0
je 0x1400185c1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400185cc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140018504
Function at 0x140025e84
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 0x140025eb4
xor eax, eax
jmp 0x140025f77
mov rbp, rbx
cmp word [rax], si
je 0x140025ed9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140025ec0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140025ebc
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.140024484
movsxd r14, eax
test eax, eax
jne 0x140025f17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140025ead
mov rcx, r14
call fcn.140020e70
mov rdi, rax
test rax, rax
jne 0x140025f30
xor ecx, ecx
call fcn.14001fcb8
jmp 0x140025f0c
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.140024484
test eax, eax
jne 0x140025f61
mov rcx, rdi
call fcn.14001fcb8
jmp 0x140025f6b
xor ecx, ecx
call fcn.14001fcb8
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 0x140028bdc
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.1400225f0
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 0x140028c7d
cmp ebx, dword [rsp + 0x30]
je 0x140028c76
test esi, esi
je 0x140028c76
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140028c51
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140028c5e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140028c3b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140028c62
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140028c7f
mov eax, 1
jmp 0x140028c7f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002b9b8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002b9ce
mov al, 1
jmp 0x14002ba2e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002b9df
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002ba2c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140026688
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002ba2c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002ba2c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002ba2c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002ba2e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14002cc44
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001bd08
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002ccce
cmp byte [rbp - 0x21], r15b
je 0x14002ccc9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002cd04
call fcn.14001ffbc
test eax, eax
jne 0x14002ccf0
cmp byte [rbp - 0x21], r15b
je 0x14002cce8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002cd04
cmp byte [rbp - 0x21], r15b
je 0x14002cd01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001c32c
test eax, eax
jne 0x14002cda4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001bd08
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002cd43
cmp byte [rbp - 0x21], r15b
je 0x14002cd78
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002cd78
call fcn.14001ffbc
test eax, eax
jne 0x14002cd64
cmp byte [rbp - 0x21], r15b
je 0x14002cd5d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002cd78
cmp byte [rbp - 0x21], r15b
je 0x14002cd75
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001c32c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002cda4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002cda7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002cdb5
mov rcx, rdi
call fcn.14001fcb8
cmp byte [rbp + 0x3f], r15b
je 0x14002cdc4
mov rcx, qword [rbp + 0x27]
call fcn.14001fcb8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14002ef90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002efb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002efb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005990
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 0x1400059ed
lea rbx, [0x14004db60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400059d4
cmp r10, 2
jb 0x1400059d4
cmp byte [r9], r8b
jne 0x1400059d4
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 0x1400059b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140005a2f
lea rbx, [0x14004db60]
cmp r8b, 0x23
jne 0x140005a13
cmp byte [r9], r8b
jne 0x140005a13
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 0x140005a00
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140005b70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140005b8a
mov qword [r8], 0
lea rdx, [0x1400528a4]
call fcn.140005a40
mov rbx, rax
test rax, rax
jne 0x140005baa
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 0x140005c83
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 0x140005c83
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140005c83
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 0x140005c83
cmp rdi, 0xffffffffffffffff
je 0x140005c83
mov rax, qword [0x140085740]
test rax, rax
je 0x140005c20
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140005c83
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 0x140005c70
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140085740]
test rax, rax
je 0x140005c65
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140005c8c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140005c7e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140005c8e
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 0x140007fd0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x14004db60]
movsxd rcx, dword [rcx + 0xd0]
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 [0x140085740]
not ebx
cmp dword [rcx + 0x3f0c], ebx
jne 0x140008065
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140019ec0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140014580
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005d040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140085740]
mov edi, ecx
cmp byte [rbx + 0x427d], 0
jne 0x1400145e1
cmp byte [rbx + 0x427e], 0
jne 0x1400145e1
movsx r9d, word [rbx + 0x5362]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140005850
test dil, 1
je 0x140014708
jmp 0x14001466c
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5362]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140053ae8]
mov edx, 0x10
mulss xmm1, dword [0x140053acc]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3ff8], rax
mov dword [rbx + 0x3fe4], 1
movss dword [rbx + 0x3ff0], xmm0
movss dword [rbx + 0x3ff4], xmm1
movss xmm0, dword [rbx + 0x3918]
mulss xmm0, dword [0x1400539a4]
or dword [rbx + 0x3fe0], 0x41
movss dword [rbx + 0x4040], xmm0
call fcn.140005850
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400146c0
lea r11, [0x14004db60]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400146a3
cmp byte [r8], r9b
jne 0x1400146a3
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 0x140014690
not ecx
call fcn.14000d100
test rax, rax
je 0x140014708
cmp byte [rax + 0x96], 0
je 0x140014708
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5362]
mov edx, 0x10
movsx r9d, word [rbx + 0x5362]
call fcn.140005850
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f8c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004a180
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140018a60
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 + 0x5410], 0
lea rbx, [rcx + 0x5418]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018b03
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x140018ab6
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14001aa60
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140006090
mov eax, dword [rbx]
lea rcx, [0x140085750]
mov r9, qword [rdi + 0x5410]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x5420]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140018b0b
mov rcx, rbx
call fcn.140006090
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret