joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015500
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140015520
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140015568
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140015514
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140015555

Function at 0x140015590
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x140038370]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140015648
mov rdx, qword [0x1400382e0]
lea rcx, [0x1400382e0]
mov rax, qword [rdx + 8]
test rax, rax
je 0x140015618
cmp rdx, rcx
jne 0x1400155fa
mov qword [rdx], rax
cmp rax, rcx
je 0x1400155ff
nop dword [rax]
test rax, rax
je 0x14001562a
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x1400155e8
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x14001562a
mov rdx, rax
jmp 0x1400155f6
lea rcx, [0x1400383a0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140015666
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, [0x14002b520]
call dbg.__eh_shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x14001562a
Function at 0x140015680
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x140038370]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x1400156a3
lea rax, [0x140038378]
mov ecx, 0x5f
lea rdx, str.__eh_shmem3_gcc_tdm_
lea r8, [rax + 0x15]
jmp 0x1400156eb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400156e8
lea rax, [0x1400383a0]
mov ecx, 0x5f
lea rdx, str.__eh_shmem3_gcc_tdm_
lea r8, [rax + 0x14]
jmp 0x14001571b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140015718
xor ecx, ecx
mov byte [0x1400383b4], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x1400383bd], rdx
lea r8, [0x140038370]
lea rbx, [0x1400383b5]
mov qword [0x1400383cd], rdx
mov qword [0x1400383dd], rdx
mov qword [0x1400383ed], rdx
xor edx, edx
mov qword [0x1400383b5], rax
mov qword [0x1400383c5], rax
mov qword [0x1400383d5], rax
mov qword [0x1400383e5], rax
mov byte [0x1400383f5], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400158f6
lea rcx, [0x1400383a0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140015841
lea rsi, [0x1400382e0]
lea r8, [0x1400383f5]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x1400157ed
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x1400157e0
lea rcx, [0x1400383a0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x1400158e3
lea rcx, [dbg.__eh_shmem3_gcc_tdm_cleanup_local_region]
mov qword [0x1400382e0], rsi
call sym._onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1400382e0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x56
lea rdx, [0x1400383a0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x1400383f5]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140015916
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140015893
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140015880
mov rax, rdx
mov qword [0x1400382e0], rax
lea rsi, [0x1400382e0]
jmp 0x1400158b9
cmp rdx, rsi
je 0x14001581f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400158b0
cmp rdx, rsi
je 0x14001581f
mov qword [rdx + 8], rsi
lea rcx, [dbg.__eh_shmem3_gcc_tdm_cleanup_local_region]
call sym._onexit
jmp 0x14001581f
lea rcx, [0x14002b580]
call dbg.__eh_shmem_get_error
xor eax, eax
jmp 0x140015838
lea rcx, [0x14002b558]
call dbg.__eh_shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x14002b5a8]
call dbg.__eh_shmem_get_error
xor eax, eax
jmp 0x14001589f
Function at 0x140017ce0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14002bd30]
mov rax, qword [rsi]
test rax, rax
je 0x140017d70
cmp qword [rax + 0x30], 0
jne 0x140017d90
lea rbx, [0x140028088]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140017d40
cmp qword [rax + 0x30], 0
jne 0x140017d60
lea rdx, [0x140028088]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je sym.pthread_tls_init.cold
add rsp, 0x28
pop rbx
pop rsi
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140017d22
test rax, rax
jne 0x140017d60
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140017d30
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140017d00
test rax, rax
jne 0x140017d90
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x140017d0b

Function at 0x140017da0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140017eb2
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x140017e8a
add rax, 1
cmp rax, 0x6b
je 0x140017ea7
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140017e80
cmp edx, 0x6a
je 0x140017ea7
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sym.abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x140017e9b
Function at 0x14001b960
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14002bd30]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x14001ba30
cmp qword [rax + 0x60], 0
jne 0x14001ba50
lea rcx, [0x140028078]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x14001ba60
cmp qword [rax + 0x1d8], r12
jne 0x14001ba60
test byte [rax + 0x40], 0xc
jne 0x14001ba60
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x14001ba60
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x14001ba60
mov rax, qword [rbx]
test rax, rax
je 0x14001bac0
cmp qword [rax + 0x60], 0
jne 0x14001bae0
lea rcx, [0x140028078]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x14001baf0
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x14001baf8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x14001b98b
test rax, rax
jne 0x14001ba50
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x14001b996
mov rax, qword [rbx]
test rax, rax
je 0x14001ba90
cmp qword [rax + 0x60], 0
jne 0x14001bab0
lea rcx, [0x140028078]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x14001ba6f
test rax, rax
jne 0x14001bab0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x14001ba7a
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x14001b9fa
test rax, rax
jne 0x14001bae0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x14001ba05
xor eax, eax
jmp 0x14001ba84
mov eax, 0x16
jmp 0x14001ba84
Function at 0x14001bd70
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x14001bfd9
test rdi, rdi
je 0x14001bdaa
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x14001be17
add ebx, 1
cmp ebx, 1
je 0x14001bf20
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x14001bde5
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14001c01f
cmp qword [r12 + 0x30], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x14001bfc2
xor edx, edx
test rsi, rsi
je 0x14001be8f
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x14001bff0
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001bf80
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x14001bf50
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x14001bf30
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
call r13
jmp 0x14001bde5
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001beff
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x14001bed5
mov edx, 0xf
cmp eax, 0xe
jg 0x14001bed5
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x14001bed5
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x14001bf90
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14001c01f
mov qword [r12 + 0x68], 0xffffffffffffffff
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x14001bfce
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x14001c010
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x14001be8f
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
jmp 0x14001bfde
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x14001ca60
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001ca80
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x14001cac8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14001ca74
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14001cab5

Function at 0x14001caf0
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x140038540]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14001cba8
mov rdx, qword [0x140038480]
lea rcx, [0x140038480]
mov rax, qword [rdx + 8]
test rax, rax
je 0x14001cb78
cmp rdx, rcx
jne 0x14001cb5a
mov qword [rdx], rax
cmp rax, rcx
je 0x14001cb5f
nop dword [rax]
test rax, rax
je 0x14001cb8a
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x14001cb48
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x14001cb8a
mov rdx, rax
jmp 0x14001cb56
lea rcx, [0x140038580]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x14001cbc6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x14001cb8a
Function at 0x1400264b0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x30
cmp byte [0x1400281a0], 0
jne 0x1400265ba
mov byte [0x1400281a0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x140026590
mov r12, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [r12], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add r12, rax
mov rcx, r12
call sym.__cxa_demangle
mov ecx, 2
mov rbx, qword [dbg.__acrt_iob_func]
mov r13, rax
call rbx
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 0x140026581
call rbx
mov rcx, r12
mov rdx, rax
call sym.fputs
mov ecx, 2
call rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x140029341]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x14002657c
mov rcx, r13
call sym.free
call sym.__cxa_rethrow
call rbx
mov rcx, r13
mov rdx, rax
call sym.fputs
jmp 0x14002654b
mov ecx, 2
call qword [dbg.__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 [dbg.__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 0x14002664f
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov r12, rax
call rbx
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rbx
mov rdx, rax
mov rcx, r12
call sym.fputs
mov ecx, 2
call rbx
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x1400265b5
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x1400265b5
Function at 0x140016670
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401aa420]
call fcn.1400c02e0
mov eax, edi
add rsp, 0x50
pop rdi
ret

Function at 0x140016b20
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
cmp dword [rsp + 0x50], 0
jne 0x140016b3c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
jmp 0x140016b44
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140016b73
mov byte [rsp + 0x31], 1
jmp 0x140016b78
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x14001ae50
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
lea rdi, [rsp + 0x30]
mov ecx, 0x4c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x170]
cmp qword [rsp + 0x170], 0
je 0x14001ae9d
mov rax, qword [rsp + 0x170]
jmp 0x14001b030
lea rcx, [rsp + 0x40]
call fcn.140004cd0
nop
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cdqe
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14001aed4
lea rdx, [0x1401ae620]
lea rcx, [rsp + 0x40]
call fcn.140053580
lea rcx, [rsp + 0xb8]
call fcn.140044d80
nop
lea rcx, [rsp + 0x108]
call fcn.140044d80
nop
xor r8d, r8d
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x178]
call fcn.140035550
mov qword [rsp + 0x158], rax
xor r8d, r8d
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x180]
call fcn.140035550
mov rcx, qword [rsp + 0x158]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x188]
mov r8, rax
lea rdx, [0x1401ae628]
lea rcx, [rsp + 0x40]
call fcn.1400540e0
mov rcx, qword [rsp + 0x190]
call fcn.14001b050
test rax, rax
jne 0x14001af86
lea rdx, [0x1401ae65c]
lea rcx, [rsp + 0x40]
call fcn.140053580
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x40]
call fcn.140053580
lea rcx, [rsp + 0x40]
call fcn.140052c70
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0xa8], 0
je 0x14001afb4
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
int3
mov r9d, SafeArrayLock
lea r8, [0x1401ae668]
mov rdx, qword [rsp + 0x148]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
test eax, eax
jne 0x14001aff2
mov r8d, 0x41
lea rdx, str.D:HSwin_androidplugins_vprj_winclasslib_sys_baselibswin_basecpp_vol_assert.cpp
lea rcx, [0x1401ae740]
call fcn.1401254d0
xor eax, eax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x108]
call fcn.140004d30
nop
lea rcx, [rsp + 0xb8]
call fcn.140004d30
nop
lea rcx, [rsp + 0x40]
call fcn.140004db0
mov rax, qword [rsp + 0x150]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401b0860]
call fcn.1400c02e0
mov rax, rdi
add rsp, 0x160
pop rdi
ret
Function at 0x140021fe0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x70], 0
je 0x140022049
cmp qword [rsp + 0x58], 0
je 0x140022049
cmp qword [rsp + 0x60], 0
jl 0x140022049
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1f8], 0
jne 0x140022049
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa0], 0
jne 0x140022049
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa8], 0
jne 0x140022049
mov qword [rsp + 0x20], 1
jmp 0x140022052
mov qword [rsp + 0x20], 0
mov r9d, GetAltMonthNames
lea r8, [0x1401b4370]
lea rdx, str.pVolAppRuntimeClass___NULL__hInstance___NULL__npArgC___0__m_hInstance__NULL__m_pVolAppObject__NULL__m_blpComInitSucceeded__FALSE
mov rcx, qword [rsp + 0x20]
call fcn.14001ae00
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x1f8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x200], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x208], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x210], eax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x1400220d0
mov qword [rsp + 0x28], 1
jmp 0x1400220d9
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0xa8], rcx
xor ecx, ecx
call fcn.14003ab70
mov rax, qword [rsp + 0x50]
movsd qword [rax + 0xb0], xmm0
mov rcx, qword [rsp + 0x70]
call fcn.14001a250
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0xa0], rax
call fcn.140012fe0
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xa0]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + 0xa0]
mov qword [rsp + 0x30], rdx
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, rax
mov rax, qword [rsp + 0x38]
call qword [rax + 0x68]
test eax, eax
jne 0x140022198
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xa0]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xa0]
mov rax, qword [rax]
call qword [rax + 0x60]
mov r9d, 0x15d
lea r8, [0x1401b4490]
lea rdx, [0x1401b4148]
xor ecx, ecx
call fcn.14001ae00
mov ecx, 0xffffffff
call fcn.140126350
add rsp, 0x40
pop rdi
ret