joyce8/EMBER2024-capa huggingface dataset:
Function at 0x231977c40
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.rwl_ref.isra.0
test eax, eax
je 0x231977c68
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rbx]
lea rbp, [rsi + 0x18]
mov rcx, rbp
call sym.pthread_mutex_trylock
mov edx, eax
test eax, eax
jne 0x231977cbe
lea r12, [rsi + 0x20]
mov rcx, r12
call sym.pthread_mutex_trylock
mov edi, eax
test eax, eax
jne 0x231977cf8
mov eax, dword [rsi + 8]
mov edx, 0x10
test eax, eax
jne 0x231977cbe
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x231977cb1
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x231977cd0
mov dword [rsi + 8], 1
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.rwl_unref
mov rcx, r12
call sym.pthread_mutex_unlock
mov rcx, rbp
mov esi, eax
call sym.pthread_mutex_unlock
test esi, esi
jne 0x231977cf0
test eax, eax
mov esi, 0x10
cmovne esi, eax
mov edx, esi
jmp 0x231977cbe
mov rcx, rbp
call sym.pthread_mutex_unlock
mov edx, eax
test eax, eax
cmove edx, edi
jmp 0x231977cbe

Function at 0x231977d10
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
call sym.rwl_ref_unlock
test eax, eax
jne 0x231977d90
mov rsi, qword [rbx]
mov edx, dword [rsi + 8]
test edx, edx
je 0x231977d60
lock sub dword [rsi + 8], 1
lea rcx, [rsi + 0x20]
call sym.pthread_mutex_unlock
lea rcx, [rsi + 0x18]
mov edi, eax
call sym.pthread_mutex_unlock
test edi, edi
cmove edi, eax
mov edx, edi
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.rwl_unref
lea rdi, [rsi + 0x20]
mov rcx, rdi
call sym.pthread_mutex_lock
mov edx, eax
test eax, eax
jne 0x231977d4d
lock add dword [rsi + 0x10], 1
mov eax, dword [rsi + 0x10]
test eax, eax
je 0x231977da0
mov rcx, rdi
call sym.pthread_mutex_unlock
mov edx, eax
jmp 0x231977d4d
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + 0x28]
call sym.pthread_cond_signal
mov rcx, rdi
mov dword [rsp + 0x2c], eax
call sym.pthread_mutex_unlock
mov edx, dword [rsp + 0x2c]
test edx, edx
cmove edx, eax
jmp 0x231977d4d
Function at 0x231977dc0
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r12, qword [0x231ed6970]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
call sym.rwl_ref.isra.0
test eax, eax
je 0x231977e10
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x231977f39
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call sym.pthread_mutex_lock
mov ebp, eax
test eax, eax
jne 0x231977e61
lea r13, [rsi + 0x20]
mov rcx, r13
call sym.pthread_mutex_lock
mov ebp, eax
test eax, eax
jne 0x231977f10
mov edx, dword [rsi + 8]
test edx, edx
jne 0x231977e5c
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x231977e58
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x231977e90
lock add dword [rsi + 8], 1
mov rax, qword [rsp + 0x38]
sub rax, qword [r12]
jne 0x231977f39
mov edx, ebp
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.rwl_unref
neg eax
mov qword [rsp + 0x28], rsi
lea r14, [rsi + 0x28]
mov dword [rsi + 0x10], eax
lea rax, [sym.st_cancelwrite]
mov qword [rsp + 0x20], rax
call sym.pthread_getclean
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call sym.pthread_getclean
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x231977edf
mov eax, dword [rsi + 0x10]
test eax, eax
jns 0x231977f20
mov rdx, r13
mov rcx, r14
call sym.pthread_cond_wait
mov edi, eax
test eax, eax
je 0x231977ed8
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov ebp, edi
mov qword [rax], rdx
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x20]
jmp 0x231977e61
mov rcx, rdi
call sym.pthread_mutex_unlock
jmp 0x231977e61
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
mov dword [rsi + 0xc], 0
jmp 0x231977e5c
call dbg.__stack_chk_fail
nop
nop
Function at 0x231977f40
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, qword [0x231ed6970]
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
mov rsi, rdx
test rcx, rcx
je 0x231978028
test rdx, rdx
je 0x231978028
call sym.rwl_ref.isra.0
test eax, eax
je 0x231977fa8
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi]
jne 0x23197805a
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, qword [rbx]
mov rdx, rsi
lea r12, [rbp + 0x18]
mov rcx, r12
call sym.pthread_mutex_timedlock
mov edx, eax
test eax, eax
jne 0x231978038
lea r14, [rbp + 0x20]
mov rdx, rsi
mov rcx, r14
call sym.pthread_mutex_timedlock
mov r13d, eax
test eax, eax
jne 0x231978048
mov edx, dword [rbp + 8]
test edx, edx
jne 0x231977ff7
mov edx, dword [rbp + 0x10]
mov eax, dword [rbp + 0xc]
test edx, edx
jle 0x231977ff3
sub eax, edx
mov dword [rbp + 0x10], 0
mov dword [rbp + 0xc], eax
test eax, eax
jg 0x231978060
lock add dword [rbp + 8], 1
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
jne 0x23197805a
mov edx, r13d
mov rcx, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.rwl_unref
mov eax, 0x16
jmp 0x231977f82
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
je 0x231978009
jmp 0x23197805a
mov rcx, r12
call sym.pthread_mutex_unlock
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
je 0x231978006
call dbg.__stack_chk_fail
nop
neg eax
mov qword [rsp + 0x28], rbp
lea r15, [rbp + 0x28]
mov dword [rbp + 0x10], eax
lea rax, [sym.st_cancelwrite]
mov qword [rsp + 0x20], rax
call sym.pthread_getclean
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call sym.pthread_getclean
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x2319780ad
test r12d, r12d
jne 0x2319780c5
mov r8, rsi
mov rdx, r14
mov rcx, r15
call sym.pthread_cond_timedwait
mov r12d, eax
mov eax, dword [rbp + 0x10]
test eax, eax
js 0x2319780a8
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
test r12d, r12d
jne 0x2319780e8
mov dword [rbp + 0xc], 0
jmp 0x231977ff7
mov rcx, qword [rsp + 0x28]
mov r13d, r12d
call qword [rsp + 0x20]
jmp 0x231977ffc

Function at 0x23198bc90
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x23198bcbc
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x23198c8e0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x231ecf1b0], 0
jne 0x23198c9e6
mov byte [0x231ecf1b0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x23198c9bc
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x23198c9ad
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x231ed0621]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x23198c9a8
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x23198c977
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x23198ca7b
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x23198c9e1
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x23198c9e1

Function at 0x2319ecb20
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x2319ecb68
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x2319ecb3a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x2319ff540
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x2319ff568
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x2319ff5b0
cdqe
add rsi, rax
sub rbx, rax
jne 0x2319ff580
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x2319ff5bc
call rbp
cmp dword [rax], 4
je 0x2319ff580
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x231a27500
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor edx, edx
lea rcx, [0x231ecc9a0]
movabs rdi, 0x2e78786362696c67
movabs r12, 0x6c6f6f705f68652e
call sym.pthread_mutex_init
pxor xmm0, xmm0
lea rcx, str.GLIBCXX_TUNABLES
mov qword [0x231ecc9b8], 0
movups xmmword [0x231ecc9a8], xmm0
call sym.getenv
mov dword [rsp + 0x40], 0
mov rbx, rax
lea rax, str.obj_size
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], rax
lea rax, str.obj_count
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x100
test rbx, rbx
jne 0x231a275b5
jmp 0x231a2765f
mov rcx, rbx
mov edx, 0x3a
call sym.strchr
mov rbx, rax
test rax, rax
je 0x231a27610
xor eax, eax
cmp byte [rbx], 0x3a
sete al
add rbx, rax
cmp qword [rbx], rdi
jne 0x231a275a0
cmp qword [rbx + 7], r12
jne 0x231a275a0
cmp byte [rbx + 0xf], 0x2e
jne 0x231a275a0
add rbx, 0x10
lea rbp, [rsp + 0x30]
lea r13, [rsp + 0x60]
mov rsi, qword [rbp]
mov rcx, qword [rbp + 8]
test rsi, rsi
je 0x231a275fb
mov r8, rsi
mov rdx, rbx
call sym.memcmp
test eax, eax
jne 0x231a27605
cmp byte [rbx + rsi], 0x3d
je 0x231a27695
add rbp, 0x18
cmp rbp, r13
jne 0x231a275df
jmp 0x231a275a0
mov eax, dword [rsp + 0x58]
mov edx, 0x1000
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [rsp + 0x40]
test eax, eax
cmove eax, ecx
movsxd rbx, eax
movsxd rax, edx
add rbx, 0x26
imul rbx, rax
shl rbx, 3
mov qword [0x231ecc9b8], rbx
jne 0x231a2766f
lea rcx, [sym.__tcf_0]
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp dbg.atexit
mov qword [0x231ecc9b8], 0x16000
mov ebx, 0x16000
mov rcx, rbx
call sym.malloc
mov qword [0x231ecc9b0], rax
test rax, rax
je 0x231a276cc
xor edx, edx
mov qword [0x231ecc9a8], rax
mov qword [rax], rbx
mov qword [rax + 8], rdx
jmp 0x231a27647
lea rdx, [rsp + 0x28]
lea rcx, [rbx + rsi + 1]
xor r8d, r8d
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
mov rbx, qword [rsp + 0x28]
movzx edx, byte [rbx]
cmp dl, 0x3a
je 0x231a276bc
test dl, dl
jne 0x231a275a0
test eax, eax
js 0x231a275a0
mov dword [rbp + 0x10], eax
jmp 0x231a275a0
xor ecx, ecx
mov qword [0x231ecc9b8], rcx
jmp 0x231a27647
Function at 0x180004c50
Capabilities:
Allocate or change rwx memory
Get system information on windows

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, 0x50
mov rdi, rcx
lea rcx, [rax - 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180004c97
lea rax, [rdi - 0x40000000]
cmp rsi, rax
cmovb rsi, rax
mov rbx, qword [0x180047940]
lea rax, [rdi + 0x40000000]
cmp rbp, rax
cmova rbp, rax
sub rbp, 0xfff
test rbx, rbx
je 0x180004cd2
cmp rbx, rsi
jb 0x180004ccd
cmp rbx, rbp
jae 0x180004ccd
cmp qword [rbx + 8], 0
jne 0x180004d9f
mov rbx, qword [rbx]
jmp 0x180004cb3
mov r14, rdi
cmp rdi, rsi
jb 0x180004d19
mov r8d, dword [rsp + 0x48]
mov rdx, rsi
mov rcx, r14
call fcn.180004b74
mov r14, rax
test rax, rax
je 0x180004d19
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180004d5f
cmp r14, rsi
jae 0x180004cda
test rbx, rbx
jmp 0x180004d56
mov r8d, dword [rsp + 0x48]
mov rdx, rbp
mov rcx, rdi
call fcn.180004ae8
mov rdi, rax
test rax, rax
je 0x180004d9f
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180004d5f
cmp rdi, rbp
jbe 0x180004d1e
jmp 0x180004d9f
and qword [rbx + 8], 0
and dword [rbx + 0x10], 0
lea rcx, [rbx + 0x40]
mov rdx, rcx
sub rdx, rbx
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x180004d72
mov rax, qword [0x180047940]
mov qword [rbx], rax
mov qword [0x180047940], rbx
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop r14
ret
Function at 0x180005640
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov esi, edx
mov ebp, 5
imul rbx, rbx, 0x38
add rbx, qword [0x180047930]
test byte [rbx + 0x20], 1
mov rdi, qword [rbx]
je 0x180005679
sub rdi, rbp
mov ebp, 7
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18000569e
mov eax, 0xa
jmp 0x18000572a
test esi, esi
je 0x1800056c0
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800056e1
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800056e1
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800056db
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800056e1
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180005780
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180005874
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
jmp 0x180005863
cmp dword [rsp + 0x20], 0x10
jb 0x18000584e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18000584e
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18000584e
mov r8, qword [rbx]
test r8, r8
jne 0x18000580f
mov dword [rbx + 8], 0x80
mov rcx, qword [0x18003f908]
xor edx, edx
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x18000586b
jmp 0x18000583e
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18000583e
mov rcx, qword [0x18003f908]
lea r9d, [rax + rax]
xor edx, edx
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18000586b
mov ecx, dword [rbx + 8]
mov qword [rbx], rax
add ecx, ecx
mov dword [rbx + 8], ecx
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rcx + rdx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0x1c
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1800057be
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180005938
Capabilities:
Suspend thread

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, 0x20
and qword [rcx], 0
and dword [rcx + 8], 0
and dword [rcx + 0xc], 0
mov ebp, r8d
mov r14d, edx
mov rbx, rcx
call fcn.180005780
cmp qword [rbx], 0
je 0x1800059b9
xor edi, edi
cmp dword [rbx + 0xc], edi
jbe 0x1800059b9
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800059b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180005c38
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180005978
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180005d38
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180005d9c
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180005d8a
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180005d83
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180005d57
mov r8, qword [rbx]
mov rcx, qword [0x18003f908]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800066cc
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x180006723
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov esi, edx
mov rdi, rcx
xor ebx, ebx
mov rcx, rbp
call qword [0x18003e728]
xor edx, edx
mov r8d, eax
mov eax, ebx
inc ebx
div r8d
mov al, byte [rdx + rbp]
xor byte [rdi], al
inc rdi
cmp ebx, esi
jb 0x1800066ee
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180007fb8
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edi, edx
call fcn.18000e59c
lea eax, [rdi + 1]
test eax, 0xfffffffe
jne 0x180007ff3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov edx, edi
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000803f
lea rdx, [rsp + 0x40]
mov rcx, rax
mov dword [rsp + 0x40], 0x238
call sub.KERNEL32.dll_Module32First
jmp 0x18000803b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180008ab0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x18000801f
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180007afc
lea rcx, [rsp + 0x20]
call fcn.180007b48
lea r11, [rsp + 0x280]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x18000fd20
Capabilities:
Encode data using xor

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
mov rsi, rcx
lea rcx, [rax - 0x28]
mov r14, r8
call fcn.18001696c
lea rcx, [rsp + 0x20]
call fcn.180008a70
xor r8d, r8d
mov rcx, rsi
mov rdx, rax
call fcn.18000e258
lea rcx, [rsp + 0x20]
xor ebp, ebp
call fcn.180008a70
test rax, rax
je 0x18000fdc2
mov rcx, r14
call fcn.180008a70
xor edx, edx
mov rcx, rax
mov rax, rbp
div rcx
mov rcx, r14
call fcn.180007bfc
mov rdx, rbp
mov rcx, rsi
mov rdi, rax
call fcn.180007bfc
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov rbx, rax
call fcn.180007bfc
inc rbp
mov cl, byte [rax]
xor cl, byte [rdi]
mov byte [rbx], cl
lea rcx, [rsp + 0x20]
call fcn.180008a70
cmp rbp, rax
jb 0x18000fd71
lea rcx, [rsp + 0x20]
call fcn.1800011bc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x180010890
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [rcx + 0x7c]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x180010a3a
cmp ecx, 0x7c
je 0x180010a3a
cmp ecx, 0x29
jne 0x1800108d5
cmp dword [rdi + 0x1c], 0
jne 0x180010a3a
test dword [rdi + 0x80], 0x10000000
je 0x180010a45
cmp ecx, 0x2e
jne 0x1800108f0
lea rcx, [rdi + 0x40]
call fcn.1800102f4
mov rcx, rdi
call fcn.180015368
jmp 0x180010a26
cmp ecx, 0x5c
jne 0x180010953
mov rcx, rdi
call fcn.180015368
mov eax, dword [rdi + 0x80]
and eax, 0x80
je 0x180010926
cmp byte [rdi + 0x78], 0x62
jne 0x180010926
lea rcx, [rdi + 0x40]
call fcn.180010884
mov rcx, rdi
call fcn.180015368
jmp 0x180010a2e
test eax, eax
je 0x180010946
cmp byte [rdi + 0x78], 0x42
jne 0x180010946
lea rbx, [rdi + 0x40]
mov rcx, rbx
call fcn.180010884
mov rcx, rbx
call fcn.180015310
jmp 0x180010919
mov rcx, rdi
call fcn.180010cbc
jmp 0x180010a26
cmp ecx, 0x5b
jne 0x18001097e
mov rcx, rdi
call fcn.180015368
mov rcx, rdi
call fcn.180011550
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.18001371c
jmp 0x180010a26
cmp ecx, 0x28
jne 0x1800109a8
mov rcx, rdi
call fcn.180015368
mov rcx, rdi
call fcn.180016758
mov edx, 0x29
mov rcx, rdi
lea r8d, [rdx - 0x24]
mov bl, al
call fcn.18001371c
jmp 0x180010a22
cmp ecx, 0x5e
jne 0x1800109bb
lea rcx, [rdi + 0x40]
call fcn.1800100c8
jmp 0x180010919
cmp ecx, 0x24
jne 0x1800109ce
lea rcx, [rdi + 0x40]
call fcn.180010380
jmp 0x180010919
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180010a6f
cmp ecx, 0x3f
je 0x180010a6f
cmp ecx, 0x7b
je 0x180010a6f
cmp ecx, 0x7d
jne 0x1800109fd
test dword [rdi + 0x80], 0x10000000
je 0x180010a53
cmp ecx, 0x5d
jne 0x180010a0e
test dword [rdi + 0x80], 0x10000000
je 0x180010a61
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.1800100d4
mov rcx, rdi
call fcn.180015368
test bl, bl
je 0x180010a2e
mov rcx, rdi
call fcn.180015450
mov ecx, dword [rdi + 0x7c]
mov al, 1
mov bl, al
jmp 0x1800108a4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 5
mov rcx, rdi
call fcn.1800136d8
int3
mov edx, 6
mov rcx, rdi
call fcn.1800136d8
int3
mov edx, 4
mov rcx, rdi
call fcn.1800136d8
int3
mov edx, 0xa
mov rcx, rdi
call fcn.1800136d8
int3