joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3254
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.14007b8c8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a32de
cmp byte [rbp - 0x21], r15b
je 0x1400a32d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400a3314
call fcn.1400957b0
test eax, eax
jne 0x1400a3300
cmp byte [rbp - 0x21], r15b
je 0x1400a32f8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400a3314
cmp byte [rbp - 0x21], r15b
je 0x1400a3311
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.1400825b8
test eax, eax
jne 0x1400a33b4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14007b8c8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a3353
cmp byte [rbp - 0x21], r15b
je 0x1400a3388
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a3388
call fcn.1400957b0
test eax, eax
jne 0x1400a3374
cmp byte [rbp - 0x21], r15b
je 0x1400a336d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a3388
cmp byte [rbp - 0x21], r15b
je 0x1400a3385
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.1400825b8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a33b4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a33b7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a33c5
mov rcx, rdi
call fcn.140095454
cmp byte [rbp + 0x3f], r15b
je 0x1400a33d4
mov rcx, qword [rbp + 0x27]
call fcn.140095454
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 0x1400a4a60
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180002f38
xor eax, eax
lea r8, [0x180002e20]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180004ca0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
sub rsp, 0x98
cmp byte [0x18013edae], 0
je 0x180004f55
mov qword [rax + 8], rbx
mov ecx, 0x20
mov qword [rax + 0x18], rsi
mov qword [rax - 8], rdi
movaps xmmword [rax - 0x18], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edi, edi
movabs rsi, 0xd80958fc74e988a6
xorps xmm6, xmm6
test ax, ax
je 0x180004d56
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rsi
call fcn.180032480
movss xmm0, dword [0x1800d7568]
xorps xmm3, xmm3
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x68], 1
mov edx, dword [rax]
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm6
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm6
call fcn.180024de0
movabs rax, 0xd24d37cc275948cc
mov dword [0x1801194d8], edi
mov qword [0x180141108], rax
lea rax, str.GADGET_PARACHUTE
mov qword [0x1801195a0], rax
mov dword [0x1801194c8], 1
call fcn.180032480
mov qword [0x180141108], rsi
mov ebx, dword [rax]
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
call fcn.180032480
mov edx, ebx
mov ecx, dword [rax]
call fcn.180024950
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rsi
call fcn.180032480
mov qword [rsp + 0xa8], rdi
mov ecx, dword [rax]
movabs rax, 0x886e37ec497200b6
mov dword [rsp + 0xa8], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0xa8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov dword [0x1801194c8], 1
call fcn.180032480
mov rbx, qword [rsp + 0xa0]
cmp dword [rax], edi
je 0x180004f3d
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rsi
call fcn.180032480
mov qword [rsp + 0xa8], rdi
mov ecx, dword [rax]
movabs rax, 0x47e4e977581c5b55
mov dword [rsp + 0xa8], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0xa8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov dword [0x1801194c8], 1
call fcn.180032480
cmp dword [rax], edi
jne 0x180004f3d
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180004ebe
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rsi
call fcn.180032480
movss xmm1, dword [0x1800d73d0]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180020e00
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180004f00
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rsi
call fcn.180032480
movss xmm2, dword [0x1800d74b8]
xorps xmm3, xmm3
movss xmm1, dword [0x1800d73d0]
mov ecx, dword [rax]
call fcn.180020e00
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180004f3d
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rsi
call fcn.180032480
movss xmm1, dword [0x1800d74b8]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180020e00
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x180008a70
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0xa8
cmp byte [0x18013ed90], 0
je 0x180008cbf
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180008cbf
mov qword [rsp + 0xb0], rbx
movabs rbx, 0xd80958fc74e988a6
mov qword [rsp + 0xa0], rdi
xor edi, edi
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rbx
call fcn.180032480
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x997abd671d25ca0b
mov dword [rsp + 0xb8], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb8], rdi
mov qword [0x1801195a0], rax
mov dword [rsp + 0xb8], 1
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], edi
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], edi
je 0x180008caf
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rbx
call fcn.180032480
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0xb8], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov qword [0x1801195a8], rdi
mov dword [0x1801194c8], 2
call fcn.180032480
mov qword [rsp + 0xb8], rdi
mov ebx, dword [rax]
movabs rax, 0x866a4a5fae349510
mov qword [0x180141108], rax
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov dword [0x1801194c8], 1
call fcn.180032480
mov qword [rsp + 0xb8], rdi
xorps xmm6, xmm6
mov dword [rsp + 0xb8], ebx
movss xmm7, dword [rax]
movabs rax, 0x8bb4ef4214e0e6d5
mov qword [0x180141108], rax
addss xmm7, xmm6
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov dword [0x1801194c8], 1
call fcn.180032480
movss xmm0, dword [0x1800d74ec]
mov edx, ebx
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x68], 1
movss xmm3, dword [rax]
mov dword [rsp + 0x58], 1
addss xmm3, xmm6
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm6
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm7
call fcn.180024de0
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa0]
add rsp, 0xa8
ret
Function at 0x1800097a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x18013ed87], 0
je 0x180009910
mov ecx, 0xa0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
movabs rcx, 0xd80958fc74e988a6
mov qword [0x180141108], rcx
mov dword [0x1801194c8], ebx
mov dword [0x1801194d8], ebx
test ax, ax
je 0x180009875
call fcn.180032480
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], ebx
mov qword [0x1801195a8], rbx
mov dword [0x1801194c8], 2
call fcn.180032480
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x38], 1
mov qword [0x1801195a0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1801195a8], rax
jmp 0x1800098ed
call fcn.180032480
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], ebx
mov qword [0x1801195a8], rbx
mov dword [0x1801194c8], 2
call fcn.180032480
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1801195a0], rax
mov qword [0x1801195a8], rbx
mov dword [0x1801194d8], ebx
mov dword [0x1801194c8], 2
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.180032480
add rsp, 0x28
ret
Function at 0x18000d880
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0xa8
cmp byte [0x18013ed60], 0
je 0x18000db5b
mov ecx, 0x75
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18000db5b
movabs rax, 0x1bede233e6cd2a1f
mov qword [rsp + 0xb0], rbx
mov qword [0x180141108], rax
mov qword [rsp + 0xa0], rdi
xor edi, edi
mov qword [rsp + 0xb8], rdi
mov dword [rsp + 0xb8], 8
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov dword [0x1801194c8], 1
call fcn.180032480
mov qword [rsp + 0xb8], rdi
mov ebx, dword [rax]
movabs rax, 0xa6db27d19ecbb7da
mov qword [0x180141108], rax
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov dword [0x1801194c8], 1
call fcn.180032480
cmp dword [rax], edi
je 0x18000db4b
movaps xmmword [rsp + 0x90], xmm6
movabs rax, 0x586afe3ff72d996e
movaps xmmword [rsp + 0x80], xmm7
mov qword [rsp + 0xb8], rdi
mov qword [0x180141108], rax
movaps xmmword [rsp + 0x70], xmm8
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a0], rax
movaps xmmword [rsp + 0x60], xmm9
mov dword [0x1801194d8], edi
mov dword [0x1801194c8], 1
call fcn.180032480
movabs rbx, 0xd80958fc74e988a6
mov qword [0x180141108], rbx
movups xmm7, xmmword [rax]
movsd xmm9, qword [rax + 0x10]
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
call fcn.180032480
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x997abd671d25ca0b
mov dword [rsp + 0xb8], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov qword [0x1801195a8], rdi
mov dword [0x1801194c8], 2
call fcn.180032480
movss xmm6, dword [0x1800d76ec]
movaps xmm8, xmm7
shufps xmm8, xmm7, 0xaa
cmp dword [rax], edi
je 0x18000daeb
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rbx
call fcn.180032480
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0xb8], ecx
mov qword [0x180141108], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], edi
mov qword [0x1801195a8], rdi
mov dword [0x1801194c8], 2
call fcn.180032480
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rbx
call fcn.180032480
movaps xmm0, xmm9
movaps xmm3, xmm8
movaps xmm2, xmm7
addss xmm0, xmm6
addss xmm3, xmm6
movabs rcx, 0x9afeff481a85ab2e
mov edx, dword [rax]
addss xmm2, xmm6
movss dword [rsp + 0x20], xmm0
call fcn.180025ad0
mov dword [0x1801194c8], edi
mov dword [0x1801194d8], edi
mov qword [0x180141108], rbx
call fcn.180032480
addss xmm9, xmm6
mov dword [rsp + 0x38], 1
addss xmm8, xmm6
mov dword [rsp + 0x30], edi
addss xmm7, xmm6
mov ecx, dword [rax]
movaps xmm3, xmm9
movaps xmm2, xmm8
movaps xmm1, xmm7
call fcn.1800252b0
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa0]
add rsp, 0xa8
ret
Function at 0x1800212c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xc50
mov rax, qword [0x1800ff3c0]
xor rax, rsp
mov qword [rsp + 0xc40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x440]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x1a
xor ebp, ebp
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x180021402
mov qword [rsp + 0xc68], rbx
lea rdx, [rsp + 0x440]
mov r8d, 0x3ff
mov qword [rsp + 0xc70], rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
cmp qword [0x180141380], 0xf
lea rcx, [0x180141368]
cmova rcx, qword [0x180141368]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xorps xmm0, xmm0
lea rsi, [0x18013e4b0]
mov rbx, rax
lea r8, [0x1800b68e0]
xor eax, eax
mov edx, 0x45
mov rcx, rsi
mov dword [0x18013e4f0], eax
mov byte [0x18013e4f4], al
movups xmmword [0x18013e4b0], xmm0
movups xmmword [0x18013e4c0], xmm0
movups xmmword [0x18013e4d0], xmm0
movups xmmword [0x18013e4e0], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x40]
mov edx, 0x45
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8, rbx
mov edx, 0x45
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rbx, qword [rsp + 0xc68]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rbp
inc r8
cmp byte [rsi + r8], bpl
jne 0x1800213e4
mov rdx, rsi
mov rcx, rdi
call fcn.1800245a0
mov rsi, qword [rsp + 0xc70]
jmp 0x180021417
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bpl
mov rax, rdi
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.1800a9300
mov rbp, qword [rsp + 0xc78]
add rsp, 0xc50
pop rdi
ret
Function at 0x1800289a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
lea rdx, [0x1800c11ec]
lea rcx, [rsp + 0xa0]
call fcn.1800246b0
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.1800212c0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180029380
nop
lea r8, [0x18011cda8]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180022410
nop
lea rcx, [rsp + 0x60]
call fcn.1800030f0
nop
lea rcx, [rsp + 0x80]
call fcn.1800030f0
nop
lea rcx, [rsp + 0xa0]
call fcn.1800030f0
lea rcx, [rsp + 0x40]
call fcn.180023720
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.1800293a0
nop
lea rcx, [rsp + 0x20]
call fcn.18002b4e0
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.18002b2a0
test bl, bl
je 0x180028a76
lea rcx, [rsp + 0x40]
call fcn.180023720
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.18002b860
lea rcx, str.Cleaning_up_hooks
call fcn.18002c3d0
call fcn.180028bc0
mov rsi, rax
call fcn.180028bd0
mov rbx, rax
cmp rax, rsi
je 0x180028adf
nop dword [rax]
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.1800a5c60
test eax, eax
jne 0x180028abd
lea rcx, str.Successfully_disabled_hooks
call fcn.18002c3d0
jmp 0x180028ad6
mov ecx, eax
call fcn.1800a5e40
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_disable_hookS__p___s_
call fcn.18002c3d0
add rbx, 8
cmp rbx, rsi
jne 0x180028aa0
mov dword [rsp + 0xd0], 0x32
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.180003220
mov rcx, rax
call fcn.180003230
call fcn.180028bc0
mov rsi, rax
call fcn.180028bd0
mov rbx, rax
cmp rax, rsi
je 0x180028b6b
nop dword [rax]
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.1800a5b50
test eax, eax
jne 0x180028b49
lea rcx, str.Successfully_Cleaning_up_hooks
call fcn.18002c3d0
lea rcx, str.modzz_Successfully_____unloaded.
call fcn.18002c3d0
jmp 0x180028b62
mov ecx, eax
call fcn.1800a5e40
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_unhook__p___s_
call fcn.18002c3d0
add rbx, 8
cmp rbx, rsi
jne 0x180028b20
mov dword [rsp + 0xd0], 0x190
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.180003220
mov rcx, rax
call fcn.180003230
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov rcx, qword [0x18013ee78]
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x180029910
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180029941
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180141418]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180141428]
lea rdx, [rdi + rdi]
call fcn.180001dd0
mov rax, qword [0x180141418]
lea r9, [rdi - 1]
mov qword [0x180141440], r9
mov qword [0x180141448], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180029ae2
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x180141428]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180029a2c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180029aa3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180029a69
mov r10, qword [rdx]
cmp r10, rax
je 0x180029a63
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180029aa3
cmp r9, rdx
je 0x180029a7f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180029ab7
cmp r9, rdx
jne 0x180029a70
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x180029add
mov r9, qword [0x180141440]
jmp 0x1800299b1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180029aa3
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18002cb90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18002cbb8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18002cbde
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18002cbe0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18002cc39
test ecx, ecx
jle 0x18002cc19
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18002cc39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18002cc39
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x18002cc60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18002cc91
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x18002ccaf
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18002cccb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18002cccd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18002cd09
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18002cd9e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18002cd44
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18002cd7e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18002cd9e
cmp rbx, rax
ja 0x18002cd50
test rbx, rbx
je 0x18002cd9e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret