joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4015c8
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0xd0], rax
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x26
mov rdi, rdx
rep stosq qword [rdi], rax
mov eax, 0x130
mov dword [rbp - 0x60], eax
mov dword [rbp + 0xdc], 0
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
setne al
test al, al
je 0x401654
add dword [rbp + 0xdc], 1
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
test eax, eax
setne al
test al, al
jne 0x401631
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp + 0xdc]
add rsp, 0x168
pop rdi
pop rbp
ret

Function at 0x401677
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp - 8], eax
mov dword [rbp - 4], 0
jmp 0x4016b9
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov edx, 0x32
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_Beep]
call rax
add dword [rbp - 4], 1
cmp dword [rbp - 4], 9
jle 0x401694
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
sub eax, dword [rbp - 8]
mov dword [rbp - 0x10], eax
mov dword [rbp - 0x14], 0x2904
mov eax, dword [rbp - 0x10]
cmp eax, dword [rbp - 0x14]
jae 0x4016ea
mov eax, 0
jmp 0x4016ef
mov eax, 1
add rsp, 0x40
pop rbp
ret
Function at 0x4080a7
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x4080d3
mov eax, 0
jmp 0x40811b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x4080fc
mov eax, 0
jmp 0x40811b
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x88]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rdx, rax
mov rax, qword [rbp + 0x18]
mov qword [rax], rdx
mov eax, 1
add rsp, 0x10
pop rbp
ret

Function at 0x41a120
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x004c2064]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x41a23a
mov rax, qword [0x004c2068]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x41a16e
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x41a220
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x41a152
mov rcx, rbx
call fcn.0041af60
test rax, rax
mov r12, rax
je 0x41a272
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x004c2068]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call fcn.0041b080
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x004c2068]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x41a255
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x41a219
sub eax, 0x40
and eax, 0xffffffbf
je 0x41a219
mov r9, rbp
add r9, qword [0x004c2068]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x41a241
add dword [0x004c2064], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebp, ebp
jmp 0x41a17b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.0041a0b0
mov rax, qword [0x004c2068]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call fcn.0041a0b0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.0041a0b0
nop
nop word cs:[rax + rax]

Function at 0x41ae70
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x41aeb1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x41aea8
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x41aeb3
add rax, 0x28
cmp rax, r9
jne 0x41ae94
xor eax, eax
repz ret
Function at 0x41af60
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x004a0380]
cmp word [rbx], 0x5a4d
je 0x41af80
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call fcn.0041ae30
test eax, eax
je 0x41af74
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.0041ae70

Function at 0x41b1d0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004c29c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004c29a0]
test rbx, rbx
je 0x41b224
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x41b21b
test rsi, rsi
je 0x41b21b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x41b200
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x004c29c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
Function at 0x41b9c0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov rdi, rcx
movsxd r12, edx
mov r13, r8
call sub.msvcrt.dll_strlen
mov rsi, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x52]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0041b900
sub rsp, rax
movsxd r14, esi
movabs rax, 0x656d68732d636367
lea r15, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, r14
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
movsxd rbx, ebx
mov byte [rsp + 0x2e], 0x2d
call sub.msvcrt.dll_memcpy
lea rax, [r15 + r14 + 0x10]
lea r14d, [rsi + 0x50]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, r15
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r14d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41baa9
int3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x41bb48
mov rcx, r12
call sub.msvcrt.dll_malloc
lea r9d, [rsi + 0x10]
mov rbx, rax
mov r10d, 0x40
bt rbx, r10
jae 0x41bae4
mov r11d, r14d
sub r11d, r10d
movsxd r11, r11d
mov byte [r15 + r11], 0x41
sub r10d, 1
jne 0x41bad0
mov dword [rbp - 0x54], r9d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
mov r9d, dword [rbp - 0x54]
je 0x41bb45
lea r8d, [rsi + 0x51]
movzx ecx, ax
mov rdx, r15
call fcn.0041b940
cmp rax, rbx
mov rsi, rax
je 0x41bb60
mov rcx, rbx
call fcn.00425f48
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x48]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [rsi + 0x10]
lea r8d, [rsi + 0x51]
movzx ecx, ax
mov rdx, r15
call fcn.0041b940
mov rsi, rax
jmp 0x41bb1f
xor edx, edx
mov r8, r12
mov rcx, rbx
call sub.msvcrt.dll_memset
test r13, r13
je 0x41bb1f
mov rcx, rbx
call r13
jmp 0x41bb1f
Function at 0x426520
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rcx, qword [0x004c34b8]
mov esi, edx
test rcx, rcx
je 0x4264c0
call fcn.0042c0d0
cmp dword [rbx], 0xbab1f00d
jne 0x4264e7
mov eax, dword [rbx + 4]
test eax, eax
jle 0x4264e7
mov eax, dword [rbx + 4]
test eax, eax
jle 0x426473
mov eax, dword [rbx + 4]
sub eax, 1
mov dword [rbx + 4], eax
mov rcx, qword [0x004c34b8]
test rcx, rcx
je 0x426490
call fcn.0042c180
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
ret
lea r8, [0x00426200]
lea rcx, str.mutex_global_shmem
mov edx, 8
call fcn.0042c260
mov rcx, rax
mov qword [0x004c34b8], rax
call fcn.0042c180
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
ret
lea rcx, str.mutex_global_shmem
lea r8, [0x00426200]
mov edx, 8
call fcn.0042c260
mov rcx, rax
mov qword [0x004c34b8], rax
jmp 0x426447
call qword [sym.imp.msvcrt.dll___iob_func]
lea r9, str.C:_crossdev_src_winpthreads_git20141130_src_mutex.c
lea rcx, [rax + 0x60]
lea r8, str._m___valid__LIFE_MUTEX____m___busy___0_
lea rdx, [0x0049f660]
mov dword [rsp + 0x20], 0x39
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
lea r8, [0x00426200]
lea rcx, str.mutex_global_shmem
mov edx, 8
jmp fcn.0042c260

Function at 0x427c60
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x004c3528]
test rbx, rbx
je 0x427c90
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [0x004c3528]
test rax, rax
je 0x427cb4
cmp dword [rax], 0xffffffff
je 0x427cd5
add rsp, 0x20
pop rbx
ret
lea r8, [0x004270f0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0042c260
mov rbx, rax
mov qword [0x004c3528], rax
jmp 0x427c71
lea r8, [0x004270f0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0042c260
mov qword [0x004c3528], rax
jmp 0x427c85
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
Function at 0x428170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rcx, qword [0x004c3530]
test rcx, rcx
je 0x4282b0
call fcn.004280e0
mov rax, qword [0x004c3528]
test rax, rax
je 0x4282d3
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x4281b3
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.00427ab0
test rax, rax
mov rbx, rax
je 0x42831b
cmp qword [0x004c6050], 0
je 0x42831b
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rbx + 0x68], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rsi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov dword [rbx + 0xb0], 0
mov qword [rbx + 0x28], 0
call rsi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call rsi
mov dword [rsp + 0x30], 2
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbx + 0x28]
mov r8, rbp
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x428322
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xb8], eax
movzx eax, byte [rbx + 0x40]
mov dword [rbx + 0xb4], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [0x004c3528]
test rax, rax
je 0x4282f7
mov rdx, rbx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x428322
mov rax, rbx
jmp 0x4281aa
lea rcx, str._pthread_tls_once_shmem
xor r8d, r8d
mov edx, 4
call fcn.0042c260
mov rcx, rax
mov qword [0x004c3530], rax
jmp 0x428188
lea r8, [0x004270f0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0042c260
mov qword [0x004c3528], rax
jmp 0x42819d
lea r8, [0x004270f0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0042c260
mov qword [0x004c3528], rax
jmp 0x428298
xor eax, eax
jmp 0x4281aa
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
lea rcx, str._pthread_key_dest_shmem
xor r8d, r8d
mov edx, 8
jmp fcn.0042c260
Function at 0x428330
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rcx, qword [0x004c3530]
test rcx, rcx
je 0x4282b0
call fcn.004280e0
mov rax, qword [0x004c3528]
test rax, rax
je 0x4282d3
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x4281b3
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.00427ab0
test rax, rax
mov rbx, rax
je 0x42831b
cmp qword [0x004c6050], 0
je 0x42831b
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rbx + 0x68], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rsi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov dword [rbx + 0xb0], 0
mov qword [rbx + 0x28], 0
call rsi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call rsi
mov dword [rsp + 0x30], 2
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbx + 0x28]
mov r8, rbp
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x428322
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xb8], eax
movzx eax, byte [rbx + 0x40]
mov dword [rbx + 0xb4], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [0x004c3528]
test rax, rax
je 0x4282f7
mov rdx, rbx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x428322
mov rax, rbx
jmp 0x4281aa
lea rcx, str._pthread_tls_once_shmem
xor r8d, r8d
mov edx, 4
call fcn.0042c260
mov rcx, rax
mov qword [0x004c3530], rax
jmp 0x428188
lea r8, [0x004270f0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0042c260
mov qword [0x004c3528], rax
jmp 0x42819d
lea r8, [0x004270f0]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0042c260
mov qword [0x004c3528], rax
jmp 0x428298
xor eax, eax
jmp 0x4281aa
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
lea rcx, str._pthread_key_dest_shmem
xor r8d, r8d
mov edx, 8
jmp fcn.0042c260
Function at 0x42c260
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov rdi, rcx
movsxd r12, edx
mov r13, r8
call sub.msvcrt.dll_strlen
mov r14, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x51]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0041b900
sub rsp, rax
movsxd r15, r14d
movabs rax, 0x656d68732d636367
lea rsi, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, r15
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
movsxd rbx, ebx
mov byte [rsp + 0x2e], 0x2d
call sub.msvcrt.dll_memcpy
lea rax, [rsi + r15 + 0x10]
lea r15d, [r14 + 0x50]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, rsi
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r15d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42c349
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x42c3e2
mov rcx, r12
add r14d, 0x10
call sub.msvcrt.dll_malloc
mov r10d, 0x40
mov rbx, rax
bt rbx, r10
jae 0x42c384
mov r11d, r15d
sub r11d, r10d
movsxd r11, r11d
mov byte [rsi + r11], 0x41
sub r10d, 1
jne 0x42c370
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x42c3df
mov rdx, rsi
movzx ecx, ax
mov r9d, r14d
mov r8d, r15d
call fcn.0042c1e0
cmp rax, rbx
mov rsi, rax
je 0x42c3f9
mov rcx, rbx
call fcn.00425f48
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [r14 + 0x10]
mov rdx, rsi
movzx ecx, ax
mov r8d, r15d
call fcn.0042c1e0
mov rsi, rax
jmp 0x42c3b9
xor edx, edx
mov r8, r12
mov rcx, rbx
call sub.msvcrt.dll_memset
test r13, r13
je 0x42c3b9
mov rcx, rbx
call r13
jmp 0x42c3b9

Function at 0x42dde0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [0x004829e0]
lea rcx, str.__terminate_handler_sh
mov edx, 8
jmp fcn.0041b9c0

Function at 0x42de00
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [0x004829f0]
lea rcx, str.__unexpected_handler_sh
mov edx, 8
jmp fcn.0041b9c0
Function at 0x461880
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
mov rcx, rbp
call fcn.00461760
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x4618d0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x46189a
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400f9860]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400f9870]
mov dword [rax], 1
mov rax, qword [0x1400f9880]
mov dword [rax], 1
mov rax, qword [0x1400f9810]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400f9850]
mov dword [0x14010b00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400f9930]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400f9910]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400f97c0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov r11, qword [rdx + 0x20]
mov r10, qword [rdx + 0x28]
lea rcx, [r10 + 1]
mov qword [rdx + 0x28], rcx
mov al, 1
cmp rcx, r11
jae 0x140001e82
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + rcx]
mov al, 1
cmp edi, 0x2b
je 0x140001e77
cmp edi, 0x2d
jne 0x140001e82
xor eax, eax
add r10, 2
mov qword [rdx + 0x28], r10
mov rcx, r10
cmp rcx, r11
jae 0x14000202a
mov rdi, qword [rdx + 0x18]
movzx r10d, byte [rdi + rcx]
lea rbx, [rcx + 1]
mov qword [rdx + 0x28], rbx
add r10b, 0xd0
cmp r10b, 0xa
jae 0x140002035
movzx r10d, r10b
cmp rbx, r11
jae 0x140001f30
mov ebx, 1
sub rbx, r11
add rcx, 2
jmp 0x140001eec
movzx r11d, r11b
lea r10d, [r10 + r10*4]
lea r10d, [r11 + r10*2]
lea r11, [rbx + rcx]
inc r11
inc rcx
cmp r11, 2
je 0x140001f30
movzx r11d, byte [rdi + rcx - 1]
add r11b, 0xd0
cmp r11b, 0xa
jae 0x140001f30
mov qword [rdx + 0x28], rcx
cmp r10d, 0xccccccb
jle 0x140001ed0
cmp r10d, 0xccccccc
jne 0x140001f18
cmp r11b, 7
jbe 0x140001ed0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
mov rcx, rsi
call sym.serde_json::de::Deserializer_R_::parse_exponent_overflow::h25ef2a7bb8835a3b
jmp 0x140002017
mov ecx, dword [rsp + 0x80]
test al, al
je 0x140001f4c
lea eax, [rcx + r10]
sar eax, 0x1f
add eax, 0x80000000
add ecx, r10d
jmp 0x140001f5c
xor eax, eax
cmp ecx, r10d
setns al
add eax, 0x7fffffff
sub ecx, r10d
cmovo ecx, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1400cc0b0]
subpd xmm1, xmmword [0x1400cc0c0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x135
jb 0x140001fc8
xorpd xmm1, xmm1
movsd xmm2, qword [0x1400cc0d0]
nop word [rax + rax]
ucomisd xmm0, xmm1
jne 0x140001fa8
jnp 0x140002000
test ecx, ecx
jns 0x14000205b
divsd xmm0, xmm2
add ecx, 0x134
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x134
ja 0x140001fa0
mov eax, eax
mov r9, qword [0x1400cb010]
movsd xmm1, qword [r9 + rax*8]
test ecx, ecx
js 0x14000201f
mulsd xmm0, xmm1
movq rax, xmm0
movabs rcx, 0x7fffffffffffffff
and rcx, rax
movabs rax, 0x7ff0000000000000
cmp rcx, rax
je 0x14000205b
test r8b, r8b
jne 0x14000200d
xorpd xmm0, xmmword [0x1400cc0e0]
movsd qword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x140002005
jmp 0x14000200d
mov qword [rsp + 0x28], 5
jmp 0x14000203e
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call sym.serde_json::de::Deserializer_R_::error::h2bdae1aa9342a4ff
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140002017
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call sym.serde_json::de::Deserializer_R_::error::h2bdae1aa9342a4ff
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140002014
Function at 0x14001c0e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
cmp byte [rcx], 0
jne 0x14001c2a1
mov ebx, edx
mov rsi, rcx
cmp byte [rcx + 1], 1
mov r13, qword [rcx + 8]
mov rdi, qword [r13]
mov rax, qword [rdi]
mov r14, qword [rdi + 0x10]
jne 0x14001c137
cmp rax, r14
je 0x14001c26d
mov rax, qword [rdi + 8]
mov byte [rax + r14], 0xa
inc r14
mov qword [rdi + 0x10], r14
mov rbp, qword [r13 + 0x18]
test rbp, rbp
jne 0x14001c160
jmp 0x14001c1ad
sub rax, r14
cmp rax, 1
jbe 0x14001c287
mov rax, qword [rdi + 8]
mov word [rax + r14], 0xa2c
add r14, 2
mov qword [rdi + 0x10], r14
mov rbp, qword [r13 + 0x18]
test rbp, rbp
je 0x14001c1ad
mov r15, qword [r13 + 8]
mov r12, qword [r13 + 0x10]
jmp 0x14001c18e
mov rcx, qword [rdi + 8]
add rcx, r14
mov rdx, r15
mov r8, r12
call sym.memcpy
add r14, r12
mov qword [rdi + 0x10], r14
dec rbp
je 0x14001c1ad
mov rax, qword [rdi]
sub rax, r14
cmp rax, r12
jae 0x14001c170
mov rcx, rdi
mov rdx, r14
mov r8, r12
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov r14, qword [rdi + 0x10]
jmp 0x14001c170
mov byte [rsi + 1], 2
mov rsi, qword [r13]
movzx eax, bl
cmp al, 0x64
jb 0x14001c1e4
lea ecx, [rax + rax*4]
lea eax, [rax + rcx*8]
shr eax, 0xc
imul ecx, eax, 0x64
sub bl, cl
movzx ecx, bl
lea rdx, [0x1400ce336]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + 0x21], cx
xor r14d, r14d
mov ebx, eax
jmp 0x14001c1ef
mov r14d, 2
cmp bl, 0xa
jae 0x14001c1f9
or bl, 0x30
mov byte [rsp + r14 + 0x20], bl
jmp 0x14001c20f
lea rcx, [0x1400ce336]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x21], ax
mov r14d, 1
mov rdi, r14
xor rdi, 3
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x14001c259
lea rdx, [rsp + r14]
add rdx, 0x20
mov rcx, qword [rsi + 8]
add rcx, rbx
mov r8, rdi
call sym.memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
mov byte [r13 + 0x20], 1
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov rbx, qword [rsi + 0x10]
jmp 0x14001c225
mov r8d, 1
mov rcx, rdi
mov rdx, r14
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov r14, qword [rdi + 0x10]
jmp 0x14001c11c
mov r8d, 2
mov rcx, rdi
mov rdx, r14
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf8e533dcb7b71898
mov r14, qword [rdi + 0x10]
jmp 0x14001c144
lea rcx, str.internal_error:_entered_unreachable_code_home_jutilisepingouin_.cargo_registry_src_index.crates.io_6f17d22bba15001f_serde_json_1.0.111_src_ser.rs
lea r8, [0x1400ce420]
mov edx, 0x28
call dbg.panic
int3