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

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x14004a96f
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x14004a7e0
mov eax, ntohs
jmp 0x14004a80e
cmp rdi, 0x44
jb 0x14004a7ed
mov eax, 7
jmp 0x14004a80e
cmp rdi, 0x27
jb 0x14004a7fa
mov eax, 5
jmp 0x14004a80e
cmp rdi, 7
jb 0x14004a807
mov eax, 3
jmp 0x14004a80e
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x14004a827
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x14004a8df
mov qword [rsp + 0x38], r12
nop dword [rax + rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea r12, [rsi + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x14004a89d
mov rax, rbx
jmp 0x14004a8b2
cmp rcx, rbx
ja 0x14004a8af
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x14004a8b2
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [r12], r8d
cmp rcx, r15
jb 0x14004a850
mov r12, qword [rsp + 0x38]
add r15, rdi
cmp rcx, r15
jae 0x14004a95b
inc r14
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x14004a8f1
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400503e0
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 0x1400504ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400504ac
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 0x1400504c5
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 0x14005049c
cmp byte [rax], 0x5c
jne 0x140050496
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140050496
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140050482
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140050493
test r8b, 0x10
jne 0x140050496
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140050496
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140049e80
test edi, edi
jne 0x140050400
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.140049e70
int3

Function at 0x140053448
Capabilities:
Parse pe header

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

Function at 0x140053690
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 0x1400536ca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400536cf
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 0x140053718
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140053718
dec r8
sub rdx, 1
jne 0x1400536fe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140053998
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140053730
mov ebx, eax
test eax, eax
jne 0x1400539c8
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140053a2b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140053a22
test al, 0x10
je 0x140053a22
bt eax, 0xa
jae 0x140053a1b
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140053a3c
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140053a17
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140053a17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140053a22
and dword [rsp + 0x3c], 0
jmp 0x140053a27
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14280b678
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14280b682
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14280b6ab
pop rbp
sub rbp, 0x33
sub rbp, 0x280b678
sub rsp, 0x20
jmp 0x14280b6ca
mov rax, 0x280b678
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff8261e858
xor byte [rax], dl
inc rax
dec rcx
jne 0x14280b6e9
jmp 0x14280b700
adc cl, dl
mov cl, 0xd3
shl dword [rax + rbx*2 + 0x58], 1
pop rax
adc cl, bl
cdq
push rax
pop rcx
pop rax
pop rax
adc byte [rcx - 0x4f], bl
adc byte [rdi + 0x58585f98], bl
pop rax
adc byte [rdi + 0x5858709a], bl
pop rax
adc byte [rdi - 0x66a6ef46], ch
rcr ecx, cl
push rsp
pop rax
pop rax
pop rax
adc byte [rcx - 0x50], bl
or byte [rax], cl
adc al, ah
adc byte [rax + 0x35], bl
pop rax
pop rax
pop rax
pop rax
pop rcx
mov al, 8
or byte [rax], dl
loopne 0x14280b745
pop rax
xor eax, 0x58585858
pop rax
adc cl, ah
jne 0x14280b72e
pop r10
pop rax
pop rax
pop rax
pop rax
adc byte [rcx - 0x4f], bl
adc dl, ah
cmpsd dword [rsi], dword [rdi]
fsubr dword [rdi + 0x5858585c]
pop rax
mov al, 0x5d
pop rax
pop rax
pop rax
mov cl, 0x4e
pop rax
pop rax
pop rax
cdq
mov al, 0x5a
imul ecx, dword [rcx + 0x10], 0x585c99d9
pop rax
pop rax
adc byte [rdi - 0x4922a870], ah
cmpsd dword [rsi], dword [rdi]
cmpsd dword [rsi], dword [rdi]
cmpsd dword [rsi], dword [rdi]
wait
add byte [rdx], al
or cl, byte [rax]
adc al, ah
adc byte [rax + 0x35], bl
pop rax
pop rax
pop rax
pop rax
pop rax
adc cl, ah
jne 0x14280b773
pop r10
pop rax
pop rax
pop rax
pop rax
adc byte [rcx - 0x4f], bl
mov al, 0x5d
pop rax
pop rax
pop rax
mov cl, 0xd5
pop rdx
pop rax
pop rax
or dh, byte [rax + 0x58585825]
add cl, byte [rdi]
adc cl, dl
invalid
Function at 0x1400010b0
Capabilities:
Create device object
Print debug messages

Disassembly:
push rbx
sub rsp, 0x60
and qword [rsp + 0x70], 0
lea rax, [0x140001090]
mov qword [rcx + 0x70], rax
lea rdx, [0x1400013c0]
lea rax, [0x140001090]
mov rbx, rcx
mov qword [rcx + 0x80], rax
xorps xmm0, xmm0
lea rax, section..text
xorps xmm1, xmm1
mov qword [rcx + 0xe0], rax
lea rax, [0x1400011b0]
mov qword [rcx + 0x68], rax
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm1
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x70]
mov r9d, 0x22
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jns 0x140001154
lea rcx, [0x1400013e0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x1400011a1
lea rdx, [0x1400012d0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
test eax, eax
jns 0x140001193
lea rcx, [0x140001400]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x14000114d
lea rcx, [0x140001420]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
add rsp, 0x60
pop rbx
ret

Function at 0x1400011f4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x28], 0
lea r9, [rbp - 0x40]
and dword [rbp - 0x18], 0
lea r8, [rbp - 0x30]
and qword [rbp - 0x20], 0
xorps xmm0, xmm0
and qword [rbp - 0x38], 0
mov edx, 0x1fffff
movsxd rbx, ecx
lea rcx, [rbp + 0x18]
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x30], 0x30
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov edi, eax
mov edx, ebx
test eax, eax
js 0x140001274
lea rcx, [0x140001320]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp + 0x18]
mov edx, edi
call qword [sym.imp.ntoskrnl.exe_ZwTerminateProcess]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, 1
jmp 0x140001282
lea rcx, [0x140001340]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14002e660
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002e66d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002e67d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002e665
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002e695
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002e682
sub eax, 3
jb 0x14002e6af
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002e6e6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002e6d6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002e6d4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002e6c3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002e622
jmp 0x14002e66d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1e00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14002e732
cmp rsi, rcx
jae 0x14002e73a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002e719
cmp al, 0x8f
ja 0x14002e719
cmp byte [rsi - 2], 0xf
je 0x14002e71f
sub al, 0xe8
cmp al, 1
ja 0x14002e703
cmp rsi, rcx
jae 0x14002e73a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002e709
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002e73a
lodsb al, byte [rsi]
jmp 0x14002e719
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2c000]
mov eax, dword [rdi]
or eax, eax
je 0x14002e797
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2e000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14002e747
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14002e791
mov qword [rbx], rax
add rbx, 8
jmp 0x14002e767
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14002e7d1
cmp al, 0xef
ja 0x14002e7c3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14002e7a3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14002e7b2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14002e850], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14002e850
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14002e840
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x140001160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x2d0
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x68
mov rbx, rcx
xor eax, eax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0xa4], eax
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor ebp, ebp
cmp word [rsp + 0x82], 8
mov edi, ebp
mov qword [rsp + 0x30], rbp
jb 0x140001356
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140001356
add rax, 4
je 0x140001206
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov rdi, qword [rsp + 0x30]
jmp 0x140001216
call fcn.140008610
mov dword [rax], 0x16
call fcn.140005dbc
xor edx, edx
lea rcx, [rsp + 0xb0]
mov r8d, 0x208
call fcn.140015160
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001356
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140001356
mov edx, 0x5c
mov qword [rsp + 0x2e8], rsi
lea rcx, [rsp + 0xb0]
call fcn.1400028e4
test rax, rax
je 0x14000127b
mov word [rax], bp
lea rax, [rsp + 0xb0]
mov edx, 0x104
lea r9, str.open___sLisa.mp3__type_mpegvideo_alias_mp3
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
lea rcx, [0x140022f30]
call fcn.140001030
mov ebx, eax
lea r9, str.open___sTV.mp3__type_mpegvideo_alias_mp3
lea rax, [rsp + 0xb0]
mov edx, 0x104
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [0x140022d20]
call fcn.140001030
mov esi, eax
lea r9, str._sPlaybackDone.bin
lea rax, [rsp + 0xb0]
mov edx, 0x104
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [0x140023140]
call fcn.140001030
cmp ebx, 0xffffffff
je 0x14000134e
cmp esi, 0xffffffff
je 0x14000134e
cmp eax, 0xffffffff
je 0x14000134e
mov qword [rsp + 0x28], rbp
lea r8, [0x1400010b0]
mov r9, rdi
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14000134e
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x2e8]
xor eax, eax
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140001480
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140001f78
Capabilities:
Parse pe header

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

Function at 0x140008b68
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008964
Function at 0x14000d674
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 0x14000d6a4
xor eax, eax
jmp 0x14000d767
mov rbp, rbx
cmp word [rax], si
je 0x14000d6c9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d6b0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d6ac
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.14000d594
movsxd r14, eax
test eax, eax
jne 0x14000d707
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d69d
mov rcx, r14
call fcn.14000a2f0
mov rdi, rax
test rax, rax
jne 0x14000d720
xor ecx, ecx
call fcn.14000a2b4
jmp 0x14000d6fc
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.14000d594
test eax, eax
jne 0x14000d751
mov rcx, rdi
call fcn.14000a2b4
jmp 0x14000d75b
xor ecx, ecx
call fcn.14000a2b4
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 0x1400147b0
Capabilities:
Parse pe header

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

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.140009174

Function at 0x140008e04
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x140008e2b
and qword [r8], 0
call fcn.140008f40
mov rbx, rax
test rax, rax
je 0x140008f24
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008f1b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140008f1b
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008f1b
mov rax, qword [0x14004fe70]
mov rbp, rdi
test rax, rax
je 0x140008e93
inc dword [rax + 0x3c8]
mov rdx, qword [0x14004fe80]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140008f1b
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x140008ef2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004fe70]
test rax, rax
je 0x140008ee0
dec dword [rax + 0x3c8]
mov rdx, qword [0x14004fe80]
mov rcx, rdi
call qword [0x14004e008]
jmp 0x140008f24
test r15d, r15d
jle 0x140008f05
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140008f16
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140008f26
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009174
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x14004fea4], 0
lea rsi, [0x14004fea0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x1400091db
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x1400091a9
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x1400091a1
not ebx
mov edx, ebx
test edi, edi
jle 0x1400091fd
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x1400091e3
jmp 0x140009237
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009237
mov r9b, 0x23
cmp r8b, r9b
jne 0x14000921c
cmp byte [r10], r9b
jne 0x14000921c
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14000920b
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000e46c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14004fe70]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000e4d5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000e4e0
lea rdx, [0x140040a94]
mov rcx, rbx
mov rdi, rax
call fcn.140008f40
mov rbx, rax
test rax, rax
je 0x14000e4d5
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret