joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017910
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 [0x140076010]
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 0x140017968
or eax, 0xffffffff
jmp 0x1400179fc
cmp dword [rsi + 0x50], ebx
jne 0x1400179f1
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 0x140017add
mov qword [rbp - 0x29], r14
lea rdx, [rbp - 0x41]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400179e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140017a24
cmp eax, 0x3e5
je 0x140017a46
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.140042f10
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 0x1400179e5
jmp 0x140017a46
mov edx, 0x32
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140017a4f
mov eax, dword [rsi + 0x50]
test eax, eax
je 0x140017a34
jmp 0x140017abd
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 0x140017ab6
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400118dc.0]
or rdi, 0xffffffffffffffff
mov eax, dword [rsi + 0x50]
test eax, eax
je 0x140017971
cmp rdi, 0xffffffffffffffff
je 0x1400179f1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400179f1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140017960
Function at 0x14001efa0
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 [0x140076010]
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 0x14001f12b
mov rax, rbx
inc rax
cmp word [rbp + rax*2], r15w
jne 0x14001eff3
test rax, rax
je 0x14001f12b
lea r8, [0x14004ed58]
mov rcx, rbp
call fcn.14001ed94
mov rsi, rax
test rax, rax
jne 0x14001f02c
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14001f11b
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, rbx
je 0x14001f107
test byte [rsp + 0x20], 0x10
je 0x14001f07d
lea rdx, [0x140050598]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001f0f1
lea rdx, [0x1400505b0]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001f0f1
lea r8, [rsp + 0x4c]
mov rcx, rbp
call fcn.14001ed94
mov rbx, rax
test rax, rax
je 0x14001f0f1
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x14001f0cc
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001f0b3
and eax, 0x410
cmp eax, 0x410
je 0x14001f0c1
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.14001efa0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14001f0dd
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rax, r14
call qword [case.0x1400118dc.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 0x14001f046
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 0x14001f138
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140042f10
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14001f17f
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 0x14001f194
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001f1ad
mov ecx, 0x410
and eax, ecx
cmp eax, ecx
je 0x14001f1c0
lea rdx, [0x14001eeb0]
mov rcx, rbx
call fcn.14001efa0
test eax, eax
je 0x14001f1c9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add rsp, 0x20
pop rbx
ret
Function at 0x140026750
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov edi, r9d
mov rsi, rdx
mov rbx, rcx
cmp dword [rcx + 8], 0
je 0x140026778
mov eax, 1
jmp 0x1400268ef
call qword [sym.imp.zUnifyWebView.dll_public:_static_class_UnifyWebView::WebView2Runtime____ptr64___cdecl_UnifyWebView::WebView2Runtime::GetInstance_void_]
mov rcx, rax
call qword [sym.imp.zUnifyWebView.dll_public:_int___cdecl_UnifyWebView::WebView2Runtime::LoadWebView2LoaderDll_void____ptr64]
test eax, eax
je 0x1400268ed
mov dword [rbx + 0x54], edi
mov dword [rbx + 0x50], 0x10000
lea rcx, [rbx + 0x28]
mov rdx, rsi
call qword [reloc.Cmmlib.dll___4__CStringT__W_Cmm__QEAAAEAV01_AEBV01__Z]
nop
lea rdx, [0x14004b220]
mov esi, 0x18
mov ecx, esi
call fcn.140043814
mov rdi, rax
test rax, rax
je 0x1400267dd
and qword [rax + 0x10], 0
lea rax, vtable.Webview::EdgeBrowserHandler.0
mov qword [rdi], rax
and qword [rdi + 8], 0
and qword [rdi + 0x10], 0
jmp 0x1400267df
xor edi, edi
mov rcx, rsi
call fcn.140043478
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov esi, 1
mov dword [rax + 8], esi
mov dword [rax + 0xc], esi
lea rcx, vtable.std::_Ref_count_class_Webview::EdgeBrowserHandler_.0
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
mov qword [rbx + 0x58], rdi
mov rdi, qword [rbx + 0x60]
mov qword [rbx + 0x60], rax
test rdi, rdi
je 0x140026853
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, esi
jne 0x140026853
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400118dc.0]
or eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, esi
jne 0x140026853
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400118dc.0]
cmp qword [rbx + 0x58], 0
je 0x1400268ed
call fcn.140036678
mov rdi, rax
mov cl, byte [rax + 1]
test cl, cl
je 0x1400268c0
xor ecx, ecx
xchg byte [rax + 1], cl
mov edx, esi
xchg byte [rax], dl
mov rcx, rsi
call fcn.140043478
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140036730]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400268dc
cmp dword [rdi + 0x10], 0
jne 0x1400268d5
movaps xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rdi + 8], xmm0
mov dword [rbx + 8], esi
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rbx + 0xf8], rax
mov al, sil
jmp 0x1400268ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
and dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor al, al
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400321d0
Capabilities:
Write file on windows

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, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140032201
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140032274
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140032218
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003221a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14003226e
test ecx, ecx
jle 0x14003224e
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
add r14, rbp
test rbx, rbx
jle 0x14003226e
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14003226e
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140032290
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400322bd
xor eax, eax
jmp 0x1400323ac
cmp qword [rcx + 0x68], 0
je 0x1400322cf
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1400323ac
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x1400322e6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400322e8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140032315
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rsi
add r14, rbx
sub rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rsi + 0x80], 0
mov rbx, rbp
je 0x1400323a6
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140032353
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
jmp 0x140032381
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x1400323c5
cmp rbp, r15
ja 0x14003235b
test rbx, rbx
je 0x1400323a6
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rdi, rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
sub rdi, rbp
jmp 0x1400323a9
Function at 0x140032790
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140076010]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1400327c9
xor eax, eax
jmp 0x1400328dc
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400327f2
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, qword [rax]
cmp qword [rax], r8
jae 0x1400327f2
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x1400328dc
cmp qword [rcx + 0x80], 0
je 0x1400328da
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14003282d
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140032851
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
cmovne edi, esi
jmp 0x1400328da
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003289f
sub eax, 1
je 0x14003289f
cmp eax, 2
jne 0x1400328da
movsx ecx, byte [rbp - 0x40]
jmp 0x14003283a
mov r14, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1400328ca
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x1400328da
lea rax, [rbp - 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x30], rax
mov eax, esi
jne 0x1400328dc
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140042f10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140033040
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140076010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400330b6
cmp byte [rcx + 0x71], 0
je 0x1400330b6
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x18]
call qword [case.0x1400118dc.0]
cmp eax, 0xffffffff
je 0x14003310b
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400330d0
sub eax, 1
je 0x1400330d4
cmp eax, 2
jne 0x14003310b
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140042f10
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140033102
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14003310b
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400330b8
xor al, al
jmp 0x1400330b8
Function at 0x140036860
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140076010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
test rcx, rcx
jne 0x14003688e
xor eax, eax
jmp 0x140036a0c
mov qword [rbp - 0x11], 0xf
mov qword [rbp - 0x19], SHCreateMemStream
movsd xmm0, qword [str.channelport]
movsd qword [rbp - 0x29], xmm0
movzx eax, word [0x1400534f8]
mov word [rbp - 0x21], ax
mov al, byte [0x1400534fa]
mov byte [rbp - 0x1f], al
mov byte [rbp - 0x1e], bl
lea r8, [rbp - 0x29]
lea rdx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Cmm::CommandLine::GetSwitchValueASCII_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14003690f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003690a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003690a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400437d4
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], bl
cmp qword [rbp + 0xf], rbx
je 0x1400369cc
lea rdx, str.com.zoom.ipc.edgewebview2server
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rdx, [rbp - 1]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::AssignOther_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140086620], rax
test rax, rax
je 0x1400369c1
Function at 0x140039340
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x4e70
call fcn.1400444a0
sub rsp, rax
mov rax, qword [0x140076010]
xor rax, rsp
mov qword [rsp + 0x4e60], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x3e80
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
mov r8d, 0x3e80
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x140039456
lea rax, [rsp + 0x3ec0]
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rax
mov edi, 0xfa0
mov eax, dword [rsp + 0x20]
mov word [rsp + 0x2a], di
test rax, 0xfffffffffffffff8
jbe 0x14003944f
nop
mov r8, rdi
lea rcx, [rsp + 0x3ec0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x3ec0]
mov r8d, 0x7cf
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x3ec0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140039410
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x1400760b0]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.140039480
test eax, eax
je 0x140039456
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x1400393d0
mov eax, 1
jmp 0x140039458
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.140042f10
mov rbx, qword [rsp + 0x4e80]
add rsp, 0x4e70
pop rdi
ret
Function at 0x14003a270
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14003a4cc
push rdi
sub rsp, 0x90
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x14003a4c4
mov eax, 0x5a4d
mov qword [rsp + 0x80], r15
mov r15d, dword [rsp + 0x38]
cmp word [rdi], ax
jne 0x14003a4bc
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r15
jae 0x14003a4bc
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0xb0], rbp
lea rbp, [rcx + rdi]
jne 0x14003a4b4
movzx eax, word [rbp + 4]
mov ecx, 0x14c
mov qword [rsp + 0xb8], rsi
xor esi, esi
mov qword [rsp + 0x88], r14
cmp cx, ax
jne 0x14003a325
xor r14d, r14d
jmp 0x14003a357
mov ecx, 0x200
mov r8d, 0xaa64
cmp cx, ax
je 0x14003a349
mov ecx, 0x8664
cmp cx, ax
je 0x14003a349
cmp r8w, ax
jne 0x14003a4a4
cmp r8w, ax
mov r14d, 1
sete sil
mov qword [rsp + 0xa8], rbx
mov ebx, dword [rbp + 0x28]
add rbx, rdi
je 0x14003a49c
cmp rbx, rdi
jbe 0x14003a49c
lea rax, [r15 + rdi]
cmp rbx, rax
jae 0x14003a49c
xorps xmm0, xmm0
lea rdx, [rsp + 0x48]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14003a49c
test dword [rsp + 0x68], 0x1000
je 0x14003a49c
test dword [rsp + 0x70], 0x1000000
je 0x14003a49c
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
test al, 0x10
jne 0x14003a3e2
test al, 0x20
jne 0x14003a3e2
test al, 0x40
jne 0x14003a3e2
test al, al
jns 0x14003a3e7
mov ecx, 1
test ecx, ecx
je 0x14003a49c
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov rdx, rdi
mov rcx, rbp
call fcn.14003a9a0
mov edx, 0x14
mov dword [rsp + 0xa0], 0
lea r9, [rsp + 0xa0]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14003a49c
test r14d, r14d
jne 0x14003a446
mov eax, dword [0x140076058]
mov dword [rbx], eax
movzx eax, byte [0x14007605c]
mov byte [rbx + 4], al
jmp 0x14003a46a
test esi, esi
je 0x14003a456
mov rax, qword [0x140076050]
mov qword [rbx], rax
jmp 0x14003a46a
movzx eax, word [0x140076060]
mov word [rbx], ax
movzx eax, byte [0x140076062]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0xa0]
lea r9, [rsp + 0xa0]
mov edx, 0x14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x80]
add rsp, 0x90
pop rdi
ret