joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180032d40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18001d2c0
sub rsp, rax
mov rax, qword [0x180056080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18002f074
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180032d8f
mov rax, rbp
jmp 0x180032e97
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x589d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18003297c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x589d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180032e93
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180032e93
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18003297c
test rax, rax
js 0x180032e93
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180032e93
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180032e85
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180032e85
cmp byte [rcx], 0xd
jne 0x180032e6b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180032e7a
cmp byte [rcx + 1], 0xa
jne 0x180032e7a
inc rcx
jmp 0x180032e7a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x564c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180032e4d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180032e97
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18001c7b0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180032fc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800589d0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x180033017
cmp word [rdx], r13w
jne 0x180033017
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18003301c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180033141
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180033162
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180033055
mov rdx, r9
mov word [rbx], cx
jmp 0x18003307c
cmp r9, r8
jae 0x18003308c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x180033036
jmp 0x180033141
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180033136
cmp dword [rsp + 0x80], esi
je 0x180033136
lea r8, [0x1800589d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18003310e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800330de
mov word [rbx], r13w
jmp 0x18003313e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800330eb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18003313e
cmp word [rsp + 0x70], r13w
jne 0x18003311b
cmp rbx, r14
je 0x1800330d8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180032984
cmp word [rsp + 0x70], r13w
je 0x180033141
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800589d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18003313b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180033141
Function at 0x180037220
Capabilities:
Query environment variable

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
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180037250
xor eax, eax
jmp 0x180037313
mov rbp, rbx
cmp word [rax], si
je 0x180037275
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18003725c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180037258
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180035908
movsxd r14, eax
test eax, eax
jne 0x1800372b3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180037249
mov rcx, r14
call fcn.18002dce0
mov rdi, rax
test rax, rax
jne 0x1800372cc
xor ecx, ecx
call fcn.18002cfd8
jmp 0x1800372a8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180035908
test eax, eax
jne 0x1800372fd
mov rcx, rdi
call fcn.18002cfd8
jmp 0x180037307
xor ecx, ecx
call fcn.18002cfd8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18003b9d8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18002f5c4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18003ba79
cmp ebx, dword [rsp + 0x30]
je 0x18003ba72
test esi, esi
je 0x18003ba72
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18003ba4d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18003ba5a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18003ba37
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18003ba5e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18003ba7b
mov eax, 1
jmp 0x18003ba7b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003eaac
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180032984
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180032984
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18003ebfc
cmp rax, 0xffffffffffffffff
je 0x18003ebfc
xor edi, edi
test rbp, rbp
jle 0x18003eba7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18002cf60
mov rbx, rax
test rax, rax
jne 0x18003eb34
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18003eb9d
mov edx, 0x8000
mov ecx, r14d
call fcn.18003e930
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18003240c
cmp eax, 0xffffffff
je 0x18003eb7d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18003eb44
mov edx, r15d
mov ecx, r14d
call fcn.18003e930
jmp 0x18003eb9d
cmp byte [rsi + 0x38], dil
je 0x18003eb94
cmp dword [rsi + 0x34], 5
jne 0x18003eb94
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18003eb9d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18002cfd8
jmp 0x18003ec10
jns 0x18003ec10
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180032984
cmp rax, 0xffffffffffffffff
jne 0x18003ebc8
cmp byte [rsi + 0x30], dil
je 0x18003ec10
mov edi, dword [rsi + 0x2c]
jmp 0x18003ec10
mov ecx, r14d
call fcn.180037bd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18003ec10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18003ec10
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18003ec09
mov eax, dword [rsi + 0x2c]
jmp 0x18003ec0e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180032984
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x18003f430
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18003f458
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18003f458
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400034b0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [r8], r15
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140003521
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140003521
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x1400034ff
test r9, r9
lea rax, [rdx - 2]
lea r8, [0x140059910]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov word [rax], r15w
call fcn.140001ac4
mov ebx, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
jne 0x140003582
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000356d
mov esi, r15d
jmp 0x1400035b3
mov rcx, qword [rbp + 0x168]
mov edx, 0xcd
call fcn.140003324
mov esi, eax
jmp 0x1400035b3
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r15d
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.140003370
mov esi, eax
test eax, eax
jns 0x1400035ea
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xd3
call fcn.140003304
test rdi, rdi
jne 0x140003681
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14004fc30
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x140059918]
lea rcx, [rsp + 0x30]
call fcn.140001ac4
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
jne 0x140003627
mov rcx, qword [rbp + 0x168]
mov edx, 0xd9
call fcn.140003324
mov esi, eax
jmp 0x140003681
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140003370
mov esi, eax
test eax, eax
jns 0x14000365d
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xdb
call fcn.140003304
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400036a5
jmp 0x140003681
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140003693
movsxd rcx, dword [rsp + 0x20]
mov esi, r15d
movsxd rax, dword [rsp + 0x24]
shl rcx, 0x1f
or rcx, rax
mov qword [r14], rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400036b7
jmp 0x1400035bc
mov rcx, qword [rbp + 0x168]
mov edx, 0x9cd
call fcn.140003340
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x9cd
call fcn.140003340
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x9cd
call fcn.140003340
int3
Function at 0x140005788
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x250
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor ebp, ebp
mov rsi, rcx
xor eax, eax
lock cmpxchg dword [0x14009a710], ebp
mov ecx, eax
jne 0x1400057ff
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400057f2
lea rdx, str.RemoveDllDirectory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [rbp + 2]
test rax, rax
jne 0x1400057f7
mov ecx, 1
mov eax, ecx
xchg dword [0x14009a710], eax
cmp ecx, 1
jne 0x140005871
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400058e6
cmp word [rsp + 0x20], bp
je 0x1400058e6
lea rcx, [rsp + 0x20]
call fcn.1400019cc
mov rdi, rax
test rax, rax
je 0x1400058e6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140005889
xor edx, edx
lea rcx, str.User32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rbx, rbx
je 0x1400058e6
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindow]
mov rcx, rbx
test eax, eax
je 0x1400058bb
lea rdx, str.GetDpiForWindow
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400058e6
mov rcx, rsi
call qword [case.0x14000ba18.0]
jmp 0x1400058d3
lea rdx, str.GetDpiForSystem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400058e6
call qword [case.0x14000ba18.0]
movd xmm6, eax
mov rcx, rbx
cvtdq2pd xmm6, xmm6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140005912
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 0x58
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, rbx
xor ecx, ecx
movd xmm6, eax
cvtdq2pd xmm6, xmm6
call qword [sym.imp.USER32.dll_ReleaseDC]
divsd xmm6, qword [0x1400664c0]
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14004fc30
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
Function at 0x1400131b0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
mov r15d, 1
xor r9d, r9d
mov edx, r15d
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
xor ebx, ebx
test rax, rax
jne 0x140013208
or eax, 0xffffffff
jmp 0x14001329c
cmp dword [rsi + 0x50], ebx
jne 0x140013291
lea rcx, [rsi + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x1388
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov r9d, 0xff
xor r8d, r8d
mov edx, 0x40000003
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001337d
mov qword [rbp - 0x29], r14
lea rdx, [rbp - 0x41]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140013285
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1400132c4
cmp eax, 0x3e5
je 0x1400132e6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004fc30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x140013285
jmp 0x1400132e6
mov edx, 0x32
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400132ef
mov eax, dword [rsi + 0x50]
test eax, eax
je 0x1400132d4
jmp 0x14001335d
mov eax, r15d
inc r15d
mov dword [rbp - 0x59], eax
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x49], rsi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_7f68b6e091607ea3bcac2b399d286e91___void___.0
mov qword [rbp - 0x19], rax
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x11], xmm0
movsd xmm1, qword [rbp - 0x49]
movsd qword [rbp - 1], xmm1
lea rax, [rbp - 0x19]
mov qword [rbp + 0x1f], rax
lea rcx, [rsi + 0x58]
lea r8, [rbp - 0x19]
xor edx, edx
call qword [sym.imp.zUnifyWebView.dll_public:_void___cdecl_TaskSyncWindow::HandTask_int__class_std::function_void____cdecl___void___const____ptr64____ptr64]
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140013356
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14000ba18.0]
or rdi, 0xffffffffffffffff
mov eax, dword [rsi + 0x50]
test eax, eax
je 0x140013211
cmp rdi, 0xffffffffffffffff
je 0x140013291
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140013291
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140013200
Function at 0x14001ae30
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], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
call fcn.140026848
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.1400107e8
nop
or r12d, 0xffffffff
cmp qword [rbp - 0x40], 0
jne 0x14001ae7a
mov edi, r12d
jmp 0x14001af7b
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14001615c
nop
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
call fcn.14002cd94
xor r14d, r14d
mov rdi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
sub rdi, rbx
sar rdi, 2
test rdi, rdi
je 0x14001aee8
mov rsi, rbx
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x14001aed9
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14d
add rsi, 4
movsxd rax, r14d
cmp rax, rdi
jb 0x14001aeaf
xor edi, edi
test rbx, rbx
je 0x14001af33
mov rax, qword [rbp - 0x10]
sub rax, rbx
sar rax, 2
lea rdx, [rax*4]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001af2a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001af2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140050244
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001af7b
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x14001af7b
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14000ba18.0]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14001af7b
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14000ba18.0]
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14001afc2
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x14001afc2
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14000ba18.0]
mov ecx, r12d
lock xadd dword [rbx + 0xc], ecx
add ecx, r12d
jne 0x14001afc2
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x14000ba18.0]
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001e968
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memset
or rbx, 0xffffffffffffffff
xor r15d, r15d
mov rdi, rbx
test rbp, rbp
je 0x14001eaf3
mov rax, rbx
inc rax
cmp word [rbp + rax*2], r15w
jne 0x14001e9bb
test rax, rax
je 0x14001eaf3
lea r8, [0x14005dbdc]
mov rcx, rbp
call fcn.14001e67c
mov rsi, rax
test rax, rax
jne 0x14001e9f4
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14001eae3
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, rbx
je 0x14001eacf
test byte [rsp + 0x20], 0x10
je 0x14001ea45
lea rdx, [0x14005ea78]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001eab9
lea rdx, [0x14005ea70]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001eab9
lea r8, [rsp + 0x4c]
mov rcx, rbp
call fcn.14001e67c
mov rbx, rax
test rax, rax
je 0x14001eab9
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x14001ea94
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001ea7b
and eax, 0x410
cmp eax, 0x410
je 0x14001ea89
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.14001e968
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14001eaa5
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rax, r14
call qword [case.0x14000ba18.0]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001ea0e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x14001eb00
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14004fc30
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001eb28
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14001eb47
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001eb5c
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001eb75
mov ecx, 0x410
and eax, ecx
cmp eax, ecx
je 0x14001eb88
lea rdx, [0x14001e790]
mov rcx, rbx
call fcn.14001e968
test eax, eax
je 0x14001eb91
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add rsp, 0x20
pop rbx
ret