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

Disassembly:
cmp word [rcx], 0x5a4d
je 0x403a40
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x403a50
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x403a91
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x403a88
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x403a93
add rax, 0x28
cmp rax, r9
jne 0x403a74
xor eax, eax
ret

Function at 0x403b30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004067e0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x403b9d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403b9d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x403b9d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403b94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403b9f
add rax, 0x28
cmp rax, r9
jne 0x403b80
xor eax, eax
add rsp, 0x28
ret

Function at 0x403ca0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004067e0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x403cc0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403cb8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x403d1d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403d14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403d24
add rax, 0x28
cmp rax, r9
jne 0x403d00
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x403d40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004067e0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x403dae
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403dae
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x403dae
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x403dae
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x403da5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x403db5
add rcx, 0x28
cmp rcx, rax
jne 0x403d90
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x403dc8
jmp 0x403dae
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x403dd6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x403dae
test r9d, r9d
jg 0x403dc0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x404020
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400014dc
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 8], ecx
push rdi
push r14
push r15
sub rsp, 0x40
cmp ecx, 4
ja 0x140001503
xor eax, eax
jmp 0x1400015d5
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140001eb4
xor esi, esi
xor edi, edi
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rbp, rbx
sar rbp, 2
test rbp, rbp
je 0x14000158a
lea r15d, [rsi + 1]
mov r8d, dword [rbx + rdi*4]
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x140001568
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x140001568
mov esi, r15d
jmp 0x140001582
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
cmove esi, r15d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, r15
cmp rdi, rbp
jb 0x140001541
xor edi, edi
test esi, esi
sete dil
test rbx, rbx
je 0x1400015d3
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
and rdx, 0xfffffffffffffffc
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400015cb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000df10
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14000176c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14001f038]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140001810
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001810
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1400017fc
mov rdx, rsi
lea rcx, [rsp + 0x20]
mov rax, rdi
call qword [0x140011a48]
test eax, eax
je 0x140001800
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400017d9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001812
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000def0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140001920
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x750]
sub rsp, 0x850
mov rax, qword [0x14001f038]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov rdi, r8
mov rax, qword [r8]
mov qword [r8 + 8], rax
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call fcn.140001c1c
test eax, eax
js 0x140001b81
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x140001b81
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea r9, str.POWERPNT.exe
lea r8, str.SELECT__FROM_Win32_Process_where_name_s
mov edx, 0x3e8
lea rcx, [rsp + 0x70]
call fcn.140001208
and qword [rsp + 0x50], 0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400013f4
mov r14, rax
mov ecx, 0x18
call fcn.14000df18
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400019f9
and qword [rax + 8], 0
mov dword [rax + 0x10], 1
lea rcx, [0x140011ec8]
call fcn.14000dbc0
mov qword [rbx], rax
jmp 0x1400019fb
xor ebx, ebx
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x140001ba8
mov rax, qword [r14]
test rax, rax
je 0x140001a16
mov r8, qword [rax]
jmp 0x140001a19
xor r8d, r8d
mov rax, qword [rsi]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
and qword [rsp + 0x20], 0
mov r9d, 0x30
mov rdx, qword [rbx]
mov rcx, rsi
mov rax, qword [rax + 0xa0]
call qword [0x140011a48]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.140001478
nop
lea rcx, [rsp + 0x48]
call fcn.140001478
test ebx, ebx
js 0x140001b6b
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140001b6b
lea rdx, [rsp + 0x48]
and qword [rsp + 0x40], 0
and dword [rsp + 0x48], 0
mov qword [rsp + 0x20], rdx
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
mov r8d, 1
mov edx, 0x3e8
mov rax, qword [rax + 0x20]
call qword [0x140011a48]
test eax, eax
js 0x140001b59
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001b59
cmp dword [rsp + 0x48], 0
je 0x140001b59
mov rax, qword [rcx]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.ProcessId
mov rax, qword [rax + 0x20]
call qword [0x140011a48]
test eax, eax
jns 0x140001b18
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140011a48]
mov rcx, qword [rsp + 0x50]
jmp 0x140001a72
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140001b2f
mov eax, dword [rsp + 0x60]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x140001b3c
lea r8, [rsp + 0x60]
mov rcx, rdi
call fcn.140001eb4
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140011a48]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140011a48]
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [0x140011a48]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.14000def0
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.14000dbb0
int3
Function at 0x140001c1c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
test rcx, rcx
jne 0x140001c39
mov eax, 0x80070057
jmp 0x140001d6c
and qword [rcx], 0
and qword [rbp + 0x28], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
js 0x140001d54
and qword [rbp + 0x20], 0
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [0x140011c68]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140011c58]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x140001d54
cmp qword [rbp + 0x20], 0
je 0x140001d54
lea rdx, str.ROOTCIMV2
lea rcx, [rbp + 0x30]
call fcn.1400013f4
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x140001cb1
mov rdx, qword [rcx]
jmp 0x140001cb3
xor edx, edx
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
lea r8, [rbp + 0x28]
mov qword [rsp + 0x40], r8
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rax + 0x18]
call qword [0x140011a48]
mov ebx, eax
lea rcx, [rbp + 0x30]
call fcn.140001478
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140011a48]
and qword [rbp + 0x20], 0
test ebx, ebx
js 0x140001d54
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140001d6a
and dword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
js 0x140001d54
mov rax, qword [rbp + 0x28]
mov qword [rdi], rax
xor ecx, ecx
mov qword [rbp + 0x28], rcx
jmp 0x140001d58
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140001d6a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140011a48]
mov eax, ebx
add rsp, 0x50
pop rdi
pop rbx
pop rbp
ret

Function at 0x140002590
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14001f038]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
test rcx, rcx
je 0x140002631
xor r9d, r9d
mov rdx, rcx
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140002631
lea rdx, [0x140013430]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.logs
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, str.zoomtest
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x140002631
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x140002633
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000def0
add rsp, 0x240
pop rbx
ret
Function at 0x14000264c
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x14001f038]
xor rax, rsp
mov qword [rbp + 0x450], rax
xor r9d, r9d
lea rdx, [rbp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edi, edi
test eax, eax
je 0x140002708
lea r8, str.ZoomdataZoom.us.ini
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
test eax, eax
jne 0x140002708
lea rax, [rbp + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x20], 8
lea rdx, str.com.zoom.test.disable_crash_handler
lea rcx, str.ZoomChat
movups xmmword [rbp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140002708
lea rdx, [0x1400134d0]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000281d
lea rcx, [rbp + 0x240]
call fcn.140002590
test al, al
je 0x14000281d
mov ebx, 0xb8
lea rcx, [rsp + 0x30]
mov r8d, ebx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x240]
mov word [rsp + 0x30], bx
mov qword [rbp - 0x60], rax
lea r8d, [rbx + 0x58]
lea rax, str.Zoom.us
mov dword [rbp + 0x30], 0x11c
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x34]
lea rax, str.5.13.11.13434
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, str.Zoom.us_Video_Meeting_0.9.2_Error_Report
mov qword [rsp + 0x50], rax
lea rax, str.support_zoom.us
mov qword [rsp + 0x48], rax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov word [rbp + 0x144], di
mov r8b, 3
mov dword [rbp + 0x146], eax
xor ecx, ecx
mov word [rbp + 0x14a], ax
lea ebx, [rax + 2]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [rbx - 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [rbx + 0x1e]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [rbx + 0x21]
mov qword [rbp + 0x34], 6
mov r8, rax
mov word [rbp + 0x144], bx
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
mov qword [rsp + 0x68], rdi
lea rax, str.https:__zoom.us_privacy_
sbb ecx, ecx
mov qword [rbp - 0x78], rax
or dword [rbp - 0x7c], 0x1807fff
and ecx, 0x1a20
add ecx, 5
mov dword [rbp - 0x68], ecx
lea rcx, [rsp + 0x30]
call qword [sym.imp.zCrashReport64.dll_Ordinal_7]
jmp 0x140002820
or eax, 0xffffffff
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.14000def0
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400033e8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x14001f038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
lea rsi, [rcx + 0x130]
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Lock_void____ptr64]
mov rbx, qword [rdi + 0x160]
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Unlock_void____ptr64]
nop
test rbx, rbx
je 0x140003506
mov qword [rsp + 0x20], rsi
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Lock_void____ptr64]
nop
lea r14, [rdi + 0x158]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbp, rax
mov rcx, qword [r14]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x1400034fa
cmp rbp, qword [rbx + 0x50]
jbe 0x1400034ae
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
cmp dword [rbx + 0x48], 0
jne 0x140003548
mov dword [rdi + 0x178], 1
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140005bd0
mov rbx, qword [rax]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
jmp 0x1400034f1
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400034d6
mov rax, qword [rbx + 8]
jmp 0x1400034cb
cmp rbx, qword [rax + 0x10]
jne 0x1400034d1
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400034be
mov rbx, rax
jmp 0x1400034f1
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1400034f1
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400034e2
cmp rbx, qword [r14]
jne 0x140003464
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CCritical::Unlock_void____ptr64]
nop
jmp 0x140003511
mov ecx, 0x28
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rdi + 0x40]
test eax, eax
je 0x140003413
lea rcx, [rdi + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CEvent::Signal_void____ptr64]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000def0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400015f0
nop
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400039f8
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x20], 0
mov rbx, rcx
je 0x140003a3d
mov dword [rcx + 0x30], 1
mov edx, 0xbb8
add rcx, 0x38
call qword [sym.imp.Cmmlib.dll_public:_enum_ESyncRet___cdecl_Cmm::CEvent::Lock_unsigned_long_int____ptr64]
test eax, eax
je 0x140003a2e
mov rcx, qword [rbx + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x20], 0
cmp qword [rbx + 0x28], 0
je 0x140003a79
lea rcx, [rbx + 0x48]
mov dword [rbx + 0x40], 1
mov edx, 0xbb8
call qword [sym.imp.Cmmlib.dll_public:_enum_ESyncRet___cdecl_Cmm::CEvent::Lock_unsigned_long_int____ptr64]
test eax, eax
je 0x140003a6a
mov rcx, qword [rbx + 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x28], 0
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140009a90
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x4e70
call fcn.14000e7b0
sub rsp, rax
mov rax, qword [0x14001f038]
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 0x140009ba6
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 0x140009b9f
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 0x140009b60
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x14001f0f0]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.140009bd0
test eax, eax
je 0x140009ba6
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x140009b20
mov eax, 1
jmp 0x140009ba8
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.14000def0
mov rbx, qword [rsp + 0x4e80]
add rsp, 0x4e70
pop rdi
ret
Function at 0x14000a5f0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14000a803
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x20]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x14000a7fb
mov eax, 0x5a4d
mov qword [rsp + 0x70], r14
mov r14d, dword [rsp + 0x28]
cmp word [rdi], ax
jne 0x14000a7f6
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r14
jae 0x14000a7f6
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0x78], rsi
lea rsi, [rcx + rdi]
jne 0x14000a7f1
movzx eax, word [rsi + 4]
mov ecx, 0x14c
mov qword [rsp + 0xa0], rbp
cmp cx, ax
jne 0x14000a694
xor ebp, ebp
jmp 0x14000a6b1
mov ecx, 0x200
cmp cx, ax
je 0x14000a6ac
mov ecx, 0x8664
cmp cx, ax
jne 0x14000a7e9
mov ebp, 1
mov qword [rsp + 0x98], rbx
mov ebx, dword [rsi + 0x28]
add rbx, rdi
je 0x14000a7e1
cmp rbx, rdi
jbe 0x14000a7e1
lea rax, [r14 + rdi]
cmp rbx, rax
jae 0x14000a7e1
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000a7e1
test dword [rsp + 0x58], 0x1000
je 0x14000a7e1
test dword [rsp + 0x60], 0x1000000
je 0x14000a7e1
mov eax, dword [rsp + 0x5c]
xor ecx, ecx
test al, 0x10
jne 0x14000a73c
test al, 0x20
jne 0x14000a73c
test al, 0x40
jne 0x14000a73c
test al, al
jns 0x14000a741
mov ecx, 1
test ecx, ecx
je 0x14000a7e1
mov r9d, ebp
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.14000b140
mov edx, 0x14
mov dword [rsp + 0x90], 0
lea r9, [rsp + 0x90]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000a7e1
test ebp, ebp
jne 0x14000a79b
mov eax, dword [0x14001f088]
mov dword [rbx], eax
movzx eax, byte [0x14001f08c]
mov byte [rbx + 4], al
jmp 0x14000a7af
movzx eax, word [0x14001f080]
mov word [rbx], ax
movzx eax, byte [0x14001f082]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0x90]
lea r9, [rsp + 0x90]
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 + 0x98]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret