joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440182
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x457054
je 0x44023e
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440226
mov esi, dword [ebx + 4]
jmp 0x440220
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x440210
cmp dword [ebp - 0xc], 4
jne 0x440210
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x440208
or dword [eax + 0x9c], ecx
jmp 0x440210
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x4401d4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x4401b7
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x44062c
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4448ee
call fcn.0042af2c
sub esp, 0x11c
mov eax, dword [0x458000]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x440725
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x4406f9
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00402370
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0044062c
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401bc0
test bl, bl
jne 0x4406f9
or dword [ebp - 4], 0xffffffff
jmp 0x44066a
cmp esi, 0x103
je 0x440709
cmp esi, 0x3f2
jne 0x440719
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.00429911
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x441955
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x44198a
cmp edi, dword [esi + 0xc]
jge 0x44198a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44198a
cmp edi, dword [eax + 8]
jge 0x44198a
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x44198c
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x441a90
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x441ac4
jmp fcn.00436c16
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x441b35
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x441c2e
cmp eax, dword [edi + 0xc]
jge 0x441c2e
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x441b86
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x441c17
cmp dword [ebp + 0xc], ebx
je 0x441c17
jmp 0x441bb0
push 0x10
call fcn.00441821
cmp eax, ebx
je 0x441b9c
mov ecx, eax
call fcn.00441a87
mov esi, eax
jmp 0x441b9e
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x441bc7
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x441bd7
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x441be9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00436c16
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0042b350
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x441c29
cmp ecx, dword [esi + 8]
jge 0x441c29
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x441c2f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x441ced
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x441d1b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x441d39
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00441c57
jmp 0x441d39
mov eax, dword [esi + 0x14]
test eax, eax
je 0x441d39
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00441c57
test edi, edi
mov eax, edi
jne 0x441d23
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56c4b4]
test ecx, ecx
je 0x441dec
jmp 0x441cec
ret 8
Function at 0x402005
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1790]
mov eax, 0x1810
call fcn.004124e0
mov eax, dword [0x41b034]
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 0x402257
cmp esi, dword [ebx + 8]
jge 0x402257
mov eax, dword [ebx]
imul esi, esi, 0x80c
cmp byte [ebp + 0x1798], 0
je 0x40205c
mov dword [esi + eax + 0x804], 2
jmp 0x402067
mov dword [esi + eax + 0x804], 3
mov eax, dword [ebx]
push edi
lea edi, [esi + eax]
cmp dword [edi + 0x808], 1
jne 0x402256
push 0x7ff
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.00406970
push 0x417ea4
add edi, 0x400
push edi
call fcn.004068d9
add esp, 0x14
mov dword [ebp - 0x78], eax
test eax, eax
je 0x402150
push eax
mov edi, 0x800
push edi
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.004073d5
push dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
call fcn.00406d49
add esp, 0x14
cmp dword [ebp - 0x80], 0
jle 0x402150
cmp dword [ebp - 0x80], edi
jge 0x4020df
mov byte [ebp + 0x78b], 0
lea eax, [ebp - 0x74]
push str.Package_url
push eax
call fcn.004066e0
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
test eax, eax
je 0x402150
push 0x417eb8
push eax
call fcn.004066e0
pop ecx
pop ecx
test eax, eax
je 0x40210a
mov byte [eax], 0
mov ebx, 0x3ff
push ebx
lea eax, [ebp + 0xf8d]
push 0
push eax
mov byte [ebp + 0xf8c], 0
call fcn.00406970
push ebx
lea eax, [ebp + 0x138d]
push 0
push eax
mov byte [ebp + 0x138c], 0
call fcn.00406970
add esp, 0x18
lea edi, [ebp + 0xf8c]
call fcn.00402907
test al, al
jne 0x402162
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ebx]
mov dword [esi + eax + 0x804], 3
jmp 0x402256
lea eax, [ebp + 0xf8c]
push eax
mov esi, 0x400
lea eax, [ebp + 0x138c]
push esi
push eax
call fcn.00406c0d
push str._Zoom.msi
lea eax, [ebp + 0x138c]
push esi
push eax
call fcn.00406c0d
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x7c]
add esp, 0x18
push 0
push 0x517500
lea ecx, [ebp + 0x138c]
add eax, 0xc
push ecx
push eax
mov dword [ebp - 0x78], eax
call fcn.00401f0e
push ebx
xor edi, edi
lea eax, [ebp + 0xb8d]
push edi
push eax
mov byte [ebp + 0xb8c], 0
call fcn.00406970
lea eax, [ebp + 0xf8c]
push eax
lea eax, [ebp + 0xb8c]
push esi
push eax
call fcn.004073f2
push str._Installer.exe
lea eax, [ebp + 0xb8c]
push esi
push eax
call fcn.00406c0d
push ebx
lea eax, [ebp + 0x78d]
push edi
push eax
mov byte [ebp + 0x78c], 0
call fcn.00406970
push dword [ebp - 0x78]
lea eax, [ebp + 0x78c]
push esi
push eax
call fcn.004073f2
lea eax, [ebp + 0x78c]
push str.Zoom.msi_tatupg
push eax
call fcn.004066e0
add esp, 0x44
cmp eax, edi
je 0x402256
push str.Installer.exe_tatupg
push 0x16
push eax
call fcn.004073f2
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.00401f0e
pop edi
mov ecx, dword [ebp + 0x178c]
pop esi
xor ecx, ebp
pop ebx
call fcn.00406486
add ebp, 0x1790
leave
ret 4
Function at 0x4025fb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x41b034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0x800
mov dword [0x41ddbc], esi
mov dword [0x41ddc0], esi
mov dword [0x41ddc4], esi
mov dword [0x41ddc8], esi
call fcn.00406530
pop ecx
mov dword [0x41ddbc], eax
cmp eax, esi
je 0x402691
push 4
push esi
push eax
call fcn.00406970
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [0x41ddbc]
lea eax, [ebp - 0x108]
push esi
push 0x417f14
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xc
call fcn.00407475
pop ecx
cmp eax, esi
je 0x40268a
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
jmp 0x40268c
xor eax, eax
mov dword [0x41ddc8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x41ddbc
pop esi
call fcn.00406486
leave
ret

Function at 0x402709
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 0x402742
xor al, al
jmp 0x4027c2
lea eax, [ebp - 8]
push eax
push edi
push ebx
push str.ZoomUMX
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40278a
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 0x40278a
cmp dword [ebp - 0xc], 1
je 0x4027a6
cmp dword [ebp - 0xc], 2
je 0x4027a6
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x40279a
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x40273b
push dword [ebp - 8]
call esi
jmp 0x40273b
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x4027b6
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x4027c0
push dword [ebp - 8]
call esi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4027c9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4150f0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x41b034]
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 0x402815
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 0x40284f
push 0x1c
call fcn.00407475
mov edi, eax
pop ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], ebx
cmp edi, ebx
je 0x402841
push 0x18
push ebx
push edi
mov dword [edi + 0x18], ebx
call fcn.00406970
add esp, 0xc
jmp 0x402843
xor edi, edi
or dword [esp + 0x38], 0xffffffff
mov dword [esi + 4], edi
cmp edi, ebx
je 0x4027fe
lea eax, [esp + 0x14]
push eax
call fcn.004039e1
push dword [ebp + 8]
mov dword [esp + 0x3c], 1
call fcn.00402709
mov edi, 0x110
test al, al
je 0x4028c6
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
mov edx, 0x417cc6
call fcn.004041ea
test eax, eax
je 0x4028c6
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
mov ecx, edi
cdq
idiv ecx
test eax, eax
je 0x4028c6
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.00403a1a
mov al, bl
jmp 0x402800
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call fcn.0040449d
test eax, eax
je 0x4028b0
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
cdq
idiv edi
cmp eax, ebx
je 0x4028b0
ja 0x4028ed
call fcn.00407bf4
mov eax, dword [esp + 0x20]
add eax, 8
push eax
push 0x400
push dword [ebp + 8]
call fcn.004073f2
add esp, 0xc
jmp 0x4028ae

Function at 0x402907
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 0x40291b
xor al, al
ret
push ebx
push esi
push 0x417e74
mov esi, 0x400
push esi
push edi
call fcn.00406c0d
push 0x417f9c
push esi
push edi
call fcn.00406c0d
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x18
push 0
push edi
call ebx
push str.ZoomDownload
push esi
push edi
call fcn.00406c0d
add esp, 0xc
push 0
push edi
call ebx
pop esi
mov al, 1
pop ebx
ret
Function at 0x402e4d
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xd0
mov eax, dword [0x41b034]
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.00406970
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 0x402eb6
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0x94
call esi
test eax, eax
jne 0x402eb6
xor al, al
jmp 0x402f11
mov eax, dword [ebp - 0x1c]
sub eax, ebx
je 0x402ee7
dec eax
je 0x402ee7
dec eax
jne 0x402ee9
cmp dword [ebp - 0x28], 6
jb 0x402ed3
cmp dword [ebp - 0x24], ebx
jne 0x402ee9
mov eax, dword [ebp - 0x38]
jmp 0x402edc
cmp dword [ebp - 0x28], 5
jne 0x402ee1
mov eax, dword [ebp - 0x34]
mov byte [eax], 1
jmp 0x402ee9
cmp dword [ebp - 0x28], 4
ja 0x402ee9
mov byte [edi], bl
push 0x24
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00406970
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x5c], 9
jne 0x402f0f
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.00406486
add ebp, 0x74
leave
ret 4

Function at 0x40351c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x41b034]
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.00406970
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 0x403572
xor al, al
jmp 0x4035a9
push str.winsxsx86_microsoft.vc90.crt_
lea eax, [esp + 0x14c]
push esi
push eax
call fcn.00406c0d
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 0x40356e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x254]
pop esi
xor ecx, esp
call fcn.00406486
mov esp, ebp
pop ebp
ret
Function at 0x403f60
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x29c]
sub esp, 0x31c
mov eax, dword [0x41b034]
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, 5
ja 0x40413e
lea eax, [eax + ebx*4]
mov dword [ebp - 0x7c], eax
mov eax, dword [eax]
test eax, eax
je 0x403fa9
mov dword [esi], eax
xor eax, eax
jmp 0x404141
mov edi, 0x400
push edi
call fcn.00406530
pop ecx
mov dword [esi], eax
test eax, eax
jne 0x403fc3
push 2
pop eax
jmp 0x404141
push edi
push 0
push eax
call fcn.00406970
mov eax, ebx
add esp, 0xc
sub eax, 0
mov ebx, 0x417e74
je 0x4040e3
dec eax
je 0x4040dd
dec eax
je 0x4040d7
dec eax
je 0x4040c2
dec eax
je 0x4040bc
dec eax
jne 0x404107
push 0x103
push eax
mov byte [ebp - 0x74], al
lea eax, [ebp - 0x73]
push eax
call fcn.00406970
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x404107
push 0x103
lea eax, [ebp + 0x91]
push 0
push eax
mov byte [ebp + 0x90], 0
call fcn.00406970
push 0x103
lea eax, [ebp + 0x195]
push 0
push eax
mov byte [ebp + 0x194], 0
call fcn.00406970
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.004080ab
lea eax, [ebp + 0x90]
push eax
push edi
push dword [esi]
call fcn.00406c0d
add esp, 0x48
lea eax, [ebp + 0x194]
push eax
push edi
push dword [esi]
call fcn.00406c0d
add esp, 0xc
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x18], 1
jne 0x404116
push str.RoomConnector
jmp 0x40411b
push 1
push 0x20
jmp 0x4040e7
push dword [esi]
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
neg eax
sbb eax, eax
neg eax
jmp 0x404103
push 1
push 0x26
jmp 0x4040e7
push 1
push 0x1c
jmp 0x4040e7
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.00406c0d
mov eax, dword [ebp - 0x78]
add esp, 0xc
test eax, eax
jne 0x4040ac
push dword [esi]
call fcn.004069ea
pop ecx
push 3
jmp 0x403fbd
push 0x417f9c
push edi
push dword [esi]
call fcn.00406c0d
add esp, 0xc
push ebx
push edi
push dword [esi]
call fcn.00406c0d
mov eax, dword [esi]
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
mov dword [ecx], eax
jmp 0x403fa2
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x298]
pop edi
xor ecx, ebp
pop ebx
call fcn.00406486
add ebp, 0x29c
leave
ret 4
Function at 0x40415a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x41b034]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
je 0x4041dc
test ebx, ebx
je 0x4041dc
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.00406970
push edi
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.004073f2
push 0x417e74
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.00406c0d
push ebx
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.00406c0d
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 0x4041de
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406486
leave
ret

Function at 0x4041ea
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x524
mov eax, dword [0x41b034]
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 0x4043a9
test esi, esi
je 0x4043a9
mov edi, 0x3ff
push edi
lea eax, [ebp - 0x407]
push 0
push eax
mov byte [ebp - 0x408], 0
call fcn.00406970
add esp, 0xc
push ebx
lea eax, [ebp - 0x408]
push edi
push eax
call fcn.004073f2
add esp, 0xc
push esi
lea eax, [ebp - 0x408]
push edi
push eax
call fcn.00406c0d
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4043a9
test al, 0x10
je 0x4043a9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 1
lea edi, [ebp - 0x408]
jne 0x4042de
mov ebx, str.RoomConnector.exe
call fcn.0040415a
mov ebx, str.gateway_conf_client.dll
mov esi, eax
call fcn.0040415a
mov ebx, str.gmcm.dll
mov dword [ebp - 0x520], eax
call fcn.0040415a
mov ebx, str.gviper.dll
mov dword [ebp - 0x51c], eax
call fcn.0040415a
xor ecx, ecx
cmp esi, ecx
je 0x4043a9
cmp dword [ebp - 0x520], ecx
je 0x4043a9
cmp dword [ebp - 0x51c], ecx
jmp 0x404332
mov ebx, str.Zoom.exe
call fcn.0040415a
mov ebx, str.zChatApp.dll
lea edi, [ebp - 0x408]
mov esi, eax
call fcn.0040415a
mov ebx, str.zVideoApp.dll
mov dword [ebp - 0x51c], eax
call fcn.0040415a
mov ebx, str.Cmmlib.dll
mov dword [ebp - 0x520], eax
call fcn.0040415a
xor ecx, ecx
cmp esi, ecx
je 0x4043a9
cmp dword [ebp - 0x51c], ecx
je 0x4043a9
cmp dword [ebp - 0x520], ecx
je 0x4043a9
cmp eax, ecx
je 0x4043a9
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.00406970
lea eax, [ebp - 0x408]
add esp, 0xc
push eax
mov dword [ebp - 0x514], 1
call fcn.00407660
inc eax
cmp eax, edi
pop ecx
jl 0x404380
xor eax, eax
jmp 0x4043ac
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x510]
push edi
push eax
call fcn.004073f2
mov esi, dword [ebp - 0x524]
add esp, 0xc
lea eax, [ebp - 0x518]
push eax
call fcn.004044fa
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406486
leave
ret 8
Function at 0x404bb8
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 0x404be1
mov ecx, dword [eax]
add ecx, 0x804
cmp dword [ecx], 0
je 0x404be1
inc edx
add ecx, 0x80c
cmp edx, esi
jl 0x404bd1
cmp edx, esi
jne 0x404be8
or edx, 0xffffffff
cmp edx, 0xffffffff
je 0x404c5c
test edx, edx
jl 0x404c5c
cmp edx, esi
jge 0x404c5c
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 0x404c1a
mov eax, dword [eax]
mov dword [eax + ecx + 0x804], 1
push 0x10
call fcn.00407475
pop ecx
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x404c34
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 0x404c5b
mov ecx, dword [esp + 0xc]
push eax
push 0
push 0x404b55
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], 0x418394
mov dword [eax + 0xc], ecx
call fcn.004083ab
add esp, 0xc
pop ebx
pop esi
ret 4

Function at 0x4050b1
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov esi, ecx
test ebx, ebx
je 0x4050c5
push str.CDownloadDialog::DownloadComplete__success
jmp 0x4050ca
push str.CDownloadDialog::DownloadComplete__fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x40512e
mov ecx, edi
call fcn.00402270
cmp eax, 0xffffffff
je 0x40512e
test ebx, ebx
setne cl
movzx ecx, cl
push ecx
mov ecx, eax
mov edx, edi
call fcn.00402005
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 0x405127
mov eax, dword [eax]
add eax, 0x804
mov edi, dword [eax]
cmp edi, 2
je 0x40511d
cmp edi, 3
jne 0x405134
inc edx
add eax, 0x80c
cmp edx, ecx
jl 0x405111
push 0
call fcn.00404c60
pop edi
pop esi
pop ebx
ret 4
test ebx, ebx
je 0x405127
push esi
call fcn.00404bb8
jmp 0x40512e