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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
movsxd rax, dword [0x14014ae20]
lea ecx, [rax + 1]
xor edx, edx
cmp rax, 0xf
cmovl edx, ecx
mov dword [0x14014ae20], edx
lea rdi, [rax + rax*2]
lea rbx, [0x14014aca0]
cmp dword [rbx + rdi*8 + 0x10], esi
jle 0x14006e5da
mov rax, qword [rbx + rdi*8 + 8]
jmp 0x14006e5fe
inc esi
movsxd rdx, esi
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rbx + rdi*8 + 8], rax
test rax, rax
je 0x14006e606
lea rcx, [rbx + rdi*8]
add rcx, 0x10
mov dword [rcx], esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
cmp dword [0x14014a578], 2
jg 0x14006e63d
mov dword [rsp + 0x28], esi
lea rax, [0x140123720]
mov qword [rsp + 0x20], rax
lea rdx, str.C:_buildbot_src_android_emu_33_release_external_qemu_android_android_emu_base_android_utils_misc.c
lea r9, str._s:_could_not_allocate__d_bytes
mov ecx, 2
mov r8d, 0x79
call fcn.1400385d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x14006f090
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x130
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebx, eax
lea eax, [rbx - 0x104]
cmp eax, 0xfffffefc
ja 0x14006f0cf
lea r8, str.load_system_library
lea r9, str.program_assertion_failed___could_not_get_system_directory
jmp 0x14006f0f1
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add eax, ebx
add eax, 6
cmp eax, 0x104
jb 0x14006f102
lea r8, str.load_system_library
lea r9, str.program_assertion_failed___library_path_buffer_overflow
mov rcx, rsi
mov edx, 1
call fcn.140055400
xor eax, eax
jmp 0x14006f126
mov eax, ebx
lea rcx, [rsp + rax]
add rcx, 0x20
lea rdx, str._s.dll
mov r8, rdi
call fcn.140038270
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
add rsp, 0x130
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006f140
Capabilities:
Hash data using djb2

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test rcx, rcx
je 0x14006f1b7
mov rsi, rcx
movzx edx, byte [rcx]
test dl, dl
je 0x14006f1be
lea rcx, [rsi + 1]
mov eax, 0x1505
nop word cs:[rax + rax]
movsx edx, dl
mov r8d, eax
shl r8d, 5
add eax, r8d
add eax, edx
movzx edx, byte [rcx]
inc rcx
test dl, dl
jne 0x14006f170
test eax, eax
je 0x14006f1c5
mov ecx, eax
imul rcx, rcx, 0xc0906d
shr rcx, 0x20
mov edx, eax
sub edx, ecx
shr edx, 1
add edx, ecx
shr edx, 9
imul ecx, edx, 0x3fd
sub eax, ecx
mov ebx, 1
cmovne ebx, eax
jmp 0x14006f1ca
xor edi, edi
jmp 0x14006f304
mov ebx, 0x114
jmp 0x14006f1ca
mov ebx, 1
lea rcx, [0x14014af40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14014af68]
mov ecx, ebx
shl rcx, 4
mov edx, dword [rax + rcx]
mov edi, ebx
test edx, edx
je 0x14006f28c
mov rdi, qword [rax + rcx + 8]
cmp edx, ebx
jne 0x14006f20d
mov rcx, rsi
mov rdx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14006f313
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
lea r8, str.htab_hash
lea r9, str.hash_collision___s_vs__s_
xor ecx, ecx
mov edx, 4
call fcn.140055400
mov ebp, ebx
sub ebp, 0x3fb
cmovb ebp, ebx
inc ebp
mov r14, qword [0x14014af68]
mov edi, ebx
jmp 0x14006f255
test r15d, r15d
je 0x14006f28c
lea eax, [rdi + 0x3fd]
cmp edi, ebp
cmova eax, edi
mov edi, eax
sub edi, ebp
cmp edi, ebx
je 0x14006f28a
mov eax, edi
shl rax, 4
mov r15d, dword [r14 + rax]
cmp r15d, ebx
jne 0x14006f250
mov rdx, qword [r14 + rax + 8]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006f250
jmp 0x14006f2f7
mov edi, ebx
cmp dword [0x14014af70], 0x3fd
jb 0x14006f2b0
mov dword [rsp + 0x20], 0x3fd
lea r8, str.htab_hash
lea r9, str.hash_table_is_full___lu_entries_
jmp 0x14006f2e9
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, qword [0x14014af68]
mov edx, edi
shl rdx, 4
mov qword [rcx + rdx + 8], rax
test rax, rax
je 0x14006f2db
mov dword [rcx + rdx], ebx
inc dword [0x14014af70]
jmp 0x14006f2f7
lea r8, str.htab_hash
lea r9, str.could_not_duplicate_string_for_hash_table
xor edi, edi
xor ecx, ecx
mov edx, 1
call fcn.140055400
lea rcx, [0x14014af40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov edi, ebx
jmp 0x14006f2f7
Function at 0x140070dc0
Capabilities:
Allocate thread local storage

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rcx + 0xe0]
mov r12, qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, rdi
call r12
lea rbx, [rsi + 0x108]
mov rcx, rbx
call r12
lea r14, [rsi + 0x138]
mov rcx, r14
call r12
lea rcx, [rsi + 0x160]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
lea r15, [rsi + 0x168]
mov rcx, r15
call r12
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rsi + 0x134], eax
lea rax, [rsi + 0xd0]
mov qword [rsi + 0xd8], rax
mov qword [rsi + 0xd0], rax
lea rax, [rsi + 0x198]
mov qword [rsi + 0x1a0], rax
mov qword [rsi + 0x198], rax
lea rax, [rsi + 0x1a8]
mov qword [rsi + 0x1b0], rax
mov qword [rsi + 0x1a8], rax
lea rax, [rsi + 0x1c8]
mov qword [rsi + 0x1d0], rax
mov qword [rsi + 0x1c8], rax
lea rax, [rsi + 0x1d8]
mov qword [rsi + 0x1e0], rax
mov qword [rsi + 0x1d8], rax
lea r13, [rsi + 0x10]
mov rcx, r13
call fcn.140072ce0
test eax, eax
js 0x140070ee2
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
xor r8d, r8d
call fcn.140070f80
test eax, eax
js 0x140070ee7
lea rbp, [rsi + 0x18]
mov rcx, rbp
call fcn.140072e00
lea r8, str.usbi_io_init
test eax, eax
je 0x140070eec
lea r9, str.timer_not_available_for_timeouts
xor r12d, r12d
xor ecx, ecx
mov edx, 4
call fcn.140055400
jmp 0x140070f61
mov r12d, eax
jmp 0x140070f36
mov r12d, eax
jmp 0x140070f2e
lea r9, str.using_timer_for_timeouts
xor r12d, r12d
xor ecx, ecx
mov edx, 4
call fcn.140055400
mov rdx, qword [rsi + 0x18]
mov rcx, rsi
xor r8d, r8d
call fcn.140070f80
test eax, eax
jns 0x140070f61
mov rcx, rbp
mov ebp, eax
call fcn.140072e60
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.140071050
mov r12d, ebp
mov rcx, r13
call fcn.140072d40
mov r13, qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, rdi
call r13
mov rcx, rbx
call r13
mov rcx, r14
call r13
mov rcx, r15
call r13
mov ecx, dword [rsi + 0x134]
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, r12d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140073230
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r15d, r9d
mov r12d, r8d
mov ebx, edx
mov rdi, rcx
mov dword [rsp + 0x34], 0
mov rax, qword [rcx + 0x40]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax + 0x134]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, 0xfffffffa
test rax, rax
jne 0x140073389
xor ecx, ecx
call fcn.140071240
mov ebp, 0xfffffff5
test rax, rax
je 0x140073389
mov rsi, rax
movzx r14d, word [rsp + 0xb0]
lea rcx, [r14 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je case.0x140073376.2
mov r13, rax
mov ebp, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rsp + 0xa0]
mov byte [r13], bl
mov byte [r13 + 1], r12b
mov word [r13 + 2], r15w
mov r15, rcx
mov word [r13 + 4], ax
movzx eax, word [rsp + 0xb0]
mov word [r13 + 6], ax
test bl, bl
js 0x1400732fb
mov rcx, r13
add rcx, 8
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], rdi
mov word [rsi + 9], 0
mov dword [rsi + 0xc], ebp
mov qword [rsi + 0x30], r13
movzx eax, word [r13 + 6]
add eax, 8
mov dword [rsi + 0x14], eax
lea rax, [rsp + 0x34]
mov qword [rsi + 0x28], rax
lea rax, [0x140073400]
mov qword [rsi + 0x20], rax
mov byte [rsi + 8], 2
mov rcx, rsi
call fcn.140071350
test eax, eax
js 0x14007337f
mov rcx, rsi
call fcn.140073440
test bl, bl
jns 0x14007335a
mov rdx, qword [rsi + 0x30]
add rdx, 8
movsxd r8, dword [rsi + 0x18]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi + 0x10]
cmp rax, 6
ja case.default.0x140073376
mov ebp, 0xfffffff9
lea rcx, [0x1400733e4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebp, 0xffffffff
jmp case.0x140073376.2
mov ebp, eax
mov rcx, rsi
call fcn.1400712d0
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rdi + 0x40]
mov rcx, qword [rcx + 0x30]
mov dword [rsp + 0x20], eax
lea r8, str.libusb_control_transfer
lea r9, str.unrecognised_status_code__d
mov edx, 2
call fcn.140055400
mov ebp, 0xffffff9d
jmp case.0x140073376.2
mov ebp, dword [rsi + 0x18]
jmp case.0x140073376.2
mov ebp, 0xfffffff7
jmp case.0x140073376.2
mov ebp, 0xfffffffc
jmp case.0x140073376.2
mov ebp, 0xfffffff8
jmp case.0x140073376.2
Function at 0x140073520
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, r9d
mov r14, r8
mov ebp, edx
mov rdi, rcx
mov dword [rsp + 0x34], 0
mov rax, qword [rcx + 0x40]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax + 0x134]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15d, 0xfffffffa
test rax, rax
jne 0x140073624
xor ecx, ecx
call fcn.140071240
test rax, rax
je 0x1400735e5
mov rsi, rax
movzx eax, byte [rsp + 0xa0]
mov ecx, dword [rsp + 0x98]
mov qword [rsi], rdi
mov byte [rsi + 9], bpl
mov dword [rsi + 0xc], ecx
mov qword [rsi + 0x30], r14
mov dword [rsi + 0x14], ebx
lea rcx, [rsp + 0x34]
mov qword [rsi + 0x28], rcx
lea rcx, [0x140073400]
mov qword [rsi + 0x20], rcx
mov byte [rsi + 0xa], al
mov rcx, rsi
call fcn.140071350
test eax, eax
js 0x1400735ed
mov rbx, qword [rsp + 0x90]
mov rcx, rsi
call fcn.140073440
test rbx, rbx
je 0x1400735ce
mov eax, dword [rsi + 0x18]
mov dword [rbx], eax
movsxd rax, dword [rsi + 0x10]
cmp rax, 7
jae 0x1400735f2
lea rcx, [0x140124e9c]
mov r15d, dword [rcx + rax*4]
jmp 0x14007361c
mov r15d, 0xfffffff5
jmp 0x140073624
mov r15d, eax
jmp 0x14007361c
mov rcx, qword [rdi + 0x40]
mov rcx, qword [rcx + 0x30]
mov dword [rsp + 0x20], eax
lea r8, str.do_sync_bulk_transfer
lea r9, str.unrecognised_status_code__d
mov edx, 2
call fcn.140055400
mov r15d, 0xffffff9d
mov rcx, rsi
call fcn.1400712d0
mov eax, r15d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14007d730
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x14007d8df
mov rsi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.14007d8f0
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 8]
mov r8, qword [rax]
cmp r8, rdi
je 0x14007d8d2
movabs rax, 0xcbf29ce484222325
movabs rcx, 0x100000001b3
jmp 0x14007d7d1
mov qword [r9 + r10*8], rdx
mov qword [r9 + rbx*8], rdx
cmp r8, rdi
je 0x14007d8d2
mov rdx, r8
movzx r8d, byte [r8 + 0x10]
xor r8, rax
imul r8, rcx
movzx r9d, byte [rdx + 0x11]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 0x12]
xor r8, r9
imul r8, rcx
movzx r11d, byte [rdx + 0x13]
xor r11, r8
imul r11, rcx
and r11, qword [rsi + 0x30]
mov r8, qword [rdx]
mov r9, qword [rsi + 0x18]
lea r10, [r11 + r11]
lea rbx, [r11 + r11]
inc rbx
shl r11, 4
mov r11, qword [r9 + r11]
cmp r11, rdi
je 0x14007d7c0
mov r14, qword [r9 + rbx*8]
mov ebp, dword [rdx + 0x10]
cmp ebp, dword [r14 + 0x10]
jne 0x14007d870
mov r10, qword [r14]
cmp r10, rdx
je 0x14007d7c4
mov r11, qword [rdx + 8]
mov qword [r11], r8
mov r14, qword [r8 + 8]
mov qword [r14], r10
mov r15, qword [r10 + 8]
mov qword [r15], rdx
mov qword [r10 + 8], r14
mov qword [r8 + 8], r11
mov qword [rdx + 8], r15
jmp 0x14007d7c4
cmp r11, r14
je 0x14007d8a8
mov r14, qword [r14 + 8]
cmp ebp, dword [r14 + 0x10]
jne 0x14007d870
mov r9, qword [r14]
mov r10, qword [rdx + 8]
mov qword [r10], r8
mov r11, qword [r8 + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], rdx
mov qword [r9 + 8], r11
mov qword [r8 + 8], r10
mov qword [rdx + 8], rbx
jmp 0x14007d7c8
mov rbx, qword [rdx + 8]
mov qword [rbx], r8
mov r14, qword [r8 + 8]
mov qword [r14], r11
mov r15, qword [r11 + 8]
mov qword [r15], rdx
mov qword [r11 + 8], r14
mov qword [r8 + 8], rbx
mov qword [rdx + 8], r15
mov qword [r9 + r10*8], rdx
jmp 0x14007d7c8
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14007dcf0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rdx + 8], 0
je 0x14007ddbc
mov rdi, rcx
cmp dword [rcx + 8], 0
jne 0x14007ddbc
mov rsi, rdx
mov rbx, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
nop dword [rax]
call rbx
mov ebp, dword [rax]
call rbx
mov dword [rax], 0
mov r9, qword [rdi]
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
mov edx, 1
call r14
test rax, rax
je 0x14007dd70
add qword [rdi + 0x10], rax
mov rcx, qword [rsi + 8]
sub rcx, rax
jb 0x14007ddc9
add qword [rsi], rax
mov qword [rsi + 8], rcx
jmp 0x14007dda0
call rbx
cmp dword [rax], 4
je 0x14007dda0
call rbx
cmp dword [rax], 0
je 0x14007dd87
call rbx
mov eax, dword [rax]
mov dword [rdi + 8], eax
jmp 0x14007dda0
mov rcx, qword [rdi]
call r15
test eax, eax
je 0x14007dda0
mov dword [rdi + 8], 9
nop dword [rax + rax]
call rbx
cmp dword [rax], 0
jne 0x14007ddab
call rbx
mov dword [rax], ebp
cmp qword [rsi + 8], 0
je 0x14007ddbc
cmp dword [rdi + 8], 0
je 0x14007dd30
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
ud2
Function at 0x1400d3990
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
mov r10d, dword [rsp + 0x50]
pcmpeqb xmm5, xmm5
psllw xmm5, 8
mov eax, 0x80808080
movd xmm6, eax
pshufd xmm6, xmm6, 0
mov eax, 0x807f807f
movd xmm7, eax
pshufd xmm7, xmm7, 0
sub rcx, r8
sub rdx, r8
sub r9, r8
movq xmm0, qword [r8]
punpcklbw xmm0, xmm0
pxor xmm0, xmm5
movq xmm1, qword [rcx + r8]
movq xmm2, qword [rdx + r8]
punpcklbw xmm1, xmm2
psubb xmm1, xmm6
pmaddubsw xmm0, xmm1
paddw xmm0, xmm7
psrlw xmm0, 8
packuswb xmm0, xmm0
movq qword [r9 + r8], xmm0
lea r8, [r8 + 8]
sub r10d, 8
jg 0x1400d39d0
mov dword [rsp + 0x50], r10d
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
add rsp, 0x28
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
movabs al, byte [0x2a73977327b3e31d]
pop rsi
in al, dx
invalid
Function at 0x14000c2f0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016cf0], rbx
je 0x14000c357
cmp rax, rbx
jne 0x14000c34a
mov ebx, 1
mov esi, ebx
jmp 0x14000c35c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c32f
mov ebx, 1
mov eax, dword [0x140016cf8]
cmp eax, ebx
jne 0x14000c374
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000c3e0
mov eax, dword [0x140016cf8]
test eax, eax
jne 0x14000c3d5
mov dword [0x140016cf8], ebx
lea r15, [0x14000f0a8]
lea rdi, [0x14000f090]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c3c7
test eax, eax
jne 0x14000c3cb
cmp qword [rdi], r14
je 0x14000c3bc
mov rax, qword [rdi]
mov rcx, qword [0x14000f008]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c39e
test eax, eax
je 0x14000c3db
mov eax, 0xff
jmp 0x14000c536
mov dword [0x140016400], ebx
mov edi, 0x1f
mov eax, dword [0x140016cf8]
cmp eax, ebx
jne 0x14000c407
lea rdx, [0x14000f088]
lea rcx, [0x14000f010]
call sub.msvcrt.dll__initterm
mov dword [0x140016cf8], 2
test esi, esi
jne 0x14000c415
mov rax, r14
xchg qword [0x140016cf0], rax
cmp qword [0x140016d10], r14
je 0x14000c448
lea rcx, [0x140016d10]
call fcn.14000ca80
test eax, eax
je 0x14000c448
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016d10]
mov r9, qword [0x14000f008]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c461
mov eax, 0xff
jmp 0x14000c536
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c4e7
test ax, ax
je 0x14000c47c
test edx, edx
jne 0x14000c4e7
sub ax, bx
cmp ax, di
ja 0x14000c492
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c47c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400044cc
mov dword [0x1400163fc], eax
cmp dword [0x140016420], r14d
jne 0x14000c4d0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140016400], r14d
jne 0x14000c4e5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163fc]
jmp 0x14000c536
cmp ax, 0x22
jne 0x14000c4fb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c46a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140188000
add rsp, 0x28
jmp 0x14000c2f0
Function at 0x17940b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01794237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x17940e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x17940c7
add dl, dl
jne 0x17940ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x179414e
xor eax, eax
add dl, dl
jne 0x17940fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1794205
add dl, dl
jne 0x179410e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x179411b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1794128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1794135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1794142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x17940d6
mov eax, 1
add dl, dl
jne 0x179415e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x179416b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1794153
sub eax, ebx
mov ebx, 1
jne 0x17941a4
mov ecx, 1
add dl, dl
jne 0x1794186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1794193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x179417b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x17940d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x17941c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x17941cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x17941b5
cmp eax, 0x7d00
jae 0x17941f3
cmp eax, 0x500
jb 0x17941ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x17940d6
cmp eax, 0x7f
ja 0x17941f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x17940d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x179422a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x17940d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20