joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4680d0
Capabilities:
Print debug messages

Disassembly:
push 0x20
mov eax, 0x4c954d
call fcn.00496608
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
mov esi, vtable.Cmm::CStringT_char_.0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], ebx
mov eax, 0x5b3e3c
cmp dword [0x5b3e50], 0x10
cmovae eax, dword [0x5b3e3c]
push eax
lea eax, [ebp - 0x2c]
push str.CCmmPerfTelemetry::PerfTelemetryTerm_pID:__s
push eax
call sym.ZoomOutlookMAPI.exe_public:_void___cdecl_Cmm::CStringT_char_::Format_char_const__
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [sym.ZoomOutlookMAPI.exe_struct_HINSTANCE____CCmmPerfTelemetry::hPsapi_]
test eax, eax
je 0x468146
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [sym.ZoomOutlookMAPI.exe_struct_HINSTANCE____CCmmPerfTelemetry::hPsapi_], ebx
call sym.ZoomOutlookMAPI.exe_private:_static_void___cdecl_CCmmPerfTelemetry::CleanUpData_void_
push 0x4df7ef
mov ecx, sym.ZoomOutlookMAPI.exe_class_Cmm::CStringT_char__CCmmPerfTelemetry::pID_
call sym.ZoomOutlookMAPI.exe_public:_void___thiscall_Cmm::CStringT_char_::Assign_char_const__
mov dword [sym.ZoomOutlookMAPI.exe_int_CCmmPerfTelemetry::bMetricsInitialzed], ebx
xor al, al
mov dword [sym.ZoomOutlookMAPI.exe_int_CCmmPerfTelemetry::bMetricsEnabled_], ebx
mov ecx, 0x5a30e0
xchg byte [ecx], al
cmp dword [0x5b3e34], 0
je 0x46818e
push dword [0x5a30dc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, sym.ZoomOutlookMAPI.exe_class_Cmm::CThread_CCmmPerfTelemetry::work_thread_
call sym.ZoomOutlookMAPI.exe_public:_void___thiscall_Cmm::CThread::Join_void_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
call fcn.00408653
call fcn.004965b7
ret

Function at 0x4681a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x5a205c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
cmp dword [sym.ZoomOutlookMAPI.exe_struct_HINSTANCE____CCmmPerfTelemetry::hPsapi_], 0
je 0x46821f
cmp dword [sym.ZoomOutlookMAPI.exe_int____stdcall___void___struct__PROCESS_MEMORY_COUNTERS___unsigned_long_int__CCmmPerfTelemetry::pfnGetProcessMemoryInfo_], 0
je 0x46821f
push 0x28
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.ZoomOutlookMAPI.exe_int____stdcall___void___struct__PROCESS_MEMORY_COUNTERS___unsigned_long_int__CCmmPerfTelemetry::pfnGetProcessMemoryInfo_]
mov ecx, esi
push eax
call dword [0x4ce460]
call esi
xor esi, esi
test eax, eax
je 0x46821b
push esi
push 0x64
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.004968c0
or eax, edx
je 0x46821b
mov esi, dword [ebp - 0x64]
shr esi, 0x14
mov dword [edi], esi
jmp 0x468222
and dword [edi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.004959d0
leave
ret
Function at 0x46fb46
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
je 0x46fb95
push ebx
push edi
mov edi, dword [ebp + 8]
push 2
push 0
push 0
push dword [esi + 0x28]
lea ebx, [edi + 0x10]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [edi + 0x14], 0x10
jb 0x46fb78
mov edi, dword [edi]
push 0
lea eax, [ebp - 8]
push eax
push dword [ebx]
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 0x20], eax
add dword [esi + 0x24], eax
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x470342
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x4ca3fd
call fcn.00496608
mov ebx, ecx
mov dword [ebp - 0x54], ebx
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x48], esi
cmp dword [esi + 0x14], edi
je 0x4704ea
xorps xmm0, xmm0
mov dword [ebp - 0x3c], edi
xor eax, eax
mov dword [ebp - 0x40], vtable.Cmm::CStringT_wchar_t_.0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
lea eax, [ebx + 4]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408595
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408578
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
call fcn.0046f3ae
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.00470636
mov dword [ebp - 0x20], eax
or eax, edx
mov dword [ebp - 0x1c], edx
jne 0x47049e
or dword [ebp - 0x20], 0xffffffff
or dword [ebp - 0x1c], 0xffffffff
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x44], edi
mov edi, dword [ebx + 0x20]
cmp esi, edi
je 0x4704ce
mov ecx, dword [ebp - 0x44]
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x470470
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x470400
mov eax, dword [eax]
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x18], 8
lea edx, [ecx + 4]
jb 0x47040f
mov edx, dword [ecx + 4]
push dword [esi + 0x14]
push eax
push edx
call fcn.004aa277
add esp, 0xc
test eax, eax
jne 0x47046d
mov ecx, dword [esi + 0x30]
push 2
pop ebx
test ecx, ecx
je 0x47046d
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x14]
cmp edx, ecx
jbe 0x47046d
lea eax, [esi + 0x20]
sub edx, ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x4c], eax
jb 0x470447
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x470455
mov eax, dword [eax]
push ecx
push dword [ebp - 0x4c]
lea eax, [eax + edx*2]
push eax
call fcn.004aa277
add esp, 0xc
test eax, eax
push 3
pop ecx
cmove ebx, ecx
mov ecx, dword [ebp - 0x44]
cmp ebx, ecx
mov eax, esi
cmovbe eax, edi
add esi, 0x68
cmp ebx, ecx
mov edi, eax
cmovbe ebx, ecx
mov ecx, ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x44], ecx
cmp esi, dword [ebx + 0x20]
jne 0x4703ee
cmp edi, dword [ebx + 0x20]
je 0x4704ce
lea eax, [ebp - 0x40]
push eax
push edi
jmp 0x4704d6
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
jne 0x4703da
cmp dword [ebp - 0x28], 8
lea esi, [ebp - 0x3c]
jb 0x4704ba
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x4704db
push esi
call sym.ZoomOutlookMAPI.exe_int___cdecl_cmm_safe_path_wchar_t_const__
pop ecx
test eax, eax
je 0x4704db
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4704db
lea eax, [ebp - 0x40]
push eax
lea eax, [ebx + 0x28]
push eax
call fcn.004704f2
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.Cmm::CStringT_wchar_t_.0
call fcn.00407ca9
call fcn.004965b7
ret 4
Function at 0x470584
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x5c]
cmp eax, dword [edi + 0x44]
ja 0x4705b3
jb 0x47059d
mov eax, dword [edi + 0x58]
cmp eax, dword [edi + 0x40]
ja 0x4705b3
mov eax, dword [edi + 0x64]
cmp eax, dword [edi + 0x3c]
jb 0x470631
ja 0x4705b3
mov eax, dword [edi + 0x60]
cmp eax, dword [edi + 0x38]
jbe 0x470631
push esi
push dword [edi + 0x4c]
push dword [edi + 0x48]
call fcn.004709cf
mov esi, dword [edi + 0x48]
pop ecx
pop ecx
cmp esi, dword [edi + 0x4c]
je 0x470630
push ebx
mov edx, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
cmp edx, dword [edi + 0x44]
ja 0x4705ee
jb 0x4705dc
cmp ecx, dword [edi + 0x40]
ja 0x4705ee
mov eax, dword [edi + 0x64]
cmp eax, dword [edi + 0x3c]
jb 0x47062f
ja 0x4705ee
mov eax, dword [edi + 0x60]
cmp eax, dword [edi + 0x38]
jbe 0x47062f
add ecx, 0xffffffff
lea ebx, [esi + 4]
mov dword [edi + 0x58], ecx
adc edx, 0xffffffff
mov dword [edi + 0x5c], edx
mov eax, dword [esi + 0x28]
sub dword [edi + 0x60], eax
mov eax, dword [esi + 0x2c]
sbb dword [edi + 0x64], eax
cmp dword [esi + 0x18], 8
jb 0x470611
mov ebx, dword [ebx]
test ebx, ebx
je 0x470627
push ebx
call sym.ZoomOutlookMAPI.exe_int___cdecl_cmm_safe_path_wchar_t_const__
pop ecx
test eax, eax
je 0x470627
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0x30
cmp esi, dword [edi + 0x4c]
jne 0x4705ca
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x4706b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x308
mov eax, 0x4ca453
call fcn.00496608
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test esi, esi
je 0x47080f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4706e7
test eax, 0x400
jne 0x47080f
push ebx
push edi
push esi
lea ecx, [ebp - 0xbc]
call fcn.004701b4
and dword [ebp - 4], 0
lea eax, [ebp - 0x310]
push esi
push eax
call sym.ZoomOutlookMAPI.exe_cmm_fs_find_first
pop ecx
pop ecx
push 0x2e
mov byte [ebp - 4], 1
pop esi
mov cx, word [ebp - 0x2e0]
test cx, cx
je 0x4707c3
mov eax, dword [ebp - 0x30c]
and eax, 0x10
jne 0x47079a
mov ax, word [ebp - 0x2de]
cmp cx, si
jne 0x47073e
test ax, ax
je 0x47079a
cmp cx, si
mov dx, word [ebp - 0x2dc]
jne 0x470751
cmp ax, si
jne 0x470751
test dx, dx
je 0x47079a
cmp cx, si
jne 0x470765
test ax, ax
je 0x47079a
cmp ax, si
jne 0x470765
test dx, dx
je 0x47079a
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2c]
call sym.ZoomOutlookMAPI.exe_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_wchar_t_const__
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xbc]
call fcn.00470342
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.Cmm::CStringT_wchar_t_.0
call fcn.00407ca9
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x310]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47070f
xor ecx, ecx
mov word [ebp - 0x2e0], cx
jmp 0x470716
lea eax, [ebp - 0x94]
push eax
call fcn.00470584
mov esi, dword [ebp - 0xa0]
jmp 0x4707e0
push esi
call fcn.00470584
add esi, 0x68
cmp esi, dword [ebp - 0x9c]
jne 0x4707d7
push dword [ebp - 0x310]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x310], 0xffffffff
lea ecx, [ebp - 0xbc]
xor eax, eax
mov word [ebp - 0x2e0], ax
call fcn.004702f2
call fcn.004965b7
ret
Function at 0x4862d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ef4
call fcn.00496d80
mov eax, dword [0x5a205c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1f40
lea eax, [ebp - 0x2ee8]
push 0
push eax
call fcn.00498440
add esp, 0xc
mov dword [ebp - 0x2eec], 0
lea eax, [ebp - 0x2eec]
push eax
push 0x1f40
lea eax, [ebp - 0x2ee8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4863fc
lea eax, [ebp - 0xfa8]
xor esi, esi
test dword [ebp - 0x2eec], 0xfffffffc
mov dword [ebp - 0x2ef0], eax
mov eax, 0xfa0
mov word [ebp - 0x2ef2], ax
jbe 0x4863e8
nop word [eax + eax]
push 0xfa0
lea eax, [ebp - 0xfa8]
push 0
push eax
call fcn.00498440
add esp, 0xc
lea eax, [ebp - 0xfa8]
push 0x7cf
push eax
push dword [ebp + esi*4 - 0x2ee8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xfa8]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4863a0
sub eax, edx
mov ecx, 0x5a30e8
sar eax, 1
add eax, eax
push 0
push dword [ebp + esi*4 - 0x2ee8]
mov word [ebp - 0x2ef4], ax
lea eax, [ebp - 0x2ef4]
push eax
call fcn.00486410
test eax, eax
je 0x4863fc
mov eax, dword [ebp - 0x2eec]
inc esi
shr eax, 2
cmp esi, eax
jb 0x486360
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004959d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004959d0
mov esp, ebp
pop ebp
ret
Function at 0x48d095
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48d0eb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x48d0eb
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x48d0dd
cmp esi, ecx
jae 0x48d0eb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x48d0cb
cmp esi, ecx
jae 0x48d0eb
cmp word [esi], 0
je 0x48d0eb
mov eax, esi
jmp 0x48d0ed
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x48d9bf
Capabilities:
Accept command line arguments

Disassembly:
push 0x34
mov eax, 0x4cc47d
call fcn.00496608
xor ebx, ebx
push ebx
push 2
pop edx
call fcn.0048b260
pop ecx
test al, al
je 0x48dab5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x3c], cx
lea ecx, [ebp - 0x3c]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 7
call fcn.004083a5
push ebx
push str.runaszvideo
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00407ece
cmp eax, 0xffffffff
je 0x48daab
push str.mmdevapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 2
push ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x48daab
lea eax, [ebp - 0x40]
mov dword [ebp - 0x24], 0xa95664d2
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0x4f359614
push eax
push 0x17
push ebx
push 0x4f342c
mov dword [ebp - 0x1c], 0x8dde46a7
mov dword [ebp - 0x18], 0xe61736b6
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x48daab
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x48daab
mov eax, dword [eax]
test eax, eax
je 0x48daab
push dword [eax + 0x18]
call fcn.00492bff
test al, al
je 0x48da98
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
push dword [eax + 0x1c]
call fcn.00492bff
test al, al
je 0x48da98
mov bl, 1
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4ce460]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00407ca9
mov al, bl
call fcn.004965b7
ret
Function at 0x48ebf8
Capabilities:
Get system information on windows

Disassembly:
push 0x2c
mov eax, 0x4cc5a3
call fcn.004965d5
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0048d268
push eax
mov ecx, edi
call fcn.0048e10e
xor ebx, ebx
lea esi, [edi + 0x18]
mov dword [ebp - 4], ebx
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0040baac
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.0048d268
push eax
lea ecx, [edi + 0x20]
call fcn.0048e10e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0x20]
push str.uploadExeName
mov dword [edi + 8], eax
call fcn.0048e01b
mov eax, edi
call fcn.004965a3
ret

Function at 0x48ed13
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov eax, esi
xor edx, edx
push edi
div dword [ebx + 8]
mov eax, dword [ebp + 0xc]
mov edi, edx
add eax, edi
sub esi, edi
push eax
push esi
push 0
push 6
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
lea ecx, [ebx + 0x18]
lea eax, [ebp - 4]
add edi, esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
call fcn.0048edb5
mov ecx, dword [eax]
mov eax, edi
pop edi
mov dword [ecx + 0x14], esi
pop esi
pop ebx
leave
ret 8

Function at 0x48eee0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x48ef00
cmp dword [esi], 0
je 0x48eef9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x4906e9
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push 0x34
push 0x510920
call fcn.00496bd0
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
push 0x1c
lea eax, [ebp - 0x44]
push eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4907b1
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x20], ebx
push 0x40
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x490755
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x490755
mov ebx, dword [ebx + 0x3c]
add ebx, dword [ebp - 0x20]
push 0xf8
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4907b1
xor ecx, ecx
cmp dword [ebx], 0x4550
cmove ecx, ebx
jmp 0x490757
mov ecx, esi
test ecx, ecx
je 0x4907b1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
mov ebx, dword [ebp - 0x1c]
sub edi, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
movzx eax, word [ecx + 6]
cmp esi, eax
jae 0x4907b4
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 8]
cmovbe eax, dword [edx + 8]
add eax, dword [ebp - 0x20]
cmp edi, dword [ebp - 0x20]
jb 0x4907ab
cmp edi, eax
ja 0x4907ab
lea ecx, [esi + 1]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
sub edi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
jmp 0x4907b4
inc esi
add edx, 0x28
jmp 0x49076f
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
jmp 0x4907da
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4907ec
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push 0x9dc
mov eax, 0x4cc987
call fcn.00496608
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, esi
mov dword [ebp - 0x9e8], esi
push str.unkonwn
mov dword [ebp - 0x9e4], ebx
call fcn.0048de9e
push 0x7d0
lea eax, [ebp - 0x9e0]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x9e4], 1
call fcn.00498440
add esp, 0xc
lea eax, [ebp - 0x9e0]
push 0x3e7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x490875
lea ecx, [ebp - 0x9e0]
call fcn.0048e4fe
push eax
lea eax, [ebp - 0x9e0]
mov ecx, esi
push eax
call fcn.0048e305
push str.Zoom.exe
push dword [esi]
call fcn.004a0b25
pop ecx
pop ecx
test eax, eax
je 0x490988
push str.ZoomRooms.exe
push dword [esi]
call fcn.004a0b25
pop ecx
pop ecx
test eax, eax
je 0x490988
push str.zrusplayer.exe
push dword [esi]
call fcn.004a0b25
pop ecx
pop ecx
test eax, eax
jne 0x4908bd
mov edi, str.zrusplayer
jmp 0x4909fe
push str.zJob.exe
push dword [esi]
call fcn.004a0b25
pop ecx
pop ecx
test eax, eax
jne 0x4908d9
mov edi, str.zJob
jmp 0x4909fe
push str.DigitalSignage.exe
push dword [esi]
call fcn.004a0b25
pop ecx
pop ecx
test eax, eax
jne 0x4908f5
mov edi, str.DigitalSignage
jmp 0x4909fe
push str.ZRWebClient.exe
push dword [esi]
call fcn.004a0b25
pop ecx
pop ecx
test eax, eax
jne 0x490a0e
mov edi, str.ZRWebClient
mov ecx, edi
call fcn.0048e4fe
push eax
push edi
mov ecx, esi
call fcn.0048e305
push 0x200
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00498440
add esp, 0xc
lea eax, [ebp - 0x210]
push 0xff
push eax
push str.zr_role_type
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x490a0e
mov edi, 0x4ee58c
mov ecx, edi
call fcn.0048e4fe
push eax
push edi
mov ecx, esi
call fcn.0049208e
lea ecx, [ebp - 0x210]
call fcn.0048e4fe
push eax
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.0049208e
jmp 0x490a0e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
test ebx, ebx
je 0x490a0e
push str.runaszvideoTRUE
push ebx
call fcn.004972e2
pop ecx
pop ecx
test eax, eax
je 0x4909ac
mov edi, str.VideoConf
jmp 0x4909fe
push str.actionZoomRoomsAssistant
push ebx
call fcn.004972e2
pop ecx
pop ecx
test eax, eax
je 0x4909c4
mov edi, 0x4f4228
jmp 0x4909fe
mov edi, 0x5a63f8
push dword [edi]
push ebx
call fcn.004972e2
pop ecx
pop ecx
test eax, eax
jne 0x4909e4
add edi, 4
cmp edi, 0x5a6400
jne 0x4909c9
jmp 0x4909f9
mov edi, 0x4f4220
mov ecx, edi
call fcn.0048e4fe
push eax
push edi
mov ecx, esi
call fcn.0048e305
mov edi, 0x4f4250
mov ecx, edi
call fcn.0048e4fe
push eax
push edi
mov ecx, esi
call fcn.0048e305
mov eax, esi
call fcn.004965b7
ret 4
Function at 0x490a18
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0x220
mov eax, 0x4cca0f
call fcn.00496608
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
test esi, esi
je 0x490a3e
cmp esi, 1
jne 0x490c06
push ecx
lea ecx, [ebp + 0xc]
call fcn.00491f2c
cmp eax, 0xffffffff
je 0x490a8c
lea ecx, [eax + 1]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00491fad
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 0xc]
call fcn.0048ddfe
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.0048d242
lea eax, [ebp - 0x220]
push eax
call fcn.004907ec
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push ebx
push eax
call fcn.00498440
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x490bf8
push dword [edi + 0x78]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.dataZoom.us.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, str.freeze
cmp esi, 1
mov ebx, str.crash
cmove ebx, eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x4f435c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
call fcn.0048d268
push eax
lea ecx, [ebp - 0x21c]
call fcn.0048e10e
lea ecx, [esi + 1]
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x21c]
push 0x4e5eb0
push eax
call fcn.0048e92a
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push edi
push 0x4f435c
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.0048d268
push eax
lea ecx, [ebp - 0x224]
call fcn.0048e10e
push esi
push ebx
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 4
push 0x4f4378
push eax
call fcn.0048e92a
push 0x4f4374
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
call fcn.00491e36
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x228]
call fcn.00491e90
add esp, 0x18
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x224]
push ecx
push dword [eax]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.0048d242
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.0048d242
lea ecx, [esi - 0x10]
call fcn.0048d242
lea ecx, [edi - 0x10]
call fcn.0048d242
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0048d242
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0048d242
call fcn.004965b7
ret 8