joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c28
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x51c
mov eax, dword [0x48e880]
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 0x402e69
test esi, esi
je 0x402e69
push 0x400
lea eax, [esp + 0x124]
push 0
push eax
call fcn.0045d8a0
push ebx
mov ebx, 0x3ff
lea eax, [esp + 0x130]
push ebx
push eax
call fcn.0043d264
push esi
lea eax, [esp + 0x13c]
push ebx
push eax
call fcn.0043d34b
add esp, 0x24
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402e69
test al, 0x10
je 0x402e69
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x120]
cmp dword [eax + 0x20], 1
jne 0x402d85
mov edx, str.RoomConnector.exe
call fcn.00402b97
mov edx, str.gateway_conf_client.dll
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402b97
mov edx, str.gmcm.dll
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x120]
call fcn.00402b97
mov edx, str.gviper.dll
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402b97
test esi, esi
je 0x402e69
cmp dword [esp + 0xc], 0
je 0x402e69
test ebx, ebx
je 0x402e69
test eax, eax
je 0x402e69
lea ecx, [esp + 0x10]
call fcn.0040271f
lea eax, [esp + 0x120]
mov dword [esp + 0x14], 1
push eax
call fcn.0043d2c0
inc eax
mov edx, 0x104
pop ecx
cmp eax, edx
jge 0x402e43
lea eax, [esp + 0x120]
push eax
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0043d264
add esp, 0xc
lea eax, [esp + 0x10]
push eax
jmp 0x402e62
cmp dword [eax + 0x20], 2
jne 0x402dc2
mov edx, str.Controller.exe
call fcn.00402b97
mov edx, 0x4791d4
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402b97
mov edx, str.zrc_sdk.dll
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402b97
test esi, esi
jmp 0x402d22
mov edx, 0x4791ec
call fcn.00402b97
mov edx, str.zChatApp.dll
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402b97
mov edx, str.zVideoApp.dll
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x120]
call fcn.00402b97
mov edx, 0x4791d4
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402b97
test esi, esi
je 0x402e69
cmp dword [esp + 0xc], 0
je 0x402e69
test ebx, ebx
je 0x402e69
test eax, eax
je 0x402e69
lea ecx, [esp + 0x10]
call fcn.0040271f
lea eax, [esp + 0x120]
mov dword [esp + 0x14], 1
push eax
call fcn.0043d2c0
inc eax
mov edx, 0x104
pop ecx
cmp eax, edx
jl 0x402e47
xor eax, eax
jmp 0x402e6c
lea eax, [esp + 0x120]
push eax
push edx
lea ecx, [esp + 0x20]
push ecx
call fcn.0043d264
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004034c8
xor eax, eax
inc eax
mov ecx, dword [esp + 0x524]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00459996
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4031b6
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x48e880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4032b8
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.0045d8a0
push esi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0043d0ca
push esi
call fcn.0043cd78
add eax, eax
add esp, 0x1c
cmp eax, ebx
jae 0x4032c9
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
add eax, 2
cmp eax, ebx
jae 0x4032c9
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 0x4032b8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4032b8
test ebx, ebx
je 0x4032b1
cmp ebx, 2
je 0x4032b1
cmp ebx, 0x402
jne 0x4032b4
xor edi, edi
inc edi
mov eax, edi
jmp 0x4032ba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459996
leave
ret
call fcn.00459ac8
int3

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x48e880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4033d4
push str._ProductPathHelper::RecursiveRemoveDirA__Path_is:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4792f4
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.0045d8a0
push esi
lea eax, [ebp - 0x10c]
push 0x104
push eax
call fcn.0043d264
push esi
call fcn.0043d2c0
add esp, 0x1c
cmp eax, edi
jae 0x4033e5
mov byte [ebp + eax - 0x10c], bl
inc eax
cmp eax, edi
jae 0x4033e5
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 0x4033d4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4033d4
test edi, edi
je 0x4033cd
cmp edi, 2
je 0x4033cd
cmp edi, 0x402
jne 0x4033d0
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x4033d6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459996
leave
ret
call fcn.00459ac8
int3
Function at 0x4033eb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x48e880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x403486
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.0045d8a0
add esp, 0xc
mov esi, ebx
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push dword [esi + 0x479308]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x40347e
lea eax, [ebp - 0x404]
push eax
call fcn.0043d2c0
pop ecx
test eax, eax
je 0x40347e
cmp byte [ebp + eax - 0x405], 0x5c
jne 0x403469
lea ecx, [eax - 1]
mov eax, ecx
cmp ecx, 0x400
jae 0x40349c
mov byte [ebp + ecx - 0x404], bl
push eax
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.0043d12e
add esp, 0xc
test eax, eax
je 0x403497
add esi, 4
cmp esi, 8
jb 0x403420
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459996
leave
ret
xor eax, eax
inc eax
jmp 0x403488
call fcn.00459ac8
int3

Function at 0x40592b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040576a
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043e5ac
push edi
call fcn.0043e88d
add esp, 0x10
cmp eax, 0xffffffff
jne 0x405963
push edi
call fcn.0043e00f
pop ecx
test eax, eax
je 0x405963
push ebx
push ebx
jmp 0x4059dd
push 2
push ebx
push edi
call fcn.0043e5ac
push edi
call fcn.0043ded1
push 0
cdq
push 0
push edi
mov ebx, eax
mov dword [ebp - 4], edx
call fcn.0043e5ac
mov edx, dword [ebp - 4]
mov ecx, ebx
and ecx, edx
add esp, 0x1c
cmp ecx, 0xffffffff
jne 0x405997
push 0
push 0
jmp 0x4059dd
xor ecx, ecx
cmp edx, ecx
ja 0x4059db
cmp ebx, 0xffffffff
jae 0x4059db
mov eax, ebx
or eax, edx
jne 0x4059ae
push ecx
push ecx
push 0xd
jmp 0x4059df
lea eax, [ebx + 1]
push eax
call fcn.0041eab0
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.004417cf
add esp, 0x14
cmp eax, ebx
jne 0x405991
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.00405a9f
jmp 0x4059e8
push ecx
push ecx
push 5
push esi
call fcn.004059f2
add esp, 0x10
mov eax, dword [esi + 0x38]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x406dbe
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 0x406e0d
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 0x406e12
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 0x406e5e
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push 0x4791ec
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 0x406e63
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 0x406ea2
push 0x4791ec
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 0x40994f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x464b5c
call fcn.00464112
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push str.SoftwareIM_Providers
mov edi, SysReAllocString
call fcn.0040a52e
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
je 0x4099c5
push 0x4799a0
mov edx, esi
lea ecx, [ebp - 0x58]
add edi, 2
call fcn.0040b95e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [esp], str.SoftwareIM_Providers
call fcn.0040b9aa
pop ecx
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x4099b5
mov byte [ebp - 0x5c], bl
push dword [ebp - 0x5c]
push eax
call fcn.0040adf1
lea ecx, [ebp - 0x28]
call fcn.0040ac61
lea ecx, [ebp - 0x58]
call fcn.0040ac61
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x1c]
push 0x20019
cmovae eax, dword [ebp - 0x40]
push eax
push edi
call fcn.00408c5b
mov esi, dword [ebp - 0x1c]
mov edi, eax
test edi, edi
je 0x409a2a
push 0x9a
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludeIMPluginWrapper.cpp
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0040c3fa
push edi
push ecx
mov edx, str._IsZMOutlookIMPluginEnabled___key.Open_STR_REGISTER_IM_PROVIDERS_failed__lResult:
mov byte [ebp - 4], 3
mov ecx, 0x490320
call fcn.0040b77d
pop ecx
mov ecx, eax
call fcn.0040a2be
jmp 0x409ace
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 0x409a5c
cmp dword [ebp - 0x60], 4
je 0x409a91
push 0xd
pop edi
push 0xa2
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludeIMPluginWrapper.cpp
push ebx
lea ecx, [ebp - 0x60]
call fcn.0040c3fa
push edi
push ecx
mov edx, str._IsZMOutlookIMPluginEnabled___key.QueryDWORDValue__STR_REG_OIP_ENABLE_failed__lResult:
mov byte [ebp - 4], 4
mov ecx, 0x490320
call fcn.0040b77d
pop ecx
mov ecx, eax
call fcn.0040a2be
lea ecx, [ebp - 0x60]
jmp 0x409ad1
cmp dword [ebp - 0x64], 1
lea ecx, [ebp - 0x5c]
push 0xa8
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludeIMPluginWrapper.cpp
sete bl
push 0
mov byte [ebp - 0x60], bl
call fcn.0040c3fa
mov byte [ebp - 4], 5
mov edx, str._IsZMOutlookIMPluginEnabled___bRet:
push dword [ebp - 0x60]
push ecx
mov ecx, 0x490320
call fcn.0040b77d
pop ecx
mov ecx, eax
call fcn.0040a3bc
lea ecx, [ebp - 0x5c]
call fcn.0040c599
test esi, esi
je 0x409ae1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x40]
call fcn.0040ac61
mov al, bl
call fcn.004640cd
ret 4
Function at 0x409e39
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x464c4a
call fcn.00464112
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.0040ad47
mov byte [ebp - 4], 1
cmp dword [edi + 0x10], 0
jne 0x409e7c
mov ecx, SysReAllocString
jmp 0x409ee6
push edi
lea ecx, [ebp - 0x28]
call fcn.0040a4ba
mov edi, 0x4799a0
push edi
call fcn.0043cd78
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b54a
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x2c], 0
push ebx
call fcn.0040ad47
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.0040b54a
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x409ee1
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x40]
call fcn.004036dc
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.00408c5b
mov edi, eax
test edi, edi
jne 0x409f2a
cmp dword [esi + 0x14], 8
jb 0x409f0e
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 0x409f2d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x409f2d
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
test edi, edi
sete bl
cmp eax, 8
jb 0x409f4c
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.004036dc
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 0x409f68
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.004640cd
ret 0xc
Function at 0x40ef11
Capabilities:
Set registry value

Disassembly:
push 0x58
mov eax, 0x4654b9
call fcn.00464112
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:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push ebx
mov dword [ebp - 0x60], eax
call fcn.0040c3fa
mov edx, str.Start_SetRegApp...
mov dword [ebp - 4], ebx
mov ecx, 0x490320
call fcn.004103ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040c599
push str.SOFTWARERegisteredApplications
lea ecx, [ebp - 0x40]
call fcn.0040a52e
push ebx
push esi
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call fcn.0040ff09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040ac61
test edi, edi
je 0x40f040
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
push esi
mov edx, str.SoftwareClientsZoomPBX_
call fcn.00410630
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [esp], str.Capabilities
call fcn.0040b9aa
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040ac61
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x40efdb
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
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 0x40f02e
push 0x1bf
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x64]
call fcn.0040c3fa
push esi
push ecx
mov edx, str.RegSetValueEx_fail_error_code:
mov byte [ebp - 4], 5
mov ecx, 0x490320
call fcn.004103ea
pop ecx
mov ecx, eax
call fcn.0040a2be
lea ecx, [ebp - 0x64]
call fcn.0040c599
jmp 0x40f031
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x28]
call fcn.0040ac61
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.004640cd
ret 0xc
Function at 0x40f151
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x10c
mov eax, 0x46555e
call fcn.00464112
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push 0x1ec
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 0
call fcn.0040c3fa
and dword [ebp - 4], 0
mov edx, str.Start_ClearDefaultProtocolHandler...
mov ecx, 0x490320
call fcn.004103ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0040c599
push esi
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [ebp - 0x108]
call fcn.00410630
xor esi, esi
lea ecx, [ebp - 0xf0]
inc esi
mov edx, eax
mov dword [ebp - 4], esi
mov dword [esp], str.UserChoice
call fcn.0040b9aa
pop ecx
push esi
push edi
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0040ff09
lea ecx, [ebp - 0xf0]
mov esi, eax
call fcn.0040ac61
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.0040ac61
test esi, esi
je 0x40f301
xor ebx, ebx
lea eax, [ebp - 0xd8]
push 0xc8
push ebx
push eax
mov dword [ebp - 0x110], ebx
call fcn.0045d8a0
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 0x40f28e
push 0x1fd
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x10c]
call fcn.0040c3fa
push edi
push ecx
mov edx, str.RegQueryValueEx_fail_error_code:
mov dword [ebp - 4], 3
mov ecx, 0x490320
call fcn.004103ea
pop ecx
mov ecx, eax
call fcn.0040a2be
lea ecx, [ebp - 0x10c]
jmp 0x40f2f5
cmp dword [ebp - 0x110], 1
jne 0x40f2fa
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push eax
call fcn.004102f5
test eax, eax
jne 0x40f2fa
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
je 0x40f2fa
push 0x208
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x118]
call fcn.0040c3fa
push edi
push ecx
mov edx, str.RegDeleteValue_fail_error_code:
mov dword [ebp - 4], 4
mov ecx, 0x490320
call fcn.004103ea
pop ecx
mov ecx, eax
call fcn.0040a2be
lea ecx, [ebp - 0x118]
call fcn.0040c599
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004640cd
ret 0x10
Function at 0x40f309
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x164
mov eax, 0x4655cf
call fcn.00464112
mov dword [ebp - 0x168], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x164]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push 0x216
mov dword [ebp - 0x15c], eax
xor eax, eax
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push eax
mov dword [ebp - 0x160], eax
call fcn.0040c3fa
and dword [ebp - 4], 0
mov edx, str.Start_ResetDefaultProtocolHandler...
mov ecx, 0x490320
call fcn.004103ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.0040c599
push esi
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [ebp - 0x13c]
call fcn.00410630
xor esi, esi
lea ecx, [ebp - 0x124]
inc esi
mov edx, eax
mov dword [ebp - 4], esi
mov dword [esp], str.UserChoice
call fcn.0040b9aa
pop ecx
push esi
push edi
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0040ff09
lea ecx, [ebp - 0x124]
mov edi, eax
call fcn.0040ac61
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0040ac61
test edi, edi
je 0x40f539
mov esi, 0x47a6bc
lea ecx, [ebp - 0x154]
push esi
call fcn.0040a52e
push str.Progid
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], 3
call fcn.0040a52e
push esi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.0040a52e
push 1
push ecx
mov ecx, dword [ebp - 0x168]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xf4]
push eax
push edi
call fcn.0040ffd7
lea ecx, [ebp - 0xf4]
mov esi, eax
call fcn.0040ac61
lea ecx, [ebp - 0x10c]
call fcn.0040ac61
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.0040ac61
test esi, esi
je 0x40f532
xor ebx, ebx
lea eax, [ebp - 0xdc]
push 0xc8
push ebx
push eax
mov dword [ebp - 0x158], ebx
call fcn.0045d8a0
add esp, 0xc
mov dword [ebp - 0x16c], 0xc6
lea eax, [ebp - 0x16c]
mov esi, str.Progid
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x158]
push eax
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f4be
cmp dword [ebp - 0x158], 1
jne 0x40f4be
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0xdc]
push eax
call fcn.004102f5
test eax, eax
je 0x40f532
mov eax, dword [ebp - 0x15c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40f4ce
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
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 0x40f528
push 0x230
push str.C:jenkinsworkspacezoomciWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x170]
call fcn.0040c3fa
push esi
push ecx
mov edx, str.RegSetValueEx_fail_error_code:
mov dword [ebp - 4], 5
mov ecx, 0x490320
call fcn.004103ea
pop ecx
mov ecx, eax
call fcn.0040a2be
lea ecx, [ebp - 0x170]
call fcn.0040c599
mov dword [ebp - 0x160], 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x160]
call fcn.004640cd
ret 0x10