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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1800790ee
call fcn.18006a3f0
mov dword [rax], 0x16
call fcn.18006d0c4
jmp 0x18007920d
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18007920d
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x18007920d
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18007911d
lock or dword [rcx + 0x14], 0x10
jmp 0x18007920d
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x180079131
call fcn.18007b19c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1800756ec
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.18007b6b4
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1800791fb
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1800791c6
mov rcx, rsi
call fcn.1800756ec
cmp eax, edi
je 0x1800791b1
mov rcx, rsi
call fcn.1800756ec
cmp eax, 0xfffffffe
je 0x1800791b1
mov rcx, rsi
call fcn.1800756ec
movsxd rbx, eax
lea r14, [0x1800b37a0]
mov rcx, rsi
sar rbx, 6
call fcn.1800756ec
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1800791b8
lea rdx, [0x1800b1400]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800791c6
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1800791ea
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1800791ea
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1800791ea
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x180079210
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x18007b208
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1800b37a0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x18007b266
cmp word [rdx], r12w
jne 0x18007b266
or byte [rax + r8*8 + 0x38], cl
jmp 0x18007b26c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x18007b3c7
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x18007b3a2
lea r9, [rcx + 2]
cmp ax, r13w
je 0x18007b2a5
mov rcx, r9
jmp 0x18007b2c8
cmp r9, rdx
jae 0x18007b2df
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x18007b289
jmp 0x18007b3c7
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18007b39c
cmp dword [rsp + 0x80], edi
je 0x18007b39c
mov rdx, r14
lea r11, [0x1800b37a0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x18007b375
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x18007b348
mov word [rbx], r12w
jmp 0x18007b3c3
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x18007b351
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x18007b3c3
cmp word [rsp + 0x70], r12w
jne 0x18007b382
cmp rbx, rsi
je 0x18007b342
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.18007be94
cmp word [rsp + 0x70], r12w
je 0x18007b3c7
mov word [rbx], r13w
jmp 0x18007b3c3
lea r11, [0x1800b37a0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x18007b3bf
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x18007b3c7
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18007f918
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 0x18007f948
xor eax, eax
jmp 0x18007fa0b
mov rbp, rbx
cmp word [rax], si
je 0x18007f96d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18007f954
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18007f950
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.18007e09c
movsxd r14, eax
test eax, eax
jne 0x18007f9ab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18007f941
mov rcx, r14
call fcn.180079f40
mov rdi, rax
test rax, rax
jne 0x18007f9c4
xor ecx, ecx
call fcn.180078c3c
jmp 0x18007f9a0
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.18007e09c
test eax, eax
jne 0x18007f9f5
mov rcx, rdi
call fcn.180078c3c
jmp 0x18007f9ff
xor ecx, ecx
call fcn.180078c3c
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 0x180086db0
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.18007be94
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18007be94
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180086f00
cmp rax, 0xffffffffffffffff
je 0x180086f00
xor edi, edi
test rbp, rbp
jle 0x180086eab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180079228
mov rbx, rax
test rax, rax
jne 0x180086e38
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180086ea1
mov edx, 0x8000
mov ecx, r14d
call fcn.180086c38
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.1800786cc
cmp eax, 0xffffffff
je 0x180086e81
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180086e48
mov edx, r15d
mov ecx, r14d
call fcn.180086c38
jmp 0x180086ea1
cmp byte [rsi + 0x38], dil
je 0x180086e98
cmp dword [rsi + 0x34], 5
jne 0x180086e98
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180086ea1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180078c3c
jmp 0x180086f14
jns 0x180086f14
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18007be94
cmp rax, 0xffffffffffffffff
jne 0x180086ecc
cmp byte [rsi + 0x30], dil
je 0x180086f14
mov edi, dword [rsi + 0x2c]
jmp 0x180086f14
mov ecx, r14d
call fcn.1800800d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180086f14
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 0x180086f14
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180086f0d
mov eax, dword [rsi + 0x2c]
jmp 0x180086f12
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18007be94
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 0x180087600
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800030b8
xor eax, eax
lea r8, [0x180002fa0]
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 0x1800094a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0xa8
cmp byte [0x1801a1071], 0
je 0x1800096ef
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800096ef
mov qword [rsp + 0xb0], rbx
movabs rbx, 0xd80958fc74e988a6
mov qword [rsp + 0xa0], rdi
xor edi, edi
mov dword [0x18013f698], edi
mov dword [0x18013f6a8], edi
mov qword [0x1801a37d0], rbx
call fcn.180036450
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x997abd671d25ca0b
mov dword [rsp + 0xb8], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb8], rdi
mov qword [0x18013f770], rax
mov dword [rsp + 0xb8], 1
mov rax, qword [rsp + 0xb8]
mov qword [0x18013f778], rax
mov dword [0x18013f6a8], edi
mov dword [0x18013f698], 2
call fcn.180036450
cmp dword [rax], edi
je 0x1800096df
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
mov dword [0x18013f698], edi
mov dword [0x18013f6a8], edi
mov qword [0x1801a37d0], rbx
call fcn.180036450
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0xb8], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], edi
mov qword [0x18013f778], rdi
mov dword [0x18013f698], 2
call fcn.180036450
mov qword [rsp + 0xb8], rdi
mov ebx, dword [rax]
movabs rax, 0x866a4a5fae349510
mov qword [0x1801a37d0], rax
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], edi
mov dword [0x18013f698], 1
call fcn.180036450
mov qword [rsp + 0xb8], rdi
xorps xmm6, xmm6
mov dword [rsp + 0xb8], ebx
movss xmm7, dword [rax]
movabs rax, 0x8bb4ef4214e0e6d5
mov qword [0x1801a37d0], rax
addss xmm7, xmm6
mov rax, qword [rsp + 0xb8]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], edi
mov dword [0x18013f698], 1
call fcn.180036450
movss xmm0, dword [0x1800f60a0]
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.180028560
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 0x18000a1c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1801a1068], 0
je 0x18000a327
mov ecx, 0xa0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
movabs rcx, 0xd80958fc74e988a6
mov qword [0x1801a37d0], rcx
mov dword [0x18013f698], ebx
mov dword [0x18013f6a8], ebx
test ax, ax
je 0x18000a295
call fcn.180036450
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], ebx
mov qword [0x18013f778], rbx
mov dword [0x18013f698], 2
call fcn.180036450
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x38], 1
mov qword [0x18013f770], rax
mov rax, qword [rsp + 0x38]
mov qword [0x18013f778], rax
jmp 0x18000a30d
call fcn.180036450
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], ebx
mov qword [0x18013f778], rbx
mov dword [0x18013f698], 2
call fcn.180036450
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x18013f770], rax
mov qword [0x18013f778], rbx
mov dword [0x18013f6a8], ebx
mov dword [0x18013f698], 2
call fcn.180036450
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18000ea00
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0xa8
cmp byte [0x1801a1039], 0
je 0x18000ecdb
mov ecx, 0x75
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18000ecdb
movabs rax, 0x1bede233e6cd2a1f
mov qword [rsp + 0xb0], rbx
mov qword [0x1801a37d0], 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 [0x18013f770], rax
mov dword [0x18013f6a8], edi
mov dword [0x18013f698], 1
call fcn.180036450
mov qword [rsp + 0xb8], rdi
mov ebx, dword [rax]
movabs rax, 0xa6db27d19ecbb7da
mov qword [0x1801a37d0], rax
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], edi
mov dword [0x18013f698], 1
call fcn.180036450
cmp dword [rax], edi
je 0x18000eccb
movaps xmmword [rsp + 0x90], xmm6
movabs rax, 0x586afe3ff72d996e
movaps xmmword [rsp + 0x80], xmm7
mov qword [rsp + 0xb8], rdi
mov qword [0x1801a37d0], rax
movaps xmmword [rsp + 0x70], xmm8
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x18013f770], rax
movaps xmmword [rsp + 0x60], xmm9
mov dword [0x18013f6a8], edi
mov dword [0x18013f698], 1
call fcn.180036450
movabs rbx, 0xd80958fc74e988a6
mov qword [0x1801a37d0], rbx
movups xmm7, xmmword [rax]
movsd xmm9, qword [rax + 0x10]
mov dword [0x18013f698], edi
mov dword [0x18013f6a8], edi
call fcn.180036450
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x997abd671d25ca0b
mov dword [rsp + 0xb8], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], edi
mov qword [0x18013f778], rdi
mov dword [0x18013f698], 2
call fcn.180036450
movss xmm6, dword [0x1800f63bc]
movaps xmm8, xmm7
shufps xmm8, xmm7, 0xaa
cmp dword [rax], edi
je 0x18000ec6b
mov dword [0x18013f698], edi
mov dword [0x18013f6a8], edi
mov qword [0x1801a37d0], rbx
call fcn.180036450
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0xb8], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], edi
mov qword [0x18013f778], rdi
mov dword [0x18013f698], 2
call fcn.180036450
mov dword [0x18013f698], edi
mov dword [0x18013f6a8], edi
mov qword [0x1801a37d0], rbx
call fcn.180036450
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.180028c80
mov dword [0x18013f698], edi
mov dword [0x18013f6a8], edi
mov qword [0x1801a37d0], rbx
call fcn.180036450
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.1800288c0
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 0x180018c70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x68
cmp byte [0x1801a0fe8], 0
je 0x180018e5b
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rsi
movabs rsi, 0xd80958fc74e988a6
mov qword [rsp + 0x60], rdi
xor edi, edi
mov dword [0x18013f698], edi
mov dword [0x18013f6a8], edi
mov qword [0x1801a37d0], rsi
call fcn.180036450
mov qword [rsp + 0x78], rdi
mov ecx, dword [rax]
movabs rax, 0x3fef770d40960d5a
mov dword [rsp + 0x78], ecx
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0x78]
mov qword [0x18013f770], rax
mov dword [0x18013f6a8], edi
mov qword [0x18013f778], rdi
mov dword [0x18013f698], 2
call fcn.180036450
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movabs rax, 0xd24d37cc275948cc
mov qword [0x1801a37d0], rax
lea rax, str.prop_boogieboard_05
mov qword [0x18013f770], rax
movups xmmword [rsp + 0x40], xmm0
mov dword [0x18013f6a8], edi
movsd qword [rsp + 0x50], xmm1
mov dword [0x18013f698], 1
call fcn.180036450
mov ebx, dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801a37f0]
cmp eax, 0x64
jb 0x180018e49
movss xmm1, dword [rsp + 0x50]
mov edx, ebx
movss xmm3, dword [rsp + 0x48]
subss xmm1, dword [0x1800f5f30]
subss xmm3, dword [0x1800f5f30]
movss xmm2, dword [rsp + 0x40]
mov dword [rsp + 0x38], 1
movss dword [rsp + 0x20], xmm1
call fcn.180028710
mov ebx, eax
mov dword [0x18013f698], edi
mov dword [0x18013f6a8], edi
mov qword [0x1801a37d0], rsi
call fcn.180036450
mov qword [rsp + 0x78], rdi
mov ecx, dword [rax]
movabs rax, 0xe83d4f9ba2a38914
mov dword [rsp + 0x78], ecx
mov rcx, qword [rsp + 0x78]
mov qword [0x18013f770], rcx
mov dword [0x18013f6a8], edi
mov qword [0x1801a37d0], rax
mov dword [0x18013f698], 1
call fcn.180036450
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x78], ebx
movss xmm0, dword [rax]
movabs rax, 0x8e2530aa8ada980e
mov qword [0x1801a37d0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], rdi
movss dword [rsp + 0x78], xmm0
mov qword [0x18013f770], rax
mov rax, qword [rsp + 0x78]
mov qword [0x18013f778], rax
mov dword [0x18013f6a8], edi
mov dword [0x18013f698], 2
call fcn.180036450
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1801a37f0], eax
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x180025180
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xc50
mov rax, qword [0x180125408]
xor rax, rsp
mov qword [rsp + 0xc40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x440]
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [rbp + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1800252be
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 [0x1801a36b8], 0x10
lea rcx, [0x1801a36a0]
cmovae rcx, qword [0x1801a36a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xorps xmm0, xmm0
lea rsi, [0x1801a0770]
mov rbx, rax
lea r8, [0x1800d11d4]
xor eax, eax
lea edx, [rbp + 0x45]
mov rcx, rsi
mov dword [0x1801a07b0], eax
mov byte [0x1801a07b4], al
movups xmmword [0x1801a0770], xmm0
movups xmmword [0x1801a0780], xmm0
movups xmmword [0x1801a0790], xmm0
movups xmmword [0x1801a07a0], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x40]
mov rcx, rsi
lea edx, [rbp + 0x45]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8, rbx
lea edx, [rbp + 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
nop dword [rax]
inc r8
cmp byte [rsi + r8], bpl
jne 0x1800252a0
mov rdx, rsi
mov rcx, rdi
call fcn.1800280b0
mov rsi, qword [rsp + 0xc70]
jmp 0x1800252d0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov rax, rdi
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.1800c16d0
mov rbp, qword [rsp + 0xc78]
add rsp, 0xc50
pop rdi
ret
Function at 0x18002bf20
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
lea rdx, [0x1800dbf88]
lea rcx, [rsp + 0xa0]
call fcn.1800281c0
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180025180
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18002ca10
nop
lea r8, [0x180142f58]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180026050
nop
lea rcx, [rsp + 0x60]
call fcn.1800031e0
nop
lea rcx, [rsp + 0x80]
call fcn.1800031e0
nop
lea rcx, [rsp + 0xa0]
call fcn.1800031e0
lea rcx, [rsp + 0x40]
call fcn.1800274b0
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.18002ca30
nop
lea rcx, [rsp + 0x20]
call fcn.18002eb50
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.18002e910
test bl, bl
je 0x18002bff6
lea rcx, [rsp + 0x40]
call fcn.1800274b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.18002ee20
lea rcx, str.Cleaning_up_hooks
call fcn.18002f960
call fcn.18002c150
mov rsi, rax
call fcn.18002c160
mov rbx, rax
cmp rax, rsi
je 0x18002c05f
nop dword [rax]
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.1800b8a28
test eax, eax
jne 0x18002c03d
lea rcx, str.Successfully_disabled_hooks
call fcn.18002f960
jmp 0x18002c056
mov ecx, eax
call fcn.1800b8a30
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_disable_hookS__p___s_
call fcn.18002f960
add rbx, 8
cmp rbx, rsi
jne 0x18002c020
mov dword [rsp + 0xd0], 0x32
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.1800033b0
mov rcx, rax
call fcn.1800033c0
call fcn.18002c150
mov rsi, rax
call fcn.18002c160
mov rbx, rax
cmp rax, rsi
je 0x18002c0f0
nop dword [rax]
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.1800b87e4
test eax, eax
jne 0x18002c0ce
call fcn.1800bb650
lea rcx, str.Successfully_Cleaning_up_hooks
call fcn.18002f960
lea rcx, str.Portal_Successfully_unloaded.
call fcn.18002f960
jmp 0x18002c0e7
mov ecx, eax
call fcn.1800b8a30
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_unhook__p___s_
call fcn.18002f960
add rbx, 8
cmp rbx, rsi
jne 0x18002c0a0
mov dword [rsp + 0xd0], 0x190
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.1800033b0
mov rcx, rax
call fcn.1800033c0
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 [0x1801a1150]
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]