joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401983
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x48e880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4019e3
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
xor eax, eax
inc eax
cmp dword [ebp - 0x10], ebx
cmovne ebx, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0045a206
leave
ret

Function at 0x4019f2
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x401a73
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 4], edi
je 0x401a73
push dword [ebp - 4]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401a73
lea eax, [ebp - 8]
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xc]
push eax
push 1
push 2
push edi
push 0xf01ff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
jmp 0x401a75
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x401be9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
test edi, edi
jne 0x401bfc
test esi, esi
je 0x401c30
call fcn.00401983
test eax, eax
jne 0x401c25
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov eax, ecx
jmp 0x401c52
call fcn.004019f2
mov ebx, eax
test ebx, ebx
jne 0x401c34
xor eax, eax
jmp 0x401c52
push ebx
push dword [ebp + 0x10]
mov edx, esi
mov ecx, edi
push dword [ebp + 0xc]
call fcn.00401a79
add esp, 0xc
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401c5c
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.004018e2
pop ecx
test eax, eax
jne 0x401c84
push 0xb
pop eax
jmp 0x401cd7
call fcn.0040177b
test eax, eax
jne 0x401cc2
call fcn.00401c57
test eax, eax
je 0x401cc2
cmp esi, 7
je 0x401cde
cmp esi, 1
je 0x401ca5
cmp esi, 9
jne 0x401cc2
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov edx, ebx
push dword [ebp + 0x14]
push edi
call fcn.0040202e
add esp, 0xc
test eax, eax
jne 0x401cef
cmp esi, 1
jne 0x401cef
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.00401be9
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x21
jmp 0x401cd7

Function at 0x4027d1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x48e880]
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 0x402868
test edi, edi
je 0x402868
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x105
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.0045e110
push esi
mov esi, 0x104
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.0043dbbb
push edi
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.0043dbbb
add esp, 0x24
lea eax, [ebp - 0x10c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x402854
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402868
lea ecx, [ebp - 0x10c]
call fcn.0040331e
test eax, eax
je 0x402868
xor eax, eax
inc eax
jmp 0x40286a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045a206
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x48e880]
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 0x402bb2
mov eax, dword [edi + ebx*4]
test eax, eax
je 0x4029ff
mov dword [esi], eax
xor eax, eax
jmp 0x402bb5
push 0x400
call fcn.0041f040
mov dword [esp], 0x400
push 0
push eax
mov dword [esi], eax
call fcn.0045e110
xor eax, eax
add esp, 0xc
inc eax
jmp dword [ebx*4 + 0x402bc7]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a206
leave
ret 0xc
Function at 0x402be7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x48e880]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x402c68
test esi, esi
je 0x402c68
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0045e110
push edi
mov edi, 0x3ff
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.0043dad4
push 0x479170
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.0043dbbb
push esi
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.0043dbbb
add esp, 0x30
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402c68
xor eax, eax
inc eax
jmp 0x402c6a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045a206
leave
ret
Function at 0x402c78
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 0x402eb9
test esi, esi
je 0x402eb9
push 0x400
lea eax, [esp + 0x124]
push 0
push eax
call fcn.0045e110
push ebx
mov ebx, 0x3ff
lea eax, [esp + 0x130]
push ebx
push eax
call fcn.0043dad4
push esi
lea eax, [esp + 0x13c]
push ebx
push eax
call fcn.0043dbbb
add esp, 0x24
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402eb9
test al, 0x10
je 0x402eb9
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x120]
cmp dword [eax + 0x20], 1
jne 0x402dd5
mov edx, str.RoomConnector.exe
call fcn.00402be7
mov edx, str.gateway_conf_client.dll
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402be7
mov edx, str.gmcm.dll
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x120]
call fcn.00402be7
mov edx, str.gviper.dll
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402be7
test esi, esi
je 0x402eb9
cmp dword [esp + 0xc], 0
je 0x402eb9
test ebx, ebx
je 0x402eb9
test eax, eax
je 0x402eb9
lea ecx, [esp + 0x10]
call fcn.0040276f
lea eax, [esp + 0x120]
mov dword [esp + 0x14], 1
push eax
call fcn.0043db30
inc eax
mov edx, 0x104
pop ecx
cmp eax, edx
jge 0x402e93
lea eax, [esp + 0x120]
push eax
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0043dad4
add esp, 0xc
lea eax, [esp + 0x10]
push eax
jmp 0x402eb2
cmp dword [eax + 0x20], 2
jne 0x402e12
mov edx, str.Controller.exe
call fcn.00402be7
mov edx, 0x4791f0
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402be7
mov edx, str.zrc_sdk.dll
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402be7
test esi, esi
jmp 0x402d72
mov edx, 0x479208
call fcn.00402be7
mov edx, str.zChatApp.dll
lea ecx, [esp + 0x120]
mov esi, eax
call fcn.00402be7
mov edx, str.zVideoApp.dll
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x120]
call fcn.00402be7
mov edx, 0x4791f0
lea ecx, [esp + 0x120]
mov ebx, eax
call fcn.00402be7
test esi, esi
je 0x402eb9
cmp dword [esp + 0xc], 0
je 0x402eb9
test ebx, ebx
je 0x402eb9
test eax, eax
je 0x402eb9
lea ecx, [esp + 0x10]
call fcn.0040276f
lea eax, [esp + 0x120]
mov dword [esp + 0x14], 1
push eax
call fcn.0043db30
inc eax
mov edx, 0x104
pop ecx
cmp eax, edx
jl 0x402e97
xor eax, eax
jmp 0x402ebc
lea eax, [esp + 0x120]
push eax
push edx
lea ecx, [esp + 0x20]
push ecx
call fcn.0043dad4
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00403517
xor eax, eax
inc eax
mov ecx, dword [esp + 0x524]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045a206
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403205
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 0x403307
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.0045e110
push esi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0043d93a
push esi
call fcn.0043d5e8
add eax, eax
add esp, 0x1c
cmp eax, ebx
jae 0x403318
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
add eax, 2
cmp eax, ebx
jae 0x403318
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 0x403307
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403307
test ebx, ebx
je 0x403300
cmp ebx, 2
je 0x403300
cmp ebx, 0x402
jne 0x403303
xor edi, edi
inc edi
mov eax, edi
jmp 0x403309
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a206
leave
ret
call fcn.0045a338
int3

Function at 0x40331e
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 0x403423
push str._ProductPathHelper::RecursiveRemoveDirA__Path_is:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x47930c
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.0045e110
push esi
lea eax, [ebp - 0x10c]
push 0x104
push eax
call fcn.0043dad4
push esi
call fcn.0043db30
add esp, 0x1c
cmp eax, edi
jae 0x403434
mov byte [ebp + eax - 0x10c], bl
inc eax
cmp eax, edi
jae 0x403434
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 0x403423
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x403423
test edi, edi
je 0x40341c
cmp edi, 2
je 0x40341c
cmp edi, 0x402
jne 0x40341f
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x403425
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a206
leave
ret
call fcn.0045a338
int3
Function at 0x40343a
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 0x4034d5
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.0045e110
add esp, 0xc
mov esi, ebx
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push dword [esi + 0x479320]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x4034cd
lea eax, [ebp - 0x404]
push eax
call fcn.0043db30
pop ecx
test eax, eax
je 0x4034cd
cmp byte [ebp + eax - 0x405], 0x5c
jne 0x4034b8
lea ecx, [eax - 1]
mov eax, ecx
cmp ecx, 0x400
jae 0x4034eb
mov byte [ebp + ecx - 0x404], bl
push eax
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.0043d99e
add esp, 0xc
test eax, eax
je 0x4034e6
add esi, 4
cmp esi, 8
jb 0x40346f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a206
leave
ret
xor eax, eax
inc eax
jmp 0x4034d7
call fcn.0045a338
int3

Function at 0x40598b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.004057ca
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043ee1c
push edi
call fcn.0043f0fd
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4059c3
push edi
call fcn.0043e87f
pop ecx
test eax, eax
je 0x4059c3
push ebx
push ebx
jmp 0x405a3d
push 2
push ebx
push edi
call fcn.0043ee1c
push edi
call fcn.0043e741
push 0
cdq
push 0
push edi
mov ebx, eax
mov dword [ebp - 4], edx
call fcn.0043ee1c
mov edx, dword [ebp - 4]
mov ecx, ebx
and ecx, edx
add esp, 0x1c
cmp ecx, 0xffffffff
jne 0x4059f7
push 0
push 0
jmp 0x405a3d
xor ecx, ecx
cmp edx, ecx
ja 0x405a3b
cmp ebx, 0xffffffff
jae 0x405a3b
mov eax, ebx
or eax, edx
jne 0x405a0e
push ecx
push ecx
push 0xd
jmp 0x405a3f
lea eax, [ebx + 1]
push eax
call fcn.0041f040
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.0044203f
add esp, 0x14
cmp eax, ebx
jne 0x4059f1
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.00405aff
jmp 0x405a48
push ecx
push ecx
push 5
push esi
call fcn.00405a52
add esp, 0x10
mov eax, dword [esi + 0x38]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x406e1e
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 0x406e6d
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 0x406e72
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 0x406ebe
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push 0x479208
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 0x406ec3
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 0x406f02
push 0x479208
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 0x4099af
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x4653cc
call fcn.00464982
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push str.SoftwareIM_Providers
mov edi, SysReAllocString
call fcn.0040a58e
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
je 0x409a25
push 0x4799c8
mov edx, esi
lea ecx, [ebp - 0x58]
add edi, 2
call fcn.0040b9be
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [esp], str.SoftwareIM_Providers
call fcn.0040ba0a
pop ecx
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x409a15
mov byte [ebp - 0x5c], bl
push dword [ebp - 0x5c]
push eax
call fcn.0040ae51
lea ecx, [ebp - 0x28]
call fcn.0040acc1
lea ecx, [ebp - 0x58]
call fcn.0040acc1
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.00408cbb
mov esi, dword [ebp - 0x1c]
mov edi, eax
test edi, edi
je 0x409a8a
push 0x9a
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludeIMPluginWrapper.cpp
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0040c45a
push edi
push ecx
mov edx, str._IsZMOutlookIMPluginEnabled___key.Open_STR_REGISTER_IM_PROVIDERS_failed__lResult:
mov byte [ebp - 4], 3
mov ecx, 0x490340
call fcn.0040b7dd
pop ecx
mov ecx, eax
call fcn.0040a31e
jmp 0x409b2e
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 0x409abc
cmp dword [ebp - 0x60], 4
je 0x409af1
push 0xd
pop edi
push 0xa2
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludeIMPluginWrapper.cpp
push ebx
lea ecx, [ebp - 0x60]
call fcn.0040c45a
push edi
push ecx
mov edx, str._IsZMOutlookIMPluginEnabled___key.QueryDWORDValue__STR_REG_OIP_ENABLE_failed__lResult:
mov byte [ebp - 4], 4
mov ecx, 0x490340
call fcn.0040b7dd
pop ecx
mov ecx, eax
call fcn.0040a31e
lea ecx, [ebp - 0x60]
jmp 0x409b31
cmp dword [ebp - 0x64], 1
lea ecx, [ebp - 0x5c]
push 0xa8
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludeIMPluginWrapper.cpp
sete bl
push 0
mov byte [ebp - 0x60], bl
call fcn.0040c45a
mov byte [ebp - 4], 5
mov edx, str._IsZMOutlookIMPluginEnabled___bRet:
push dword [ebp - 0x60]
push ecx
mov ecx, 0x490340
call fcn.0040b7dd
pop ecx
mov ecx, eax
call fcn.0040a41c
lea ecx, [ebp - 0x5c]
call fcn.0040c5f9
test esi, esi
je 0x409b41
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x40]
call fcn.0040acc1
mov al, bl
call fcn.0046493d
ret 4
Function at 0x409e99
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x4654ba
call fcn.00464982
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.0040ada7
mov byte [ebp - 4], 1
cmp dword [edi + 0x10], 0
jne 0x409edc
mov ecx, SysReAllocString
jmp 0x409f46
push edi
lea ecx, [ebp - 0x28]
call fcn.0040a51a
mov edi, 0x4799c8
push edi
call fcn.0043d5e8
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b5aa
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x2c], 0
push ebx
call fcn.0040ada7
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.0040b5aa
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x409f41
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x40]
call fcn.00403711
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.00408cbb
mov edi, eax
test edi, edi
jne 0x409f8a
cmp dword [esi + 0x14], 8
jb 0x409f6e
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 0x409f8d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x409f8d
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
test edi, edi
sete bl
cmp eax, 8
jb 0x409fac
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.00403711
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 0x409fc8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.0046493d
ret 0xc
Function at 0x40ef71
Capabilities:
Set registry value

Disassembly:
push 0x58
mov eax, 0x465d29
call fcn.00464982
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:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push ebx
mov dword [ebp - 0x60], eax
call fcn.0040c45a
mov edx, str.Start_SetRegApp...
mov dword [ebp - 4], ebx
mov ecx, 0x490340
call fcn.0041044a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040c5f9
push str.SOFTWARERegisteredApplications
lea ecx, [ebp - 0x40]
call fcn.0040a58e
push ebx
push esi
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call fcn.0040ff69
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040acc1
test edi, edi
je 0x40f0a0
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
push esi
mov edx, str.SoftwareClientsZoomPBX_
call fcn.00410690
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [esp], str.Capabilities
call fcn.0040ba0a
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040acc1
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x40f03b
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 0x40f08e
push 0x1bf
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x64]
call fcn.0040c45a
push esi
push ecx
mov edx, str.RegSetValueEx_fail_error_code:
mov byte [ebp - 4], 5
mov ecx, 0x490340
call fcn.0041044a
pop ecx
mov ecx, eax
call fcn.0040a31e
lea ecx, [ebp - 0x64]
call fcn.0040c5f9
jmp 0x40f091
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x28]
call fcn.0040acc1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.0046493d
ret 0xc