joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018a28
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 0x140018a58
xor eax, eax
jmp 0x140018b1b
mov rbp, rbx
cmp word [rax], si
je 0x140018a7d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140018a64
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140018a60
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.140017028
movsxd r14, eax
test eax, eax
jne 0x140018abb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140018a51
mov rcx, r14
call fcn.1400151dc
mov rdi, rax
test rax, rax
jne 0x140018ad4
xor ecx, ecx
call fcn.140011c3c
jmp 0x140018ab0
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.140017028
test eax, eax
jne 0x140018b05
mov rcx, rdi
call fcn.140011c3c
jmp 0x140018b0f
xor ecx, ecx
call fcn.140011c3c
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 0x14001b7e4
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.140011864
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 0x14001b885
cmp ebx, dword [rsp + 0x30]
je 0x14001b87e
test esi, esi
je 0x14001b87e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001b859
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001b866
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001b843
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001b86a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14001b887
mov eax, 1
jmp 0x14001b887
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001cfd4
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.14000d8d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001d05e
cmp byte [rbp - 0x21], r15b
je 0x14001d059
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001d094
call fcn.140011f40
test eax, eax
jne 0x14001d080
cmp byte [rbp - 0x21], r15b
je 0x14001d078
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001d094
cmp byte [rbp - 0x21], r15b
je 0x14001d091
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.14000da10
test eax, eax
jne 0x14001d134
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000d8d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001d0d3
cmp byte [rbp - 0x21], r15b
je 0x14001d108
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001d108
call fcn.140011f40
test eax, eax
jne 0x14001d0f4
cmp byte [rbp - 0x21], r15b
je 0x14001d0ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001d108
cmp byte [rbp - 0x21], r15b
je 0x14001d105
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.14000da10
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001d134
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001d137
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001d145
mov rcx, rdi
call fcn.140011c3c
cmp byte [rbp + 0x3f], r15b
je 0x14001d154
mov rcx, qword [rbp + 0x27]
call fcn.140011c3c
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 0x14001e8c0
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rcx
movsxd rcx, dword [rcx + 0x10]
add rcx, qword [rax + 8]
mov edx, dword [rax]
jmp fcn.18003d1b8

Function at 0x180031eb4
Capabilities:
Hash data with crc32

Disassembly:
xor eax, eax
mov r8, rcx
mov rdx, rcx
test rcx, rcx
je 0x180031ede
mov ecx, eax
mov r9d, 0x7fffffff
cmp byte [rdx], al
je 0x180031edc
inc ecx
inc rdx
cmp ecx, r9d
jl 0x180031ec9
mov eax, r9d
jmp 0x180031ede
mov eax, ecx
mov edx, eax
mov rcx, r8
jmp fcn.18003d1b8
Function at 0x18003d1b8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x420
or ebx, 0xffffffff
movsxd rsi, edx
xor edi, edi
mov rbp, rcx
cmp byte [0x180063198], dil
jne 0x18003d2a3
mov edx, 0x5256636a
mov ecx, 0xf3823a1e
call fcn.180036eb0
test rax, rax
je 0x18003d249
mov ecx, 0x400
call fcn.18002f8c4
mov r8, rax
mov qword [0x180063190], rax
mov edx, edi
mov ecx, edx
mov r9d, 8
test cl, 1
je 0x18003d228
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x18003d22a
shr ecx, 1
sub r9, 1
jne 0x18003d219
mov dword [rax], ecx
inc edx
add rax, 4
cmp edx, 0x100
jl 0x18003d211
mov byte [0x180063198], 1
jmp 0x18003d2aa
mov ecx, edi
lea rdx, [rsp + 0x20]
mov eax, ecx
mov r8d, 8
test al, 1
je 0x18003d265
shr eax, 1
xor eax, 0xedb88320
jmp 0x18003d267
shr eax, 1
sub r8, 1
jne 0x18003d258
mov dword [rdx], eax
inc ecx
add rdx, 4
cmp ecx, 0x100
jl 0x18003d250
test rsi, rsi
jle 0x18003d2ce
movzx ecx, byte [rdi + rbp]
mov eax, ebx
xor rcx, rax
inc rdi
movzx eax, cl
mov ecx, ebx
shr ecx, 8
mov ebx, dword [rsp + rax*4 + 0x20]
xor ebx, ecx
cmp rdi, rsi
jl 0x18003d282
jmp 0x18003d2ce
mov r8, qword [0x180063190]
test rsi, rsi
jle 0x18003d2ce
movzx ecx, byte [rdi + rbp]
mov eax, ebx
xor rcx, rax
inc rdi
movzx eax, cl
mov ecx, ebx
shr ecx, 8
mov ebx, dword [r8 + rax*4]
xor ebx, ecx
cmp rdi, rsi
jl 0x18003d2af
lea r11, [rsp + 0x420]
not ebx
mov rbp, qword [r11 + 0x18]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18003db68
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test rcx, rcx
je 0x18003dceb
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 r13
push r15
sub rsp, 0x220
movsxd rbp, r9d
mov r15, r8
mov edi, edx
mov rsi, rcx
test edx, edx
je 0x18003dcca
test r8, r8
je 0x18003dcca
test r9d, r9d
je 0x18003dcca
mov rbx, qword [rax + 0x28]
test rbx, rbx
jne 0x18003dbcd
cmp qword [rsp + 0x268], rbx
je 0x18003dcca
call fcn.18003d1b8
cmp eax, 0xd2490422
je 0x18003dbe5
cmp eax, 0x7598502c
je 0x18003dbe5
mov r13b, 1
jmp 0x18003dbe8
xor r13b, r13b
xor r8d, r8d
mov r10d, 0x100
xor r9d, r9d
mov eax, r8d
mov byte [rsp + r9 + 0x20], r8b
cdq
inc r8d
idiv edi
movsxd rax, edx
mov cl, byte [rax + rsi]
mov byte [rsp + r9 + 0x120], cl
inc r9
cmp r8d, r10d
jl 0x18003dbf4
xor r9d, r9d
xor r8d, r8d
movzx edx, byte [rsp + r8 + 0x20]
movzx ecx, byte [rsp + r8 + 0x120]
add ecx, r9d
add ecx, edx
movzx r9d, cl
mov al, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
inc r8
mov byte [rsp + r9 + 0x20], dl
sub r10, 1
jne 0x18003dc1e
xor r12d, r12d
lea edi, [r10 + 1]
test ebp, ebp
jle 0x18003dcca
sub r15, rbx
mov rsi, rbx
neg rsi
mov cl, byte [r15 + rbx]
movzx edi, dil
movzx r8d, byte [rsp + rdi + 0x20]
lea eax, [r12 + r8]
movzx r12d, al
mov al, byte [rsp + r12 + 0x20]
mov byte [rsp + rdi + 0x20], al
mov byte [rsp + r12 + 0x20], r8b
test r13b, r13b
je 0x18003dc9a
movzx edx, byte [rsp + rdi + 0x20]
add rdx, r8
movzx eax, dl
xor cl, byte [rsp + rax + 0x20]
cmp qword [rsp + 0x268], 0
je 0x18003dcba
mov rdx, qword [rsp + 0x270]
call qword [rsp + 0x268]
test al, al
jne 0x18003dcca
jmp 0x18003dcbc
mov byte [rbx], cl
inc rbx
inc edi
lea rax, [rsi + rbx]
cmp rax, rbp
jl 0x18003dc62
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
ret
Function at 0x140159377
Capabilities:
Encode data using xor

Disassembly:
rol word [rsp + 0x12], 0x46
lea r8, [rsp + r8 + 0x18]
mov byte [r8], dil
call fcn.14015174b
push rbx
sal r10b, 1
movzx ebx, r10b
lea r10, [0x14016d538]
movzx ebx, byte [r9]
push 0x4728d483
xor ebx, eax
push 0xffffffffae8ca3b7
and ebx, 0xff
mov ebx, dword [r10 + rbx*4]
shr eax, 8
xor eax, ebx
shl qword [rsp + 8], 0xbd
inc r9
inc qword [rsp + 7]
xor eax, 0x68910992
dec rsi
push 0x648f5a9e
lea rsp, [rsp + 0x18]
jne 0x140159399
pop rbx
jmp 0x14015ae14

Function at 0x14015da8d
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x71b20e2d
movsx r11d, si
lea rsi, [0x140157248]
push 0xffffffffe5213925
movzx r11d, byte [rax]
xor r11d, r8d
and r11d, 0xff
neg qword [rsp]
mov r11d, dword [rsi + r11*4]
shr r8d, 8
xor r8d, r11d
inc rax
xor r8d, 0x7b0196bc
dec rdx
lea rsp, [rsp + 8]
jne 0x14012c9b9
mov esi, 0x9680e4b8
jmp 0x1401507d2
pop rsi
push 0x54384909
push 0xffffffffe48095bc
jmp 0x1401681a5
add r10, 0xc
xor r8d, r8d
push 0xffffffffc4946d2c
test rdx, rdx
push 0xfffffffff1a28e86
lea rsp, [rsp + 0x18]
je 0x1401507d3
push rsi
jmp 0x14012c9a9
not r8d
call fcn.1401544c8
call fcn.140142ec7
mov eax, 0xf3be6116
xor rax, 0x2117c635
sbb rdi, 1
call fcn.14012f20a
Function at 0x14000ca48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
push rdx
call fcn.14005762b
test rax, rax
je 0x14000ca92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ca92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ca92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ca92
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ca92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000ca94
xor al, al
add rsp, 0x28
ret

Function at 0x14001a83c
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov ebx, ecx
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
lea rdx, str.mscoree.dll
xor ecx, ecx
push rbp
call fcn.140080406
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14001a899
lea rdx, str.CorExitProcess
call fcn.140124c09
jl 0x14001a8c6
test eax, eax
je 0x14001a894
movabs r10, 0xa201879b5e5a7b70
mov ecx, ebx
call qword [0x14002c450]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001a8a5
push rax
call fcn.1400712d0
nop
add rsp, 0x30
pop rbx
ret

Function at 0x14001a920
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001a71c

Function at 0x1400203f0
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov eax, 0xdeac
cmp ecx, eax
ja 0x140020448
je 0x14002043f
mov eax, 0xc433
cmp ecx, eax
ja 0x140020423
je 0x14002043f
mov eax, ecx
sub eax, 0x2a
je 0x14002043f
sub eax, 0xc402
je 0x14002043f
sub eax, 1
je 0x14002043f
sub eax, 1
je 0x14002043f
cmp eax, 3
jmp 0x14002043d
mov eax, ecx
sub eax, 0xc435
je 0x14002043f
sub eax, 0x1263
je 0x14002047b
sub eax, 0x812
je 0x14002043f
cmp eax, 1
jne 0x140020441
xor edx, edx
call fcn.1400db3b8
jle 0x1400203d4
mov eax, ecx
sub eax, 0xdead
je 0x14002043f
shr dword [0x14002e2fd], 0x74
out dx, al
sub eax, 1
je 0x14002043f
sub eax, 1
je 0x14002043f
sub eax, 1
je 0x14002043f
sub eax, 1
je 0x14002043f
sub eax, 1
je 0x14002043f
sub eax, 1
je 0x14002043f
sub eax, 0x1f35
je 0x14002043f
cmp eax, 1
jne 0x140020441
and edx, 8
jmp 0x140020441

Function at 0x14002ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002040
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 0x13c8
call fcn.140056c00
sub rsp, rax
mov esi, r9d
mov edi, r8d
mov ebx, edx
mov ebp, ecx
mov rax, qword [0x140071c00]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov eax, dword [0x140071d60]
mov ecx, dword [0x140078928]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000223d
mov r15, qword [rsp + 0x1420]
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x13bc], 0xffffffff
mov dword [rsp + 0x3c], eax
mov ecx, 3
nop word [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add rax, rcx
add rax, 0xfffffffffffffffe
mov dword [rsp + rcx*4 + 0x34], eax
cmp rcx, 0x271
je 0x1400020fc
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
dec eax
mov dword [rsp + rcx*4 + 0x38], eax
add rcx, 2
jmp 0x1400020c0
mov dword [rsp + 0x38], 0x270
lea rcx, [rsp + 0x38]
call fcn.140002540
call sub.MSVCP140.dll__Query_perf_frequency
mov r14, rax
call sub.MSVCP140.dll__Query_perf_counter
mov rcx, rax
cmp r14, 0x989680
jne 0x14000218b
imul rax, rcx, 0x64
movabs rcx, 0x7fffffffff67697f
cmp rax, rcx
cmovl rcx, rax
add rcx, 0x989680
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call fcn.140003280
mov qword [rsp + 0x20], r15
mov ecx, ebp
mov edx, ebx
mov r8d, edi
mov r9d, esi
call qword [0x140071d58]
mov esi, eax
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140056c60
mov eax, esi
add rsp, 0x13c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp r14, 0x16e3600
jne 0x1400021f2
movabs r9, 0xb2f4fc0794908cf3
mov rax, rcx
imul r9
mov r8, rdx
add r8, rcx
mov rax, r8
shr rax, 0x3f
sar r8, 0x18
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, rcx
imul r9
mov rax, rdx
imul rdx, r8, 0x3b9aca00
add rax, rcx
mov rcx, rax
shr rcx, 0x3f
sar rax, 0x18
add rax, rcx
add rax, rdx
jmp 0x14000212b
mov rax, rcx
or rax, r14
shr rax, 0x20
je 0x140002208
mov rax, rcx
cqo
idiv r14
jmp 0x14000220f
mov eax, ecx
xor edx, edx
div r14d
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, r14
or rdx, rax
shr rdx, 0x20
je 0x140002230
cqo
idiv r14
jmp 0x140002235
xor edx, edx
div r14d
add rax, rcx
jmp 0x14000212b
lea rcx, [0x140071d60]
call fcn.140056b04
cmp dword [0x140071d60], 0xffffffff
jne 0x140002096
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.mouse_event
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140071d58], rax
lea rcx, [0x140071d60]
call fcn.140056b7c
jmp 0x140002096
Function at 0x140006bc0
Capabilities:
Hash data with crc32

Disassembly:
not r8d
test rdx, rdx
je 0x140006c1e
dec rdx
add rcx, 2
lea r9, [0x140059570]
mov r10d, r8d
jmp 0x140006c01
movzx r11d, al
mov eax, r10d
shr eax, 8
movzx r10d, r10b
xor r10d, r11d
xor eax, dword [r9 + r10*4]
inc rcx
mov r10d, eax
add rdx, 0xffffffffffffffff
jae 0x140006c77
movzx eax, byte [rcx - 2]
cmp rdx, 2
jb 0x140006be0
cmp al, 0x23
jne 0x140006be0
cmp byte [rcx - 1], 0x23
jne 0x140006be0
cmp byte [rcx], 0x23
cmove r10d, r8d
jmp 0x140006be0
movzx edx, byte [rcx]
test dl, dl
je 0x140006c7a
add rcx, 2
lea r9, [0x140059570]
mov r10d, r8d
jmp 0x140006c5f
movzx r11d, al
mov eax, r10d
shr eax, 8
movzx r10d, r10b
xor r10d, r11d
xor eax, dword [r9 + r10*4]
inc rcx
mov r10d, eax
test dl, dl
je 0x140006c77
mov eax, edx
movzx edx, byte [rcx - 1]
cmp al, 0x23
jne 0x140006c40
cmp dl, 0x23
jne 0x140006c40
cmp byte [rcx], 0x23
cmove r10d, r8d
jmp 0x140006c40
not eax
ret
mov eax, r8d
not eax
ret
Function at 0x140007130
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov ebp, r9d
mov rdi, r8
test r8, r8
je 0x140007150
mov qword [rdi], 0
call fcn.140006c80
test rax, rax
je 0x14000718b
mov rbx, rax
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
cmp eax, 0xffffffff
je 0x140007182
mov esi, eax
mov rcx, rbx
xor edx, edx
mov r8d, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x14000719f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
cmp eax, 0xffffffff
je 0x140007182
mov r14d, eax
xor r15d, r15d
mov rcx, rbx
mov edx, esi
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
neg eax
sbb r15d, r15d
or r15d, r14d
cmp r15d, 0xffffffff
je 0x140007182
movsxd r14, r15d
movsxd r15, ebp
lea r12, [r14 + r15]
mov rdx, qword [0x140071dc0]
mov rcx, r12
call qword [0x14006d288]
mov rsi, rax
mov rax, qword [0x140071db0]
test rax, rax
je 0x14000728b
mov ecx, dword [rax + 0x3f58]
movsx rdx, word [rax + 0x60f0]
cmp dword [rax + rdx*8 + 0x60f4], ecx
jne 0x140007220
lea rdx, [rax + rdx*8]
add rdx, 0x60f4
jmp 0x14000726d
inc edx
movsxd rdx, edx
imul r8, rdx, 0x2aaaaaab
mov r9, r8
shr r9, 0x3f
shr r8, 0x20
add r8d, r9d
add r8d, r8d
lea r8d, [r8 + r8*2]
sub edx, r8d
mov word [rax + 0x60f0], dx
movsxd r8, edx
lea rdx, [rax + r8*8]
add rdx, 0x60f4
mov dword [rax + r8*8 + 0x60f4], ecx
mov dword [rax + r8*8 + 0x60f8], 0
cmp r12, 0xffffffffffffffff
je 0x14000727f
add rax, 0x60e8
inc word [rdx + 4]
jmp 0x140007289
inc word [rdx + 6]
add rax, 0x60ec
inc dword [rax]
test rsi, rsi
je 0x140007182
mov edx, 1
mov rcx, rsi
mov r8, r14
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, r14
jne 0x1400072db
test ebp, ebp
jle 0x1400072c1
mov rcx, rsi
add rcx, r14
xor edx, edx
mov r8, r15
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000718d
mov qword [rdi], r14
jmp 0x14000718d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140071db0]
test rax, rax
je 0x140007365
mov ecx, dword [rax + 0x3f58]
movsx rdx, word [rax + 0x60f0]
cmp dword [rax + rdx*8 + 0x60f4], ecx
jne 0x140007313
movzx ecx, word [rax + rdx*8 + 0x60fa]
inc ecx
jmp 0x140007357
inc edx
movsxd rdx, edx
imul r8, rdx, 0x2aaaaaab
mov r9, r8
shr r9, 0x3f
shr r8, 0x20
add r8d, r9d
add r8d, r8d
lea r8d, [r8 + r8*2]
sub edx, r8d
mov word [rax + 0x60f0], dx
movsxd rdx, edx
mov dword [rax + rdx*8 + 0x60f4], ecx
mov dword [rax + rdx*8 + 0x60f8], 0
mov cx, 1
mov word [rax + rdx*8 + 0x60fa], cx
inc dword [rax + 0x60ec]
mov rdx, qword [0x140071dc0]
mov rcx, rsi
call qword [0x14006d290]
jmp 0x14000718b
Function at 0x14000d560
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword [0x140071c00]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, qword [0x140071db0]
mov dword [rdi + 0x5f6c], 0
test rcx, rcx
je 0x14000d64b
mov rsi, rcx
lea rbx, [rdi + 0x5f70]
mov rcx, rbx
xor edx, edx
call fcn.140007ad0
mov byte [rsp + 0x27], 0
lea rdx, [rsp + 0x27]
mov rcx, rbx
call fcn.140024910
movsxd rax, dword [rdi + 0x5f80]
test rax, rax
je 0x14000d5f7
mov r14, qword [rdi + 0x5f88]
shl rax, 3
lea r15, [rax + rax*8]
nop word cs:[rax + rax]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call qword [r14 + 0x38]
add r14, 0x48
add r15, 0xffffffffffffffb8
jne 0x14000d5e0
mov ebx, dword [rdi + 0x5f70]
mov rdi, qword [rdi + 0x5f78]
lea rdx, [0x1400639c8]
mov rcx, rsi
call fcn.140006c80
test rax, rax
je 0x14000d64b
mov rsi, rax
test rdi, rdi
lea rcx, [0x140071db8]
cmovne rcx, rdi
xor eax, eax
sub ebx, 1
cmovb ebx, eax
movsxd r8, ebx
mov edx, 1
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140056c60
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000e860
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r9, r8
mov r8, rdx
mov rax, qword [rcx + 0x108]
movsxd rdx, dword [rcx + 0x100]
mov eax, dword [rax + rdx*4 - 4]
not eax
test r9, r9
je 0x14000e8ed
mov rdx, r9
sub rdx, r8
je 0x14000e8ed
mov rdx, r8
not rdx
add rdx, r9
lea r10, [r8 + 2]
lea r11, [0x140059570]
mov edi, eax
jmp 0x14000e8cd
movzx ebx, bl
mov esi, edi
shr esi, 8
movzx edi, dil
xor edi, ebx
xor esi, dword [r11 + rdi*4]
inc r10
mov edi, esi
add rdx, 0xffffffffffffffff
jae 0x14000e947
movzx ebx, byte [r10 - 2]
cmp rdx, 2
jb 0x14000e8b0
cmp bl, 0x23
jne 0x14000e8b0
cmp byte [r10 - 1], 0x23
jne 0x14000e8b0
cmp byte [r10], 0x23
cmove edi, eax
jmp 0x14000e8b0
movzx edx, byte [r8]
test dl, dl
je 0x14000e945
lea r10, [r8 + 2]
lea r11, [0x140059570]
mov edi, eax
jmp 0x14000e92b
movzx ebx, bl
mov esi, edi
shr esi, 8
movzx edi, dil
xor edi, ebx
xor esi, dword [r11 + rdi*4]
inc r10
mov edi, esi
test dl, dl
je 0x14000e947
mov ebx, edx
movzx edx, byte [r10 - 1]
cmp bl, 0x23
jne 0x14000e910
cmp dl, 0x23
jne 0x14000e910
cmp byte [r10], 0x23
cmove edi, eax
jmp 0x14000e910
mov esi, eax
not esi
mov rax, qword [rcx]
cmp dword [rax + 0x404c], esi
jne 0x14000e960
mov ecx, esi
mov edx, 0xb
call fcn.14000f6c0
mov eax, esi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140021060
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov r8, rcx
mov rax, qword [0x140071c00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x140071db0]
mov rsi, qword [rax + 0x4000]
mov rax, qword [rsi + 0x108]
movsxd rcx, dword [rsi + 0x100]
mov edi, dword [rax + rcx*4 - 4]
movzx eax, byte [r8]
test al, al
je 0x1400210fa
not edi
lea rcx, [r8 + 2]
lea rdx, [0x140059570]
mov r9d, edi
jmp 0x1400210da
movzx r10d, r10b
movzx r11d, r9b
shr r9d, 8
xor r11d, r10d
xor r9d, dword [rdx + r11*4]
inc rcx
test al, al
je 0x1400210f4
mov r10d, eax
movzx eax, byte [rcx - 1]
cmp r10b, 0x23
jne 0x1400210c0
cmp al, 0x23
jne 0x1400210c0
cmp byte [rcx], 0x23
cmove r9d, edi
jmp 0x1400210c0
not r9d
mov edi, r9d
mov rax, qword [rsi]
add rsi, 0x100
cmp dword [rax + 0x404c], edi
jne 0x14002111b
mov ecx, edi
mov edx, 0xb
xor r9d, r9d
call fcn.14000f6c0
mov dword [rsp + 0x2c], edi
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call fcn.140008060
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140056c60
nop
add rsp, 0x38
pop rdi
pop rsi
ret