joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800180b4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18000a380
sub rsp, rax
mov rax, qword [0x1800360c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180016534
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180018103
mov rax, rbp
jmp 0x18001820b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x382e0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180017cf0
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x382e0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180018207
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180018207
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180017cf0
test rax, rax
js 0x180018207
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180018207
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800181f9
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800181f9
cmp byte [rcx], 0xd
jne 0x1800181df
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800181ee
cmp byte [rcx + 1], 0xa
jne 0x1800181ee
inc rcx
jmp 0x1800181ee
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x364f0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800181c1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18001820b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180009b10
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180018488
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800382e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800184df
cmp word [rdx], r13w
jne 0x1800184df
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800184e4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180018609
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18001862a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18001851d
mov rdx, r9
mov word [rbx], cx
jmp 0x180018544
cmp r9, r8
jae 0x180018554
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800184fe
jmp 0x180018609
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800185fe
cmp dword [rsp + 0x80], esi
je 0x1800185fe
lea r8, [0x1800382e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800185d6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800185a6
mov word [rbx], r13w
jmp 0x180018606
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800185b3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180018606
cmp word [rsp + 0x70], r13w
jne 0x1800185e3
cmp rbx, r14
je 0x1800185a0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180017cf8
cmp word [rsp + 0x70], r13w
je 0x180018609
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800382e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180018603
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180018609
Function at 0x18001d79c
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 0x18001d7cc
xor eax, eax
jmp 0x18001d88f
mov rbp, rbx
cmp word [rax], si
je 0x18001d7f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001d7d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001d7d4
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.18001be84
movsxd r14, eax
test eax, eax
jne 0x18001d82f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001d7c5
mov rcx, r14
call fcn.180019c98
mov rdi, rax
test rax, rax
jne 0x18001d848
xor ecx, ecx
call fcn.18001455c
jmp 0x18001d824
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.18001be84
test eax, eax
jne 0x18001d879
mov rcx, rdi
call fcn.18001455c
jmp 0x18001d883
xor ecx, ecx
call fcn.18001455c
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 0x1800200e0
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.180014954
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 0x180020181
cmp ebx, dword [rsp + 0x30]
je 0x18002017a
test esi, esi
je 0x18002017a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180020155
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180020162
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18002013f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180020166
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180020183
mov eax, 1
jmp 0x180020183
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180022ea4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180017cf8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180017cf8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180022ff4
cmp rax, 0xffffffffffffffff
je 0x180022ff4
xor edi, edi
test rbp, rbp
jle 0x180022f9f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800179cc
mov rbx, rax
test rax, rax
jne 0x180022f2c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180022f95
mov edx, 0x8000
mov ecx, r14d
call fcn.180022d28
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800176c4
cmp eax, 0xffffffff
je 0x180022f75
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180022f3c
mov edx, r15d
mov ecx, r14d
call fcn.180022d28
jmp 0x180022f95
cmp byte [rsi + 0x38], dil
je 0x180022f8c
cmp dword [rsi + 0x34], 5
jne 0x180022f8c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180022f95
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18001455c
jmp 0x180023008
jns 0x180023008
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180017cf8
cmp rax, 0xffffffffffffffff
jne 0x180022fc0
cmp byte [rsi + 0x30], dil
je 0x180023008
mov edi, dword [rsi + 0x2c]
jmp 0x180023008
mov ecx, r14d
call fcn.180020940
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180023008
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180023008
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180023001
mov eax, dword [rsi + 0x2c]
jmp 0x180023006
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180017cf8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1800033d0
Capabilities:
Log keystrokes

Disassembly:
sub rsp, 0x28
cmp byte [0x18006b568], 0
je 0x18000348b
mov edx, dword [0x18006b570]
mov ecx, dword [0x18006b56c]
call fcn.180051200
test eax, eax
je 0x18000348b
cmp byte [0x18006b0c0], 0
jne 0x18000348b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp qword [0x18006bde0], rax
jne 0x18000348b
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, 0x20
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x18006be94], 1
call fcn.180006890
movss dword [0x18006be90], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rdx, qword [0x18006beb8]
add rdx, 0x10
cmp rdx, rax
ja 0x18000348b
xor edx, edx
mov qword [0x18006beb8], rax
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
xor r9d, r9d
mov r8d, 2
mov edx, eax
mov cl, 0x20
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x18006be94], 0
add rsp, 0x28
ret
Function at 0x180004520
Capabilities:
Log keystrokes

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x18006b57c], 0
je 0x180004637
mov edx, dword [0x18006b584]
mov ecx, dword [0x18006b580]
call fcn.180051200
test eax, eax
je 0x180004637
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x18006bec0]
add rcx, 0xfa
cmp rcx, rax
ja 0x180004637
mov qword [rsp + 0x40], rdi
mov qword [0x18006bec0], rax
call fcn.18000aa10
mov rdi, rax
test rax, rax
je 0x180004632
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
call fcn.18000a500
test rax, rax
je 0x1800045c8
mov edx, 0x16
mov rcx, rax
call fcn.180007570
mov rbx, rax
test rax, rax
je 0x1800045c8
cmp dword [rax + 0x18], 0
jne 0x1800045eb
call fcn.18000a500
test rax, rax
jne 0x1800045d6
xor ebx, ebx
jmp 0x1800045e6
mov edx, 2
mov rcx, rax
call fcn.180007570
mov rbx, rax
test rbx, rbx
je 0x180004628
cmp dword [rbx + 0x18], 0
je 0x180004628
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.180005180
test eax, eax
jne 0x180004619
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.180005180
test eax, eax
je 0x180004628
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800067b0
jmp 0x18000462d
call fcn.180005470
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
cmp byte [0x18006be94], 0
je 0x180004699
cmp byte [0x18006b0c0], 0
jne 0x180004699
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp qword [0x18006bde0], rax
jne 0x180004699
call fcn.180006890
subss xmm0, dword [0x18006be90]
movss xmm1, dword [0x180062aa0]
comiss xmm1, xmm0
ja 0x180004699
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
xor r9d, r9d
mov r8d, 2
mov edx, eax
mov cl, 0x20
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x18006be94], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x18006bed0]
add rcx, 0xfa
cmp rcx, rax
ja 0x1800046c6
movss xmm0, dword [0x180062a80]
mov qword [0x18006bed0], rax
call fcn.180006a40
cmp byte [0x18006b0d9], 0
je 0x1800046fa
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x18006bec8]
add rcx, 0xf0
cmp rcx, rax
ja 0x1800046fa
mov ecx, dword [0x18006b0dc]
mov qword [0x18006bec8], rax
call fcn.1800072f0
call fcn.180007ac0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180058ca0
add rsp, 0x48
ret

Function at 0x1800057b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
lea rcx, str.Pipsi_ZZZ.cfg
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180005830
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, 0x5cc
lea rdx, [0x18006b0c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180058ca0
add rsp, 0x50
pop rbx
ret
Function at 0x180005850
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
lea rcx, str.Pipsi_ZZZ.cfg
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1800058df
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x5cc
jne 0x1800058d6
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, eax
lea rdx, [0x18006b0c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180058ca0
add rsp, 0x50
pop rbx
ret
Function at 0x18000a5f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x78
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rcx, rcx
jne 0x18000a61c
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180058ca0
add rsp, 0x78
ret
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbp
mov rbp, qword [rcx + 0x20]
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x70], rdi
xor edi, edi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
test rbp, rbp
je 0x18000a773
mov esi, edi
cmp dword [rbp + 0x18], edi
jle 0x18000a773
mov r14d, 0x20
movabs r13, 0xcbf29ce484222325
movabs r15, 0x100000001b3
movabs r12, 0x28521c26c250aa11
nop dword [rax + rax]
mov rax, qword [rbp + 0x10]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x18000a764
cmp byte [rbx + 0x29], dil
je 0x18000a764
mov rax, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rdi
mov rdx, qword [rax + 0x50]
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x18000a6d0
lea rcx, [rsp + 0x20]
call fcn.180003140
mov r11, qword [rsp + 0x38]
lea r9, [rsp + 0x20]
mov r8, qword [rsp + 0x20]
cmp r11, 0xf
mov r10, qword [rsp + 0x30]
mov rcx, r13
cmova r9, r8
mov rdx, rdi
test r10, r10
je 0x18000a72d
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor rcx, rax
imul rcx, r15
cmp rdx, r10
jb 0x18000a710
cmp rcx, r12
je 0x18000a7b9
cmp r11, 0xf
jbe 0x18000a764
lea rdx, [r11 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x18000a75c
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a7f1
mov rcx, r8
call fcn.180058d04
inc esi
add r14, 8
cmp esi, dword [rbp + 0x18]
jl 0x18000a690
mov r14, qword [rsp + 0x58]
mov rax, rdi
mov rdi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180058ca0
add rsp, 0x78
ret
cmp r11, 0xf
jbe 0x18000a7ec
lea rdx, [r11 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x18000a7e4
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a7f1
mov rcx, r8
call fcn.180058d04
mov rdi, rbx
jmp 0x18000a773
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18000b9d0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
call fcn.180057de0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1800584a0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800577a0
test eax, eax
je 0x18000ba43
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_attach_hook.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.180057ea0
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.18000ba70
mov qword [rax], rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180058ca0
add rsp, 0x40
pop rbx
ret

Function at 0x18000e380
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 0x18000e3dd
lea rbx, [0x18005bed0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000e3c4
cmp r10, 2
jb 0x18000e3c4
cmp byte [r9], r8b
jne 0x18000e3c4
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 0x18000e3a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000e41f
lea rbx, [0x18005bed0]
cmp r8b, 0x23
jne 0x18000e403
cmp byte [r9], r8b
jne 0x18000e403
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 0x18000e3f0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18000e520
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x18000e53e
mov qword [r8], r14
lea rdx, [0x180061bd0]
call fcn.18000e430
mov rbx, rax
test rax, rax
jne 0x18000e563
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18000e68f
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 0x18000e68f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000e68f
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000e68f
cmp rdi, 0xffffffffffffffff
je 0x18000e68f
mov rcx, rdi
call fcn.180011d50
mov rbp, rax
test rax, rax
je 0x18000e68f
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 0x18000e67c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x18006bdf0]
test r8, r8
je 0x18000e671
movsx rdx, word [r8 + 0x60a8]
lea rcx, [r8 + 0x60ac]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18000e666
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ac]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60a4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000e698
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18000e68a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x18000e69a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180011240
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x18005bed0]
movsxd rcx, dword [rcx + 0x100]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x108]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x1800112d4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18002aba0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800112f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x120]
lea r10, [0x18005bed0]
mov rax, qword [rcx + 0x108]
movss xmm1, dword [rcx + 0x124]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x100]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x1800190f0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180019140
lea r11, [0x18005bed0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180019123
cmp byte [r8], r9b
jne 0x180019123
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180019110
mov rcx, qword [0x18006bdf0]
not eax
movsxd rdx, dword [rcx + 0x3fe8]
mov r9, qword [rcx + 0x3ff0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x1800191a1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180019199
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18001919c
mov rdx, r8
test rdx, rdx
jne 0x180019170
cmp r9, r10
je 0x1800191b0
cmp dword [r9], eax
jne 0x1800191b0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret