joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10064b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10081078], eax
je 0x10064bb4
mov eax, 0x10dd
jmp 0x10064d5c
cmp dword [0x1008107c], 0
je 0x10064bc7
mov eax, dword [0x1008107c]
jmp 0x10064d5c
cmp dword [ebp + 0xc], 0
jne 0x10064bd7
mov eax, 0x57
jmp 0x10064d5c
cmp dword [ebp + 8], 0
jne 0x10064be7
mov eax, 6
jmp 0x10064d5c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10064c10
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x1008107c], ecx
mov edx, dword [ebp + 8]
mov dword [0x10081080], edx
mov eax, dword [ebp - 8]
jmp 0x10064d5c
push 0x18
call fcn.1006626d
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10064c6b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x1008107c], ecx
cmp dword [ebp - 4], 0
je 0x10064c5a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.100662c0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10081080], ecx
mov eax, dword [ebp - 8]
jmp 0x10064d5c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10064b70
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10064b70
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10064cab
cmp dword [ebp - 0xc], 0x1e
jbe 0x10064cc7
mov dword [ebp - 8], 9
cmp dword [0x10081070], 0
je 0x10064cc2
jmp 0x10064c39
jmp 0x10064c30
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10064cee
mov dword [ebp - 8], 9
cmp dword [0x10081070], 0
je 0x10064ce9
jmp 0x10064c39
jmp 0x10064c30
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10064d19
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10064c30
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10081088]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10081088], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10064d70
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10081078], eax
je 0x10064d8d
mov eax, 0x10dd
jmp 0x10064e70
mov eax, dword [0x10081088]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10064e0c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10064de8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10064de8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10063c10
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.100662c0
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10064d95
mov dword [0x10081088], 0
call fcn.100644f0
mov ecx, dword [0x10081084]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10064e5a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100662c0
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10064e24
mov dword [0x10081084], 0
mov dword [0x10081078], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10065350
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1008107c], 0
je 0x10065369
mov eax, dword [0x1008107c]
jmp 0x10065408
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1006537a
xor eax, eax
jmp 0x10065408
push 8
call fcn.1006626d
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100653d2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100653bb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1008107c], eax
mov dword [0x10081080], 0
mov eax, dword [ebp - 8]
jmp 0x10065408
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x100653ea
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1006539a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10081084]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10081084], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x402014
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1790]
mov eax, 0x1810
call fcn.00412d00
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp + 0x178c], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x7c], ebx
test esi, esi
jl 0x402278
cmp esi, dword [ebx + 8]
jge 0x402278
mov eax, dword [ebx]
imul esi, esi, 0x80c
cmp byte [ebp + 0x1798], 0
je 0x40206b
mov dword [esi + eax + 0x804], 2
jmp 0x402076
mov dword [esi + eax + 0x804], 3
mov eax, dword [ebx]
push edi
lea edi, [esi + eax]
cmp dword [edi + 0x808], 1
jne 0x402277
push 0x7ff
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.004070d0
push 0x417ebc
add edi, 0x400
push edi
call fcn.00407039
add esp, 0x14
mov dword [ebp - 0x78], eax
test eax, eax
je 0x40215f
push eax
mov edi, 0x800
push edi
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.00407b35
push dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
call fcn.004074a9
add esp, 0x14
cmp dword [ebp - 0x80], 0
jle 0x40215f
cmp dword [ebp - 0x80], edi
jge 0x4020ee
mov byte [ebp + 0x78b], 0
lea eax, [ebp - 0x74]
push str.Package_url
push eax
call fcn.00406e40
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
test eax, eax
je 0x40215f
push 0x417ed0
push eax
call fcn.00406e40
pop ecx
pop ecx
test eax, eax
je 0x402119
mov byte [eax], 0
mov ebx, 0x3ff
push ebx
lea eax, [ebp + 0xf8d]
push 0
push eax
mov byte [ebp + 0xf8c], 0
call fcn.004070d0
push ebx
lea eax, [ebp + 0x138d]
push 0
push eax
mov byte [ebp + 0x138c], 0
call fcn.004070d0
add esp, 0x18
lea edi, [ebp + 0xf8c]
call fcn.00403235
test al, al
jne 0x402171
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ebx]
mov dword [esi + eax + 0x804], 3
jmp 0x402277
lea eax, [ebp + 0xf8c]
push eax
mov esi, 0x400
lea eax, [ebp + 0x138c]
push esi
push eax
call fcn.0040736d
push 0x417d60
lea eax, [ebp + 0x138c]
push esi
push eax
call fcn.0040736d
push str.Zoom.msi
lea eax, [ebp + 0x138c]
push esi
push eax
call fcn.0040736d
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x7c]
add esp, 0x24
push 0
push 0x517500
lea ecx, [ebp + 0x138c]
add eax, 0xc
push ecx
push eax
mov dword [ebp - 0x78], eax
call fcn.00401f1d
push ebx
xor edi, edi
lea eax, [ebp + 0xb8d]
push edi
push eax
mov byte [ebp + 0xb8c], 0
call fcn.004070d0
lea eax, [ebp + 0xf8c]
push eax
lea eax, [ebp + 0xb8c]
push esi
push eax
call fcn.00407b52
push str._Installer.exe
lea eax, [ebp + 0xb8c]
push esi
push eax
call fcn.0040736d
push ebx
lea eax, [ebp + 0x78d]
push edi
push eax
mov byte [ebp + 0x78c], 0
call fcn.004070d0
push dword [ebp - 0x78]
lea eax, [ebp + 0x78c]
push esi
push eax
call fcn.00407b52
lea eax, [ebp + 0x78c]
push str.Zoom.msi_tatupg
push eax
call fcn.00406e40
add esp, 0x44
cmp eax, edi
je 0x402277
push str.Installer.exe_tatupg
push 0x16
push eax
call fcn.00407b52
add esp, 0xc
push edi
mov edi, dword [ebp - 0x7c]
push 0xc3800
lea eax, [ebp + 0xb8c]
push eax
lea eax, [ebp + 0x78c]
push eax
call fcn.00401f1d
pop edi
mov ecx, dword [ebp + 0x178c]
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bdf
add ebp, 0x1790
leave
ret 4
Function at 0x402f0e
Capabilities:
Get common file path

Disassembly:
push 0x10c
mov eax, 0x4158ad
call fcn.004149a3
xor esi, esi
push 0x800
mov dword [0x41dddc], esi
mov dword [0x41dde0], esi
mov dword [0x41dde4], esi
mov dword [0x41dde8], esi
call fcn.00406c89
pop ecx
mov dword [0x41dddc], eax
cmp eax, esi
je 0x402fa6
push 4
push esi
push eax
call fcn.004070d0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [0x41dddc]
lea eax, [ebp - 0x114]
push esi
push 0x417f30
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x18
call fcn.00407fd2
pop ecx
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x402f9f
push eax
call fcn.004023e0
jmp 0x402fa1
xor eax, eax
mov dword [0x41dde8], eax
mov eax, 0x41dddc
call fcn.00414a26
ret

Function at 0x403037
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call esi
test eax, eax
je 0x403070
xor al, al
jmp 0x4030f0
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.RingCentralMeetings
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4030b8
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push ebx
push str.InstallLocation
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4030b8
cmp dword [ebp - 0xc], 1
je 0x4030d4
cmp dword [ebp - 0xc], 2
je 0x4030d4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x4030c8
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x403069
push dword [ebp - 8]
call esi
jmp 0x403069
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x4030e4
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x4030ee
push dword [ebp - 8]
call esi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4030f7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4158e9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x41b044]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x403143
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 4], ebx
jne 0x40317d
push 0x20
call fcn.00407fd2
mov edi, eax
pop ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], ebx
cmp edi, ebx
je 0x40316f
push 0x1c
push ebx
push edi
mov dword [edi + 0x1c], ebx
call fcn.004070d0
add esp, 0xc
jmp 0x403171
xor edi, edi
or dword [esp + 0x38], 0xffffffff
mov dword [esi + 4], edi
cmp edi, ebx
je 0x40312c
lea eax, [esp + 0x14]
push eax
call fcn.004023e0
push dword [ebp + 8]
mov dword [esp + 0x3c], 1
call fcn.00403037
mov edi, 0x110
test al, al
je 0x4031f4
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
mov edx, 0x417cc6
call fcn.004046ac
test eax, eax
je 0x4031f4
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
mov ecx, edi
cdq
idiv ecx
test eax, eax
je 0x4031f4
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._CPluginImpHelper::GetInstallPath__Get_Install_Path:
call esi
push dword [ebp + 8]
call esi
mov bl, 1
or dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.00404367
mov al, bl
jmp 0x40312e
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call fcn.00404975
test eax, eax
je 0x4031de
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
cdq
idiv edi
cmp eax, ebx
je 0x4031de
ja 0x40321b
call fcn.00407f28
mov eax, dword [esp + 0x20]
add eax, 8
push eax
push 0x400
push dword [ebp + 8]
call fcn.00407b52
add esp, 0xc
jmp 0x4031dc

Function at 0x403235
Capabilities:
Create directory
Get common file path

Disassembly:
push 1
push 0x1a
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x403249
xor al, al
ret
push ebx
push ebp
push esi
mov ebp, 0x417e70
push ebp
mov esi, 0x400
push esi
push edi
call fcn.0040736d
push str.RingCentralMeetings
push esi
push edi
call fcn.0040736d
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x18
push 0
push edi
call ebx
push ebp
push esi
push edi
call fcn.0040736d
push str.ZoomDownload
push esi
push edi
call fcn.0040736d
add esp, 0x18
push 0
push edi
call ebx
pop esi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x4037bb
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xd0
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
xor ebx, ebx
mov byte [edi], 1
mov byte [eax], bl
mov esi, 0x9c
push esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push ebx
mov byte [ecx], bl
push eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], edx
mov byte [edx], bl
call fcn.004070d0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x403824
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0x94
call esi
test eax, eax
jne 0x403824
xor al, al
jmp 0x40387f
mov eax, dword [ebp - 0x1c]
sub eax, ebx
je 0x403855
dec eax
je 0x403855
dec eax
jne 0x403857
cmp dword [ebp - 0x28], 6
jb 0x403841
cmp dword [ebp - 0x24], ebx
jne 0x403857
mov eax, dword [ebp - 0x38]
jmp 0x40384a
cmp dword [ebp - 0x28], 5
jne 0x40384f
mov eax, dword [ebp - 0x34]
mov byte [eax], 1
jmp 0x403857
cmp dword [ebp - 0x28], 4
ja 0x403857
mov byte [edi], bl
push 0x24
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.004070d0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x5c], 9
jne 0x40387d
mov eax, dword [ebp - 0x30]
mov byte [eax], 1
mov al, 1
mov ecx, dword [ebp + 0x70]
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bdf
add ebp, 0x74
leave
ret 4

Function at 0x403ebc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x41b044]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push 0x103
lea eax, [esp + 0x14d]
push 0
push eax
mov byte [esp + 0x154], 0
call fcn.004070d0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x403f12
xor al, al
jmp 0x403f49
push str.winsxsx86_microsoft.vc90.crt_
lea eax, [esp + 0x14c]
push esi
push eax
call fcn.0040736d
add esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x403f0e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x254]
pop esi
xor ecx, esp
call fcn.00406bdf
mov esp, ebp
pop ebp
ret
Function at 0x404412
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x29c]
sub esp, 0x31c
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp + 0x298], eax
mov eax, dword [ebp + 0x2a4]
and dword [esi], 0
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 0x80], eax
cmp ebx, 6
ja 0x404600
lea eax, [eax + ebx*4]
mov dword [ebp - 0x7c], eax
mov eax, dword [eax]
test eax, eax
je 0x40445b
mov dword [esi], eax
xor eax, eax
jmp 0x404603
mov edi, 0x400
push edi
call fcn.00406c89
pop ecx
mov dword [esi], eax
test eax, eax
jne 0x404475
push 2
pop eax
jmp 0x404603
push edi
push 0
push eax
call fcn.004070d0
mov eax, ebx
add esp, 0xc
sub eax, 0
mov ebx, 0x417e70
je 0x4045a6
dec eax
je 0x4045a0
dec eax
je 0x40459a
dec eax
je 0x404582
dec eax
je 0x40457c
dec eax
je 0x4044c0
dec eax
jne 0x4045c9
push 1
push 0x2a
jmp 0x4045aa
push 0x103
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.004070d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4045c9
push 0x103
lea eax, [ebp + 0x91]
push 0
push eax
mov byte [ebp + 0x90], 0
call fcn.004070d0
push 0x103
lea eax, [ebp + 0x195]
push 0
push eax
mov byte [ebp + 0x194], 0
call fcn.004070d0
xor eax, eax
push eax
push eax
push eax
push eax
mov eax, 0x104
push eax
lea ecx, [ebp + 0x194]
push ecx
push eax
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004088cb
lea eax, [ebp + 0x90]
push eax
push edi
push dword [esi]
call fcn.0040736d
add esp, 0x48
lea eax, [ebp + 0x194]
push eax
push edi
push dword [esi]
call fcn.0040736d
add esp, 0xc
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x1c], 1
jne 0x4045d8
push str.RoomConnector
jmp 0x4045dd
push 1
push 0x20
jmp 0x4045aa
push dword [esi]
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x78], eax
jmp 0x4045c3
push 1
push 0x26
jmp 0x4045aa
push 1
push 0x1c
jmp 0x4045aa
push 1
push 0x1a
push dword [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push ebx
push edi
push dword [esi]
mov dword [ebp - 0x78], eax
call fcn.0040736d
add esp, 0xc
cmp dword [ebp - 0x78], 0
jne 0x40456c
push dword [esi]
call fcn.0040714a
pop ecx
push 3
jmp 0x40446f
push str.RingCentralMeetings
push edi
push dword [esi]
call fcn.0040736d
add esp, 0xc
push ebx
push edi
push dword [esi]
call fcn.0040736d
mov eax, dword [esi]
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
mov dword [ecx], eax
jmp 0x404454
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x298]
pop edi
xor ecx, ebp
pop ebx
call fcn.00406bdf
add ebp, 0x29c
leave
ret 4
Function at 0x40461c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
je 0x40469e
test ebx, ebx
je 0x40469e
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.004070d0
push edi
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.00407b52
push 0x417e70
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.0040736d
push ebx
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.0040736d
add esp, 0x30
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop esi
mov eax, ecx
jmp 0x4046a0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406bdf
leave
ret
Function at 0x4046ac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x524
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
push edi
mov esi, edx
mov dword [ebp - 0x524], eax
test ebx, ebx
je 0x404881
test esi, esi
je 0x404881
mov edi, 0x3ff
push edi
lea eax, [ebp - 0x407]
push 0
push eax
mov byte [ebp - 0x408], 0
call fcn.004070d0
add esp, 0xc
push ebx
lea eax, [ebp - 0x408]
push edi
push eax
call fcn.00407b52
add esp, 0xc
push esi
lea eax, [ebp - 0x408]
push edi
push eax
call fcn.0040736d
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x404881
test al, 0x10
je 0x404881
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 1
lea edi, [ebp - 0x408]
jne 0x4047a0
mov ebx, str.RoomConnector.exe
call fcn.0040461c
mov ebx, str.gateway_conf_client.dll
mov esi, eax
call fcn.0040461c
mov ebx, str.gmcm.dll
mov dword [ebp - 0x520], eax
call fcn.0040461c
mov ebx, str.gviper.dll
mov dword [ebp - 0x51c], eax
call fcn.0040461c
xor ecx, ecx
cmp esi, ecx
je 0x404881
cmp dword [ebp - 0x520], ecx
je 0x404881
cmp dword [ebp - 0x51c], ecx
jmp 0x40480a
mov ebx, str.RingCentralMeetings.exe
call fcn.0040461c
mov esi, eax
test esi, esi
jne 0x4047c2
mov ebx, str.Zoom.exe
lea edi, [ebp - 0x408]
call fcn.0040461c
mov esi, eax
mov ebx, str.zChatApp.dll
lea edi, [ebp - 0x408]
call fcn.0040461c
mov ebx, str.zVideoApp.dll
mov dword [ebp - 0x51c], eax
call fcn.0040461c
mov ebx, str.Cmmlib.dll
mov dword [ebp - 0x520], eax
call fcn.0040461c
xor ecx, ecx
cmp esi, ecx
je 0x404881
cmp dword [ebp - 0x51c], ecx
je 0x404881
cmp dword [ebp - 0x520], ecx
je 0x404881
cmp eax, ecx
je 0x404881
mov edi, 0x104
push edi
push ecx
lea eax, [ebp - 0x510]
push eax
mov dword [ebp - 0x518], ecx
mov dword [ebp - 0x514], ecx
mov dword [ebp - 0x40c], ecx
call fcn.004070d0
lea eax, [ebp - 0x408]
add esp, 0xc
push eax
mov dword [ebp - 0x514], 1
call fcn.00407d40
inc eax
cmp eax, edi
pop ecx
jl 0x404858
xor eax, eax
jmp 0x404884
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x510]
push edi
push eax
call fcn.00407b52
mov esi, dword [ebp - 0x524]
add esp, 0xc
lea eax, [ebp - 0x518]
push eax
call fcn.004049d2
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bdf
leave
ret 8
Function at 0x405090
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
push esi
mov esi, dword [eax + 8]
xor edx, edx
test esi, esi
jle 0x4050b9
mov ecx, dword [eax]
add ecx, 0x804
cmp dword [ecx], 0
je 0x4050b9
inc edx
add ecx, 0x80c
cmp edx, esi
jl 0x4050a9
cmp edx, esi
jne 0x4050c0
or edx, 0xffffffff
cmp edx, 0xffffffff
je 0x405134
test edx, edx
jl 0x405134
cmp edx, esi
jge 0x405134
mov esi, dword [eax]
mov ecx, edx
imul ecx, ecx, 0x80c
add esi, ecx
cmp edx, dword [eax + 8]
push ebx
lea ebx, [esi + 0x400]
jge 0x4050f2
mov eax, dword [eax]
mov dword [eax + ecx + 0x804], 1
push 0x10
call fcn.00407fd2
pop ecx
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x40510c
push edi
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, ecx
pop edi
test eax, eax
je 0x405133
mov ecx, dword [esp + 0xc]
push eax
push 0
push 0x40502d
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], 0x418388
mov dword [eax + 0xc], ecx
call fcn.00408bcb
add esp, 0xc
pop ebx
pop esi
ret 4

Function at 0x405588
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov esi, ecx
test ebx, ebx
je 0x40559c
push str.CDownloadDialog::DownloadComplete__success
jmp 0x4055a1
push str.CDownloadDialog::DownloadComplete__fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x405605
mov ecx, edi
call fcn.00402291
cmp eax, 0xffffffff
je 0x405605
test ebx, ebx
setne cl
movzx ecx, cl
push ecx
mov ecx, eax
mov edx, edi
call fcn.00402014
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
xor edx, edx
test ecx, ecx
jle 0x4055fe
mov eax, dword [eax]
add eax, 0x804
mov edi, dword [eax]
cmp edi, 2
je 0x4055f4
cmp edi, 3
jne 0x40560b
inc edx
add eax, 0x80c
cmp edx, ecx
jl 0x4055e8
push 0
call fcn.00405138
pop edi
pop esi
pop ebx
ret 4
test ebx, ebx
je 0x4055fe
push esi
call fcn.00405090
jmp 0x405605