joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eae0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
mov ecx, 0x70
mov edx, 1
mov rbp, rsp
push rdi
push rsi
push rbx
lea rsi, str.7eff141e576f58846c92843c10845dfff58c9d20ab149f9884ad98840f98949c13d47c98943c98845dff5e354a85ab149c13842f988485140000010086951404a66f98e5024c38845dfff58c9d20ab149f9884851440a69c13d42e988401ce38845dff652a5b0f865e57ecff94c0470c585dff16475a99ab149f98842e98c4851401a67c98845dff0efdf0aeab141c98840cff842c98840cff840c13d49c13d40505e514a0a65dff00b60892ab14950000101086ae98c45dff706277c4ab141f98c44e989445149addddc7d1320020cb945e98940000100ace18846e9894651400002333f5233777eb94d5ffffffb49e21b884a59514850eff251402ce3884a51495148514a595e50d1084851485148840b8140d1094c104b84484c0b814660d10944204b844858d571d93548042c430c41f570e831c1014d09c1c14ca0c13846d10848843b8149cff849c13d4653e0d10948184b80204b844050d108476470c58840000008808b80000002758f020b0818718660d1084c324b815140225b88425de2e1c1014d09c1c1402c220c716c3ca0c13840527b8849c13d4a4a47bf0840225b88465158125b8840625b884562d13842505141514000000cc8e0f4e3884cf
and rsp, 0xfffffffffffffff0
sub rsp, 0x3b0
lea rbx, [rsp + 0x20]
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
mov ecx, 0x1c1
movzx eax, word [rsi]
mov word [rdi], ax
movzx eax, byte [0x004103aa]
mov byte [rdi + 2], al
call sub.msvcrt.dll_calloc
test rax, rax
je 0x40eba5
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call fcn.0040ea20
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov r8d, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x40eb90
mov rdx, rsi
mov r8d, 0x1c1
mov rcx, rax
call sub.msvcrt.dll_memmove
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumWindows]
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.HeapAlloc_error
call fcn.0040ea80
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.malloc_error
call fcn.0040ea80
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1400033d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140009dd0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140009dd0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140003440
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400100a4]
mov rbx, rcx
test esi, esi
jle 0x140003570
mov rax, qword [0x1400100a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000348b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003515
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003470
mov rcx, rbx
call fcn.140003e90
mov rdi, rax
test rax, rax
je 0x140003592
mov rax, qword [0x1400100a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003fd0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400100a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003577
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000350e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003520
add dword [0x1400100a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400100a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000350e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400033d0
nop dword [rax]
xor esi, esi
jmp 0x140003498
mov rax, qword [0x1400100a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400033d0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400033d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003b00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140010100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400100e0]
test rbx, rbx
je 0x140003b5c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003b53
test rsi, rsi
je 0x140003b53
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003b38
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003e90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000cde0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003eb0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003eb8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003eb0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003f0d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003f04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003eb0
add rax, 0x28
cmp rax, r9
jne 0x140003ef0
xor eax, eax
ret

Function at 0x140003f10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000cde0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140003f2f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003f38
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003f2f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003fd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000cde0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003fef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003ff8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180005fa0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0xa8
cmp byte [0x1800e170f], 0
je 0x1800061ef
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800061ef
mov qword [rsp + 0xb0], rbx
movabs rbx, 0xd80958fc74e988a6
mov qword [rsp + 0xa0], rdi
xor edi, edi
mov dword [0x1800c6b88], edi
mov dword [0x1800c6b98], edi
mov qword [0x1800e2d00], rbx
call fcn.180028820
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x997abd671d25ca0b
mov dword [rsp + 0xb8], ecx
mov qword [0x1800e2d00], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb8], rdi
mov qword [0x1800c6c60], rax
mov dword [rsp + 0xb8], 1
mov rax, qword [rsp + 0xb8]
mov qword [0x1800c6c68], rax
mov dword [0x1800c6b98], edi
mov dword [0x1800c6b88], 2
call fcn.180028820
cmp dword [rax], edi
je 0x1800061df
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
mov dword [0x1800c6b88], edi
mov dword [0x1800c6b98], edi
mov qword [0x1800e2d00], rbx
call fcn.180028820
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0xb8], ecx
mov qword [0x1800e2d00], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x1800c6c60], rax
mov dword [0x1800c6b98], edi
mov qword [0x1800c6c68], rdi
mov dword [0x1800c6b88], 2
call fcn.180028820
mov qword [rsp + 0xb8], rdi
mov ebx, dword [rax]
movabs rax, 0x866a4a5fae349510
mov qword [0x1800e2d00], rax
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x1800c6c60], rax
mov dword [0x1800c6b98], edi
mov dword [0x1800c6b88], 1
call fcn.180028820
mov qword [rsp + 0xb8], rdi
xorps xmm6, xmm6
mov dword [rsp + 0xb8], ebx
movss xmm7, dword [rax]
movabs rax, 0x8bb4ef4214e0e6d5
mov qword [0x1800e2d00], rax
addss xmm7, xmm6
mov rax, qword [rsp + 0xb8]
mov qword [0x1800c6c60], rax
mov dword [0x1800c6b98], edi
mov dword [0x1800c6b88], 1
call fcn.180028820
movss xmm0, dword [0x180092770]
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.18001b040
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 0x1800068e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1800e1706], 0
je 0x180006a47
mov ecx, 0xa0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
movabs rcx, 0xd80958fc74e988a6
mov qword [0x1800e2d00], rcx
mov dword [0x1800c6b88], ebx
mov dword [0x1800c6b98], ebx
test ax, ax
je 0x1800069b5
call fcn.180028820
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x1800e2d00], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1800c6c60], rax
mov dword [0x1800c6b98], ebx
mov qword [0x1800c6c68], rbx
mov dword [0x1800c6b88], 2
call fcn.180028820
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x1800e2d00], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x38], 1
mov qword [0x1800c6c60], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1800c6c68], rax
jmp 0x180006a2d
call fcn.180028820
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x1800e2d00], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1800c6c60], rax
mov dword [0x1800c6b98], ebx
mov qword [0x1800c6c68], rbx
mov dword [0x1800c6b88], 2
call fcn.180028820
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x1800e2d00], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1800c6c60], rax
mov qword [0x1800c6c68], rbx
mov dword [0x1800c6b98], ebx
mov dword [0x1800c6b88], 2
call fcn.180028820
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18000ddf0
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x1800e16c1], 0
je 0x18000de26
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000de26
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000de26
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret
Function at 0x18000f510
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x68
cmp byte [0x1800e16b3], 0
je 0x18000f6fd
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rsi
movabs rsi, 0xd80958fc74e988a6
mov qword [rsp + 0x60], rdi
xor edi, edi
mov dword [0x1800c6b88], edi
mov dword [0x1800c6b98], edi
mov qword [0x1800e2d00], rsi
call fcn.180028820
mov qword [rsp + 0x78], rdi
mov ecx, dword [rax]
movabs rax, 0x3fef770d40960d5a
mov dword [rsp + 0x78], ecx
mov qword [0x1800e2d00], rax
mov rax, qword [rsp + 0x78]
mov qword [0x1800c6c60], rax
mov dword [0x1800c6b98], edi
mov qword [0x1800c6c68], rdi
mov dword [0x1800c6b88], 2
call fcn.180028820
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movabs rax, 0xd24d37cc275948cc
mov qword [0x1800e2d00], rax
lea rax, str.prop_boogieboard_05
mov qword [0x1800c6c60], rax
movups xmmword [rsp + 0x40], xmm0
mov dword [0x1800c6b98], edi
movsd qword [rsp + 0x50], xmm1
mov dword [0x1800c6b88], 1
call fcn.180028820
mov ebx, dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800e2d20]
cmp eax, 0x64
jb 0x18000f6eb
movss xmm3, dword [rsp + 0x50]
mov ecx, ebx
movss xmm2, dword [rsp + 0x48]
subss xmm3, dword [0x180092670]
subss xmm2, dword [0x180092670]
movss xmm1, dword [rsp + 0x40]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
call fcn.18001b390
mov ebx, eax
mov dword [0x1800c6b88], edi
mov dword [0x1800c6b98], edi
mov qword [0x1800e2d00], rsi
call fcn.180028820
mov qword [rsp + 0x78], rdi
mov ecx, dword [rax]
movabs rax, 0xe83d4f9ba2a38914
mov dword [rsp + 0x78], ecx
mov rcx, qword [rsp + 0x78]
mov qword [0x1800c6c60], rcx
mov dword [0x1800c6b98], edi
mov qword [0x1800e2d00], rax
mov dword [0x1800c6b88], 1
call fcn.180028820
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x78], ebx
movss xmm0, dword [rax]
movabs rax, 0x8e2530aa8ada980e
mov qword [0x1800e2d00], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], rdi
movss dword [rsp + 0x78], xmm0
mov qword [0x1800c6c60], rax
mov rax, qword [rsp + 0x78]
mov qword [0x1800c6c68], rax
mov dword [0x1800c6b98], edi
mov dword [0x1800c6b88], 2
call fcn.180028820
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1800e2d20], eax
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x180011b40
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1800e16a8], 0
je 0x180011d3c
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x20], rdi
movabs rdi, 0xd80958fc74e988a6
mov qword [0x1800e2d00], rdi
mov dword [0x1800c6b88], ebx
mov dword [0x1800c6b98], ebx
call fcn.180028820
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0xae99fb955581844a
mov qword [0x1800e2d00], rax
mov dword [rsp + 0x38], ecx
mov rax, qword [rsp + 0x38]
mov qword [0x1800c6c60], rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x38], 0xa
mov rax, qword [rsp + 0x38]
mov qword [0x1800c6c68], rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x38], 0xa
mov rax, qword [rsp + 0x38]
mov qword [0x1800c6c70], rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x38], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov qword [0x1800c6c80], rax
mov dword [rsp + 0x38], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov qword [0x1800c6c88], rax
mov dword [rsp + 0x38], 1
mov rax, qword [rsp + 0x38]
mov qword [0x1800c6c90], rax
mov dword [0x1800c6b98], ebx
mov qword [0x1800c6c78], rbx
mov dword [0x1800c6b88], 7
call fcn.180028820
lea ecx, [rbx + 0x57]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180011c7b
mov dword [0x1800c6b88], ebx
mov dword [0x1800c6b98], ebx
mov qword [0x1800e2d00], rdi
call fcn.180028820
movss xmm2, dword [0x180092710]
xorps xmm3, xmm3
xorps xmm1, xmm1
mov ecx, dword [rax]
call fcn.180017f40
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180011cb8
mov dword [0x1800c6b88], ebx
mov dword [0x1800c6b98], ebx
mov qword [0x1800e2d00], rdi
call fcn.180028820
movss xmm2, dword [0x1800928d4]
xorps xmm3, xmm3
xorps xmm1, xmm1
mov ecx, dword [rax]
call fcn.180017f40
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180011cf5
mov dword [0x1800c6b88], ebx
mov dword [0x1800c6b98], ebx
mov qword [0x1800e2d00], rdi
call fcn.180028820
movss xmm1, dword [0x180092710]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180017f40
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180011d32
mov dword [0x1800c6b88], ebx
mov dword [0x1800c6b98], ebx
mov qword [0x1800e2d00], rdi
call fcn.180028820
movss xmm1, dword [0x1800928d4]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180017f40
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x180018410
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xc50
mov rax, qword [0x1800ad3c0]
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 0x18001854e
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 [0x1800e2be8], 0x10
lea rcx, [0x1800e2bd0]
cmovae rcx, qword [0x1800e2bd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xorps xmm0, xmm0
lea rsi, [0x1800e0e50]
mov rbx, rax
lea r8, [0x1800771d0]
xor eax, eax
lea edx, [rbp + 0x45]
mov rcx, rsi
mov dword [0x1800e0e90], eax
mov byte [0x1800e0e94], al
movups xmmword [0x1800e0e50], xmm0
movups xmmword [0x1800e0e60], xmm0
movups xmmword [0x1800e0e70], xmm0
movups xmmword [0x1800e0e80], 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 0x180018530
mov rdx, rsi
mov rcx, rdi
call fcn.18001acc0
mov rsi, qword [rsp + 0xc70]
jmp 0x180018563
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.18006c6d0
mov rbp, qword [rsp + 0xc78]
add rsp, 0xc50
pop rdi
ret
Function at 0x18001ddc0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
lea rdx, [0x180081bac]
lea rcx, [rsp + 0xa0]
call fcn.18001add0
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180018410
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18001e910
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18001e930
nop
lea rcx, [rsp + 0x60]
call fcn.18001ac40
nop
lea rcx, [rsp + 0x80]
call fcn.18001ac40
nop
lea rcx, [rsp + 0xa0]
call fcn.18001ac40
lea rcx, [rsp + 0x40]
call fcn.180019d60
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.18001e9b0
nop
lea rcx, [rsp + 0x20]
call fcn.180020fc0
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.180020d20
test bl, bl
je 0x18001de8f
lea rcx, [rsp + 0x40]
call fcn.180019d60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.180021290
lea rcx, str.Cleaning_up_hooks
call fcn.180021e10
call fcn.18001dfd0
mov rsi, rax
call fcn.18001dfe0
mov rbx, rax
cmp rax, rsi
je 0x18001def4
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.180069040
test eax, eax
jne 0x18001ded2
lea rcx, str.Successfully_disabled_hooks
call fcn.180021e10
jmp 0x18001deeb
mov ecx, eax
call fcn.180069220
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_disable_hookS__p___s_
call fcn.180021e10
add rbx, 8
cmp rbx, rsi
jne 0x18001deb5
mov dword [rsp + 0xd0], 0x32
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.180002d60
mov rcx, rax
call fcn.180002d70
call fcn.18001dfd0
mov rsi, rax
call fcn.18001dfe0
mov rbx, rax
cmp rax, rsi
je 0x18001df7c
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.180068f30
test eax, eax
jne 0x18001df5a
lea rcx, str.Successfully_Cleaning_up_hooks
call fcn.180021e10
lea rcx, str.ThunderX_Successfully_____unloaded.
call fcn.180021e10
jmp 0x18001df73
mov ecx, eax
call fcn.180069220
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_unhook__p___s_
call fcn.180021e10
add rbx, 8
cmp rbx, rsi
jne 0x18001df31
mov dword [rsp + 0xd0], 0x190
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.180002d60
mov rcx, rax
call fcn.180002d70
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 [0x1800e17d8]
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x18001ef20
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 0x18001ef51
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 [0x1800e2c78]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800e2c88]
lea rdx, [rdi + rdi]
call fcn.180001a40
mov rax, qword [0x1800e2c78]
lea r9, [rdi - 1]
mov qword [0x1800e2ca0], r9
mov qword [0x1800e2ca8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18001f0f2
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 [0x1800e2c88]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001f03c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18001f0b3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18001f079
mov r10, qword [rdx]
cmp r10, rax
je 0x18001f073
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 0x18001f0b3
cmp r9, rdx
je 0x18001f08f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18001f0c7
cmp r9, rdx
jne 0x18001f080
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 0x18001f0ed
mov r9, qword [0x1800e2ca0]
jmp 0x18001efc1
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 0x18001f0b3
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800225b0
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 0x1800225d8
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 0x1800225fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180022600
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180022659
test ecx, ecx
jle 0x180022639
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 0x180022659
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180022659
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