joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40172a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [esp + 0xc], edx
mov edx, ebx
push edi
call fcn.004013d7
pop ecx
test eax, eax
jne 0x401752
push 0xb
pop eax
jmp 0x4017a5
call fcn.00401270
test eax, eax
jne 0x401790
call fcn.00401725
test eax, eax
je 0x401790
cmp esi, 7
je 0x4017ac
cmp esi, 1
je 0x401773
cmp esi, 9
jne 0x401790
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov edx, ebx
push dword [ebp + 0x14]
push edi
call fcn.00401afc
add esp, 0xc
test eax, eax
jne 0x4017bd
cmp esi, 1
jne 0x4017bd
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x18]
mov edx, ebx
push dword [ebp + 0x14]
push edi
call fcn.00401579
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x21
jmp 0x4017a5

Function at 0x402251
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4022e8
test edi, edi
je 0x4022e8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x105
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.0045a980
push esi
mov esi, 0x104
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.00439e2b
push edi
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.00439e2b
add esp, 0x24
lea eax, [ebp - 0x10c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4022d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4022e8
lea ecx, [ebp - 0x10c]
call fcn.00402d9e
test eax, eax
je 0x4022e8
xor eax, eax
inc eax
jmp 0x4022ea
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00455de6
leave
ret 8

Function at 0x40243f
Capabilities:
Create directory
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x314], edi
and dword [esi], 0
cmp ebx, 7
ja 0x402632
mov eax, dword [edi + ebx*4]
test eax, eax
je 0x40247f
mov dword [esi], eax
xor eax, eax
jmp 0x402635
push 0x400
call fcn.0041d7d0
mov dword [esp], 0x400
push 0
push eax
mov dword [esi], eax
call fcn.0045a980
xor eax, eax
add esp, 0xc
inc eax
jmp dword [ebx*4 + 0x402647]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455de6
leave
ret 0xc
Function at 0x402667
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x4026e8
test esi, esi
je 0x4026e8
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0045a980
push edi
mov edi, 0x3ff
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.00439d3a
push 0x474fa4
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.00439e2b
push esi
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.00439e2b
add esp, 0x30
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4026e8
xor eax, eax
inc eax
jmp 0x4026ea
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00455de6
leave
ret
Function at 0x4026f8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x51c
mov eax, dword [0x489870]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 4], ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
je 0x402939
test esi, esi
je 0x402939
push 0x400
lea eax, [esp + 0x124]
push 0
push eax
call fcn.0045a980
push ebx
mov ebx, 0x3ff
lea eax, [esp + 0x130]
push ebx
push eax
call fcn.00439d3a
push esi
lea eax, [esp + 0x13c]
push ebx
push eax
call fcn.00439e2b
add esp, 0x24
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402939
test al, 0x10
je 0x402939
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x120]
cmp dword [eax + 0x20], 1
jne 0x402855
mov edx, str.RoomConnector.exe
call fcn.00402667
mov edx, str.gateway_conf_client.dll
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402667
mov edx, str.gmcm.dll
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x120]
call fcn.00402667
mov edx, str.gviper.dll
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402667
test esi, esi
je 0x402939
cmp dword [esp + 0xc], 0
je 0x402939
test ebx, ebx
je 0x402939
test eax, eax
je 0x402939
lea ecx, [esp + 0x10]
call fcn.004021ef
lea eax, [esp + 0x120]
mov dword [esp + 0x14], 1
push eax
call fcn.00439da0
inc eax
mov edx, 0x104
pop ecx
cmp eax, edx
jge 0x402913
lea eax, [esp + 0x120]
push eax
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00439d3a
add esp, 0xc
lea eax, [esp + 0x10]
push eax
jmp 0x402932
cmp dword [eax + 0x20], 2
jne 0x402892
mov edx, str.Controller.exe
call fcn.00402667
mov edx, 0x475024
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402667
mov edx, str.zrc_sdk.dll
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402667
test esi, esi
jmp 0x4027f2
mov edx, 0x47503c
call fcn.00402667
mov edx, str.zChatApp.dll
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402667
mov edx, str.zVideoApp.dll
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x120]
call fcn.00402667
mov edx, 0x475024
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402667
test esi, esi
je 0x402939
cmp dword [esp + 0xc], 0
je 0x402939
test ebx, ebx
je 0x402939
test eax, eax
je 0x402939
lea ecx, [esp + 0x10]
call fcn.004021ef
lea eax, [esp + 0x120]
mov dword [esp + 0x14], 1
push eax
call fcn.00439da0
inc eax
mov edx, 0x104
pop ecx
cmp eax, edx
jl 0x402917
xor eax, eax
jmp 0x40293c
lea eax, [esp + 0x120]
push eax
push edx
lea ecx, [esp + 0x20]
push ecx
call fcn.00439d3a
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00402f97
xor eax, eax
inc eax
mov ecx, dword [esp + 0x524]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00455de6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402c85
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x402d87
push str._CZoomProductPathHelper::RecursiveRemoveDirA__Path_is:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 0x20a
lea eax, [ebp - 0x210]
push ebx
xor edi, edi
push edi
push eax
call fcn.0045a980
push esi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00439b0d
push esi
call fcn.00439835
add eax, eax
add esp, 0x1c
cmp eax, ebx
jae 0x402d98
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
add eax, 2
cmp eax, ebx
jae 0x402d98
mov word [ebp + eax - 0x210], cx
xorps xmm0, xmm0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x228], eax
mov eax, 0x414
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x224], edi
movlpd qword [ebp - 0x21e], xmm0
mov dword [ebp - 0x216], edi
mov dword [ebp - 0x22c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
cmp dword [ebp - 0x21e], edi
jne 0x402d87
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402d87
test ebx, ebx
je 0x402d80
cmp ebx, 2
je 0x402d80
cmp ebx, 0x402
jne 0x402d83
xor edi, edi
inc edi
mov eax, edi
jmp 0x402d89
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455de6
leave
ret
call fcn.00455f44
int3

Function at 0x402d9e
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x402ea3
push str._ProductPathHelper::RecursiveRemoveDirA__Path_is:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x475144
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, 0x105
lea eax, [ebp - 0x10c]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.0045a980
push esi
lea eax, [ebp - 0x10c]
push 0x104
push eax
call fcn.00439d3a
push esi
call fcn.00439da0
add esp, 0x1c
cmp eax, edi
jae 0x402eb4
mov byte [ebp + eax - 0x10c], bl
inc eax
cmp eax, edi
jae 0x402eb4
mov byte [ebp + eax - 0x10c], bl
xorps xmm0, xmm0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x124], eax
mov eax, 0x414
mov word [ebp - 0x11c], ax
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x120], ebx
movlpd qword [ebp - 0x11a], xmm0
mov dword [ebp - 0x112], ebx
mov dword [ebp - 0x128], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
cmp dword [ebp - 0x11a], ebx
jne 0x402ea3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x402ea3
test edi, edi
je 0x402e9c
cmp edi, 2
je 0x402e9c
cmp edi, 0x402
jne 0x402e9f
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x402ea5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455de6
leave
ret
call fcn.00455f44
int3
Function at 0x402eba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x489870]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x402f55
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.0045a980
add esp, 0xc
mov esi, ebx
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push dword [esi + 0x475158]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x402f4d
lea eax, [ebp - 0x404]
push eax
call fcn.00439da0
pop ecx
test eax, eax
je 0x402f4d
cmp byte [ebp + eax - 0x405], 0x5c
jne 0x402f38
lea ecx, [eax - 1]
mov eax, ecx
cmp ecx, 0x400
jae 0x402f6b
mov byte [ebp + ecx - 0x404], bl
push eax
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.00439c04
add esp, 0xc
test eax, eax
je 0x402f66
add esi, 4
cmp esi, 8
jb 0x402eef
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455de6
leave
ret
xor eax, eax
inc eax
jmp 0x402f57
call fcn.00455f44
int3

Function at 0x4053fb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040523a
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043b08c
push edi
call fcn.0043b36d
add esp, 0x10
cmp eax, 0xffffffff
jne 0x405433
push edi
call fcn.0043aaef
pop ecx
test eax, eax
je 0x405433
push ebx
push ebx
jmp 0x4054ad
push 2
push ebx
push edi
call fcn.0043b08c
push edi
call fcn.0043a9b1
push 0
cdq
push 0
push edi
mov ebx, eax
mov dword [ebp - 4], edx
call fcn.0043b08c
mov edx, dword [ebp - 4]
mov ecx, ebx
and ecx, edx
add esp, 0x1c
cmp ecx, 0xffffffff
jne 0x405467
push 0
push 0
jmp 0x4054ad
xor ecx, ecx
cmp edx, ecx
ja 0x4054ab
cmp ebx, 0xffffffff
jae 0x4054ab
mov eax, ebx
or eax, edx
jne 0x40547e
push ecx
push ecx
push 0xd
jmp 0x4054af
lea eax, [ebx + 1]
push eax
call fcn.0041d7d0
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.0043e1ee
add esp, 0x14
cmp eax, ebx
jne 0x405461
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.0040556f
jmp 0x4054b8
push ecx
push ecx
push 5
push esi
call fcn.004054c2
add esp, 0x10
mov eax, dword [esi + 0x38]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40688e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4068dd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
push str.svcVersion
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
xor ecx, ecx
inc ecx
test eax, eax
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x4068e2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20006
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40692e
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push 0x47503c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
xor ecx, ecx
inc ecx
test eax, eax
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x406933
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20006
push esi
push edx
push ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406972
push 0x47503c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
xor ecx, ecx
inc ecx
test eax, eax
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x409602
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x461e7c
call fcn.00461432
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 7
xor ebx, ebx
mov word [ebp - 0x28], ax
push str.SoftwareIM_Providers
mov edi, SysReAllocString
mov dword [ebp - 0x18], ebx
call fcn.0040aa0b
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
je 0x409688
push 0x4757d8
mov edx, esi
lea ecx, [ebp - 0x58]
add edi, 2
call fcn.0040b6be
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov edx, eax
mov dword [esp], str.SoftwareIM_Providers
call fcn.0040b71c
pop ecx
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x409678
mov byte [ebp - 0x5c], bl
push dword [ebp - 0x5c]
push eax
call fcn.0040ab58
lea ecx, [ebp - 0x40]
call fcn.0040a991
lea ecx, [ebp - 0x58]
call fcn.0040a991
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
push 0x20019
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call fcn.0040872b
mov esi, dword [ebp - 0x34]
mov edi, eax
test edi, edi
je 0x4096ed
push 0x9a
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludeIMPluginWrapper.cpp
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0040c17a
push edi
push ecx
mov edx, str._IsZMOutlookIMPluginEnabled___key.Open_STR_REGISTER_IM_PROVIDERS_failed__lResult:
mov byte [ebp - 4], 3
mov ecx, 0x48b250
call fcn.0040b4dd
pop ecx
mov ecx, eax
call fcn.00409fbf
jmp 0x409791
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], ebx
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x5c], 4
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push str.EnableOIP
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x40971f
cmp dword [ebp - 0x60], 4
je 0x409754
push 0xd
pop edi
push 0xa2
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludeIMPluginWrapper.cpp
push ebx
lea ecx, [ebp - 0x60]
call fcn.0040c17a
push edi
push ecx
mov edx, str._IsZMOutlookIMPluginEnabled___key.QueryDWORDValue__STR_REG_OIP_ENABLE_failed__lResult:
mov byte [ebp - 4], 4
mov ecx, 0x48b250
call fcn.0040b4dd
pop ecx
mov ecx, eax
call fcn.00409fbf
lea ecx, [ebp - 0x60]
jmp 0x409794
cmp dword [ebp - 0x64], 1
lea ecx, [ebp - 0x5c]
push 0xa8
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludeIMPluginWrapper.cpp
sete bl
push 0
mov byte [ebp - 0x60], bl
call fcn.0040c17a
mov byte [ebp - 4], 5
mov edx, str._IsZMOutlookIMPluginEnabled___bRet:
push dword [ebp - 0x60]
push ecx
mov ecx, 0x48b250
call fcn.0040b4dd
pop ecx
mov ecx, eax
call fcn.0040a0bd
lea ecx, [ebp - 0x5c]
call fcn.0040c319
test esi, esi
je 0x4097a4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4097be
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x28]
call fcn.004031ab
pop ecx
pop ecx
mov al, bl
call fcn.004613ed
ret 4
Function at 0x409b3f
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x461f6a
call fcn.00461432
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0040aaae
mov byte [ebp - 4], 1
cmp dword [edi + 0x10], 0
jne 0x409b82
mov ecx, SysReAllocString
jmp 0x409be3
push edi
lea ecx, [ebp - 0x28]
call fcn.0040a1f2
push 0x4757d8
lea ecx, [ebp - 0x28]
call fcn.0040a1bb
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x2c], 0
push ebx
call fcn.0040aaae
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040b2aa
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x409bde
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x40]
call fcn.004031ab
pop ecx
pop ecx
mov ecx, SysStringLen
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x2001f
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040872b
mov edi, eax
test edi, edi
jne 0x409c27
cmp dword [esi + 0x14], 8
jb 0x409c0b
mov esi, dword [esi]
push esi
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test esi, esi
je 0x409c2a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x409c2a
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
test edi, edi
sete bl
cmp eax, 8
jb 0x409c49
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.004031ab
pop ecx
pop ecx
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x409c65
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.004613ed
ret 0xc
Function at 0x40ec5e
Capabilities:
Set registry value

Disassembly:
push 0x58
mov eax, 0x4627d6
call fcn.00461432
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 0x10]
push 0x1b4
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push ebx
mov dword [ebp - 0x60], eax
call fcn.0040c17a
mov edx, str.Start_SetRegApp...
mov dword [ebp - 4], ebx
mov ecx, 0x48b250
call fcn.004102a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040c319
xor eax, eax
mov dword [ebp - 0x18], ebx
push str.SOFTWARERegisteredApplications
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040aa0b
push ebx
push esi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
call fcn.0040fd8c
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40ecf9
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.004031ab
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x40edbf
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
push esi
mov edx, str.SoftwareClientsZoomPBX_
call fcn.004104e6
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
mov edx, eax
mov dword [esp], str.Capabilities
call fcn.0040b71c
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040a991
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [esi + 0x14], 8
jb 0x40ed5a
mov esi, dword [esi]
mov eax, dword [ebp - 0x30]
add eax, eax
push eax
push ecx
push 1
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x40edad
push 0x1bf
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x64]
call fcn.0040c17a
push esi
push ecx
mov edx, str.RegSetValueEx_fail_error_code:
mov byte [ebp - 4], 5
mov ecx, 0x48b250
call fcn.004102a0
pop ecx
mov ecx, eax
call fcn.00409fbf
lea ecx, [ebp - 0x64]
call fcn.0040c319
jmp 0x40edb0
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x40]
call fcn.0040a991
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.004613ed
ret 0xc
Function at 0x40eed0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x10c
mov eax, 0x46287b
call fcn.00461432
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push 0x1ec
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 0
call fcn.0040c17a
and dword [ebp - 4], 0
mov edx, str.Start_ClearDefaultProtocolHandler...
mov ecx, 0x48b250
call fcn.004102a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0040c319
push esi
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [ebp - 0x108]
call fcn.004104e6
xor esi, esi
lea ecx, [ebp - 0xf0]
inc esi
mov edx, eax
mov dword [ebp - 4], esi
mov dword [esp], str.UserChoice
call fcn.0040b71c
pop ecx
push esi
push edi
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0040fd8c
lea ecx, [ebp - 0xf0]
mov esi, eax
call fcn.0040a991
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.0040a991
test esi, esi
je 0x40f080
xor ebx, ebx
lea eax, [ebp - 0xd8]
push 0xc8
push ebx
push eax
mov dword [ebp - 0x110], ebx
call fcn.0045a980
add esp, 0xc
mov dword [ebp - 0x114], 0xc6
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
mov ebx, str.Progid
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x40f00d
push 0x1fd
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x10c]
call fcn.0040c17a
push edi
push ecx
mov edx, str.RegQueryValueEx_fail_error_code:
mov dword [ebp - 4], 3
mov ecx, 0x48b250
call fcn.004102a0
pop ecx
mov ecx, eax
call fcn.00409fbf
lea ecx, [ebp - 0x10c]
jmp 0x40f074
cmp dword [ebp - 0x110], 1
jne 0x40f079
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push eax
call fcn.00410178
test eax, eax
jne 0x40f079
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
je 0x40f079
push 0x208
push str.C:zoomcodeEP_2017Client_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x118]
call fcn.0040c17a
push edi
push ecx
mov edx, str.RegDeleteValue_fail_error_code:
mov dword [ebp - 4], 4
mov ecx, 0x48b250
call fcn.004102a0
pop ecx
mov ecx, eax
call fcn.00409fbf
lea ecx, [ebp - 0x118]
call fcn.0040c319
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004613ed
ret 0x10