joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400272a0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140034de8]
test eax, eax
jne 0x1400272b8
xor eax, eax
add rsp, 0x28
ret
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400272e8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x1400272ae
test byte [rax + 0x40], 3
je 0x1400272ae
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x1400272b0
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x1400272ce
jmp 0x1400272ae

Function at 0x140027300
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140027340
test ebx, ebx
jle 0x140027330
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x14002731d
add rsp, 0x20
pop rbx
ret

Function at 0x140027430
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400274a8
test byte [rbx + 0x40], 0xc
jne 0x14002745f
mov eax, dword [0x140034de8]
test eax, eax
jne 0x140027470
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call sym.pthread_mutex_lock
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140027493
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140027493
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400274bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym.pthread_mutex_unlock
call sym.__pthread_self_lite.part.0
mov rbx, rax
test rax, rax
jne 0x14002744f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1400274da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call sym.pthread_mutex_unlock
call sym._pthread_invoke_cancel
nop
nop dword [rax + rax]
Function at 0x1400274f0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140027560
call sym._pthread_time_in_ms_from_timespec
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140027598
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400275f0
test esi, esi
je 0x140027576
call sym.pthread_testcancel
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400275d0
mov edx, edi
call sym._pthread_wait_for_single_object
call sym.pthread_testcancel
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400275e0
call sym.pthread_testcancel
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call sym.pthread_testcancel
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140027535
call sym.__pthread_self_lite.part.0
mov rbx, rax
jmp 0x140027535
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002754e
call sym.__pthread_self_lite.part.0
jmp 0x140027576
call sym.__pthread_self_lite.part.0
mov rbx, rax
jmp 0x140027531

Function at 0x140027600
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140027670
test esi, esi
je 0x140027650
call sym.pthread_testcancel
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140027680
mov edx, esi
call sym._pthread_wait_for_single_object
call sym.pthread_testcancel
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call sym.pthread_testcancel
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call sym.pthread_testcancel
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call sym.__pthread_self_lite.part.0
mov rbx, rax
jmp 0x140027621
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002763a
Function at 0x140027690
Capabilities:
Get thread local storage value
Hijack thread execution

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4f8
mov rsi, rcx
test rcx, rcx
je 0x140027780
lea rdi, [0x14002b498]
mov rcx, rdi
call sym.pthread_mutex_lock
mov rcx, rsi
call sym.__pthread_get_pointer
mov rcx, rdi
mov rbx, rax
call sym.pthread_mutex_unlock
test rbx, rbx
je 0x140027780
mov rcx, qword [rbx + 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140027780
lea rdi, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x140027780
lea rbp, [rbx + 0x38]
mov rcx, rbp
call sym.pthread_mutex_lock
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140027890
movzx edx, byte [rbx + 0x40]
cmp rsi, qword [rax + 0x1d8]
je 0x140027798
mov eax, dword [rbx + 0x44]
and eax, 3
cmp eax, 3
je 0x1400277f0
test dl, 3
jne 0x140027770
and edx, 0xfffffffc
or edx, 1
mov byte [rbx + 0x40], dl
lock add dword [0x140034de8], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140027761
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbp
call sym.pthread_mutex_unlock
xor eax, eax
jmp 0x140027785
mov rcx, rbp
call sym.pthread_mutex_unlock
test byte [rbx + 0x40], 0xc
je 0x140027769
nop
mov eax, 3
add rsp, 0x4f8
pop rbx
pop rsi
pop rdi
pop rbp
ret
test dl, 3
jne 0x140027770
and edx, 0xfffffffc
or edx, 1
mov byte [rbx + 0x40], dl
lock add dword [0x140034de8], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400277bd
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rbx + 0x44]
mov edx, eax
and edx, 3
cmp edx, 3
jne 0x140027761
and eax, 0xfffffffe
mov rcx, rbp
mov dword [rbx + 0x44], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xfffffff3
or eax, 4
mov byte [rbx + 0x40], al
call sym.pthread_mutex_unlock
call sym._pthread_invoke_cancel
nop word [rax + rax]
test dl, 0xc
jne 0x140027770
and edx, 0xf
jne 0x140027780
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x50], 0x100001
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140027761
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
lea rax, [sym._pthread_invoke_cancel]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
mov qword [rsp + 0x118], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
movzx eax, byte [rbx + 0x40]
and dword [rbx + 0x44], 0xfffffffe
and eax, 0xfffffff0
or eax, 5
mov byte [rbx + 0x40], al
lock add dword [0x140034de8], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140027878
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbp
call sym.pthread_mutex_unlock
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x140027761
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x140027720
movzx edx, byte [rbx + 0x40]
jmp 0x14002772d
Function at 0x1400278b0
Capabilities:
Get thread local storage value
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14002b498]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call sym.pthread_mutex_lock
mov rcx, rbx
call sym.__pthread_get_pointer
test rax, rax
je 0x140027928
cmp qword [rax + 0x1d8], rbx
jne 0x140027928
test byte [rax + 0x40], 0xc
jne 0x140027928
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x140027928
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x140027928
mov rcx, rdi
call sym.pthread_mutex_unlock
test esi, esi
je 0x140027940
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x140027948
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.pthread_cancel
mov rcx, rdi
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor eax, eax
jmp 0x140027935
mov eax, 0x16
jmp 0x140027935

Function at 0x140027ae0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov rdi, rdx
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140027b50
cmp esi, 1
ja 0x140027b5d
lea rbp, [rbx + 0x38]
mov rcx, rbp
call sym.pthread_mutex_lock
test rdi, rdi
je 0x140027b24
mov eax, dword [rbx + 0x44]
and eax, 1
mov dword [rdi], eax
mov eax, dword [rbx + 0x44]
mov rcx, qword [rbx + 0x1d8]
and eax, 0xfffffffe
or eax, esi
mov dword [rbx + 0x44], eax
call sym.test_cancel_locked
mov rcx, rbp
call sym.pthread_mutex_unlock
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sym.__pthread_self_lite.part.0
mov rbx, rax
test rax, rax
jne 0x140027b06
mov eax, 0x16
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140027b70
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
mov rdi, rdx
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140027be8
mov ebp, esi
and ebp, 0xfffffffd
jne 0x140027bf5
lea r12, [rbx + 0x38]
mov rcx, r12
call sym.pthread_mutex_lock
test rdi, rdi
je 0x140027bb8
mov eax, dword [rbx + 0x44]
and eax, 2
mov dword [rdi], eax
mov eax, dword [rbx + 0x44]
mov rcx, qword [rbx + 0x1d8]
and eax, 0xfffffffd
or eax, esi
mov dword [rbx + 0x44], eax
call sym.test_cancel_locked
mov rcx, r12
call sym.pthread_mutex_unlock
mov eax, ebp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call sym.__pthread_self_lite.part.0
mov rbx, rax
test rax, rax
jne 0x140027b98
mov ebp, 0x16
mov eax, ebp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140027ea0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rbp, rdx
test rcx, rcx
je 0x140027fc0
lea rdi, [0x14002b498]
mov rcx, rdi
call sym.pthread_mutex_lock
mov rcx, rsi
call sym.__pthread_get_pointer
mov rcx, rdi
mov rbx, rax
call sym.pthread_mutex_unlock
test rbx, rbx
je 0x140027fc0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140027fc0
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x140027fc0
test byte [rbx + 0x44], 4
jne 0x140027fd0
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140027ff0
cmp rsi, qword [rax + 0x1d8]
je 0x140028018
mov eax, dword [rbx + 0xbc]
mov rcx, qword [rbx + 0x28]
test eax, eax
je 0x140027f4b
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140027f5a
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140027f6e
call rsi
mov qword [rbx + 0x30], 0
lea rcx, [rbx + 0x38]
test rbp, rbp
je 0x140028008
mov rax, qword [rbx + 8]
mov qword [rbp], rax
call sym.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14002801f
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x140027fe0
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, 3
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, 0x16
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbx
call sym.push_pthread_mem.part.0
xor eax, eax
jmp 0x140027fb6
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x140027f26
jmp 0x140027f33
call sym.pthread_mutex_destroy
jmp 0x140027f90
mov eax, 0x24
jmp 0x140027fc5
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x140028030
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [0x14002b498]
mov rsi, rcx
mov rcx, rbp
mov rdi, rdx
call sym.pthread_mutex_lock
mov rcx, rsi
call sym.__pthread_get_pointer
mov rbx, rax
test rax, rax
je 0x140028150
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140028150
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x140028150
test byte [rbx + 0x44], 4
jne 0x140028170
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002b4a8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400281b0
mov rdx, qword [rax + 0x1d8]
cmp rsi, rdx
je 0x1400281e8
mov edx, dword [rbx + 0xbc]
mov rcx, qword [rbx + 0x28]
test edx, edx
jne 0x1400280d7
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140028190
mov rcx, qword [rbx + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400280eb
call rsi
mov qword [rbx + 0x30], 0
lea rcx, [rbx + 0x38]
test rdi, rdi
je 0x1400281c8
mov rax, qword [rbx + 8]
mov qword [rdi], rax
call sym.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1400281fa
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x1400281d8
mov rcx, rbp
call sym.pthread_mutex_unlock
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbp
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbp
call sym.pthread_mutex_unlock
mov eax, 0x16
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, dword [rbx + 0xbc]
test eax, eax
jne 0x1400280d3
mov rcx, rbp
call sym.pthread_mutex_unlock
mov eax, 0x10
jmp 0x14002813e
call sym.__pthread_self_lite.part.0
xor edx, edx
test rax, rax
jne 0x1400280a5
jmp 0x1400280ac
call sym.pthread_mutex_destroy
jmp 0x14002810c
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x140028134
mov rcx, rbp
call sym.pthread_mutex_unlock
mov eax, 0x24
jmp 0x14002813e
call sym.replace_spin_keys.part.0
nop
Function at 0x140002fc0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1400ad388]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov dword [rsp + 0x30], 0x130
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000302a
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x5c]
call fcn.140064f40
mov rcx, rbx
test eax, eax
je 0x140003069
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140003003
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14004c550
add rsp, 0x170
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x38]
jmp 0x140003038
Function at 0x140003380
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400ad388]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, rdx
mov dword [rsp + 0x58], 1
xor edx, edx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
mov r10, r8
mov qword [rsp + 0x38], rcx
mov rbx, r9
mov qword [rsp + 0x30], rdx
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
mov rdx, r10
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004c550
add rsp, 0x70
pop rbx
ret
Function at 0x1400037f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400ad388]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, r8
mov rsi, rdx
mov dword [rbp - 0x7c], 0x104
xor r14d, r14d
mov dword [rbp - 0x80], r14d
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x7c]
lea rdx, [rbp + 0xb0]
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x140003996
mov ebx, r14d
nop
mov dword [rbp - 0x78], 0xff
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x50]
mov edx, ebx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000398b
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], al
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003900
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.140006540
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140003945
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x60], 0
add qword [rdi + 8], 0x20
jmp 0x140003957
lea r8, [rsp + 0x60]
mov rcx, rdi
call fcn.140007d40
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000398b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003986
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400039bd
call fcn.14004c5ac
inc ebx
cmp ebx, dword [rbp - 0x80]
jb 0x1400038a0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14004c550
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14005bae0
int3
Function at 0x140005af0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ecx, ecx
mov ebx, r8d
mov r14, rdx
call fcn.14005b660
lea ecx, [rbx + rax]
call fcn.14005b2b4
movzx ebx, byte [rsp + 0x20]
xor ebp, ebp
movzx edi, byte [rsp + 0x20]
movzx esi, byte [rsp + 0x20]
test bpl, 1
jne 0x140005b72
call fcn.14005b288
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
mov rdx, qword [r14 + 0x18]
add ecx, ecx
sub r8d, ecx
mov rcx, qword [r14 + 0x10]
add r8b, 0x30
cmp rcx, rdx
jb 0x140005bee
movzx r9d, r8b
movzx r8d, bl
jmp 0x140005c15
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
lea ecx, [rdx + rdx*2]
cmp ebp, ecx
jne 0x140005bbd
call fcn.14005b288
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
mov rdx, qword [r14 + 0x18]
sub r8d, ecx
mov rcx, qword [r14 + 0x10]
add r8b, 0x41
cmp rcx, rdx
jb 0x140005bee
movzx r9d, r8b
movzx r8d, dil
jmp 0x140005c15
call fcn.14005b288
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
mov rdx, qword [r14 + 0x18]
sub r8d, ecx
mov rcx, qword [r14 + 0x10]
add r8b, 0x61
cmp rcx, rdx
jae 0x140005c0d
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x140005c02
mov rax, qword [r14]
mov byte [rax + rcx], r8b
mov byte [rax + rcx + 1], 0
jmp 0x140005c22
movzx r9d, r8b
movzx r8d, sil
mov edx, 1
mov rcx, r14
call fcn.1400072d0
inc ebp
cmp ebp, 9
jl 0x140005b28
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000e590
Capabilities:
Delete file
Move file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x1400ad388]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov dword [r11 - 0x38], 0x28d27adb
mov dword [r11 - 0x34], 0xdf985a09
mov dword [r11 - 0x30], 0x57a804b2
mov dword [r11 - 0x2c], 0xe888320c
mov dword [r11 - 0x48], 0x94b74201
mov dword [r11 - 0x44], 0x45a0bfe
mov dword [r11 - 0x40], 0x41d78699
mov dword [r11 - 0x3c], 0x4a160198
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x70]
call fcn.14004f0a0
lea rcx, [rsp + 0x70]
call fcn.140017900
nop
mov qword [rsp + 0x20], 0x10
lea r9, [rsp + 0x240]
mov r8d, 0x10
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x70]
call fcn.140023b00
xor edx, edx
mov r8d, 0xb0
lea rcx, [rsp + 0x190]
call fcn.14004f0a0
mov ecx, 0xe0
call fcn.14004c570
mov rsi, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov r8d, 0xe0
mov rcx, rax
call fcn.14004f0a0
mov ecx, 0x28
call fcn.14004c570
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov rdx, rdi
lea r14, [rdi + 0x18]
cmp qword [r14], 0x10
jb 0x14000e6ba
mov rdx, qword [rdi]
mov rcx, rax
call fcn.14000b0d0
nop
mov r9d, 5
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140039980
nop
mov rdx, rbx
lea rsi, [rbx + 0x18]
cmp qword [rsi], 0x10
jb 0x14000e6ea
mov rdx, qword [rbx]
mov r9, rax
lea rcx, [rsp + 0x190]
call fcn.14000aeb0
lea rax, vtable.CryptoPP::SourceTemplate_class_CryptoPP::FileStore_.1.0
mov qword [rsp + 0x190], rax
lea rax, vtable.CryptoPP::SourceTemplate_class_CryptoPP::FileStore_.0
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x1c0]
call fcn.14000ae30
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x14000e73d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
lea rax, [0x140082c70]
mov qword [rsp + 0x70], rax
lea rax, [0x140082d18]
mov qword [rsp + 0x78], rax
lea rax, [0x140082da0]
mov qword [rsp + 0xa8], rax
lea rax, [0x140082e10]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x70]
call fcn.140018fc0
lea rcx, [rsp + 0x128]
call fcn.14000e860
nop
jmp 0x14000e7a9
mov rcx, rbx
cmp qword [rsi], 0x10
jb 0x14000e7b5
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp qword [rsi], 0x10
jb 0x14000e7c4
mov rbx, qword [rbx]
cmp qword [r14], 0x10
jb 0x14000e7cd
mov rdi, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14004c550
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret