joyce8/EMBER2024-capa huggingface dataset:
Function at 0x88b7e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d6000]
push edi
or ebp, 0xffffffff
jmp 0x88b802
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x88b809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b7f8
mov eax, 1
add ebx, ebx
jne 0x88b81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x88b82c
jne 0x88b84b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b84b
dec eax
add ebx, ebx
jne 0x88b838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x88b810
add ebx, ebx
jne 0x88b847
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x88b89d
xor ecx, ecx
sub eax, 3
jb 0x88b863
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x88b8d2
sar eax, 1
mov ebp, eax
jmp 0x88b86e
add ebx, ebx
jne 0x88b86e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b83c
inc ecx
add ebx, ebx
jne 0x88b87c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b83c
add ebx, ebx
jne 0x88b889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x88b87e
jne 0x88b89a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x88b87e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x88b8bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x88b8ae
jmp 0x88b7fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x88b8bc
add edi, ecx
jmp 0x88b7fe
pop esi
mov edi, esi
mov ecx, 0x6993
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x88b8da
cmp byte [edi], 0x13
jne 0x88b8da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x88b8df
lea edi, [esi + 0x482000]
mov eax, dword [edi]
or eax, eax
je 0x88b957
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x48fb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x48fcd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x88b90c
mov ecx, edi
jns 0x88b93b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x48fcd8]
or eax, eax
je 0x88b951
mov dword [ebx], eax
add ebx, 4
jmp 0x88b929
call dword [esi + 0x48fce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x88b988
cmp al, 0xef
ja 0x88b97b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x88b95d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x88b96a
mov ebp, dword [esi + 0x48fcdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x88b9bc
sub esp, 0xffffff80
jmp 0x4aeda0
Function at 0x4031fc
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x401ba0
call fcn.00403408
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x400000], 0x5a4d
jne 0x40324f
mov eax, dword [0x40003c]
lea eax, [eax + 0x400000]
cmp dword [eax], 0x4550
jne 0x40324f
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x403267
cmp ecx, 0x20b
je 0x403254
mov dword [ebp - 0x60], ebx
jmp 0x40327b
cmp dword [eax + 0x84], 0xe
jbe 0x40324f
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x403275
cmp dword [eax + 0x74], 0xe
jbe 0x40324f
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x46fc04], edi
mov dword [0x46fc08], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x46fbfc]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x46fbf8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x46fc0c], eax
call fcn.00403404
cmp dword [0x46f7c8], ebx
jne 0x4032d8
push fcn.00403404
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004033f2
push 0x404010
push 0x40400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x46fbf4]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [0x46fbf0]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x74], eax
push 0x404008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp byte [eax], 0x22
jne 0x403363
inc eax
mov dword [ebp - 0x78], eax
mov cl, byte [eax]
cmp cl, bl
je 0x403343
cmp cl, 0x22
jne 0x403334
cmp byte [eax], 0x22
jne 0x40334c
inc eax
mov dword [ebp - 0x78], eax
mov cl, byte [eax]
cmp cl, bl
je 0x403357
cmp cl, 0x20
jbe 0x403348
test byte [ebp - 0x30], 1
je 0x40336e
movzx ecx, word [ebp - 0x2c]
jmp 0x403371
cmp byte [eax], 0x20
jbe 0x40334c
inc eax
mov dword [ebp - 0x78], eax
jmp 0x403363
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call fcn.00402890
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x60], ebx
jne 0x40338f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x4033cb
mov eax, esi
jmp 0x4033df
call fcn.00403443
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x32b15b36
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x84b044b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x106f5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x106f51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x106f507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106f506a
add dl, dl
jne 0x106f5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106f50dc
xor eax, eax
add dl, dl
jne 0x106f5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106f517d
add dl, dl
jne 0x106f50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106f50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106f50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106f50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x106f50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x106f5075
mov eax, 1
add dl, dl
jne 0x106f50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106f50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106f50e1
sub eax, ebx
mov ebx, 1
jne 0x106f5128
mov ecx, 1
add dl, dl
jne 0x106f510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x106f5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106f5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x106f5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x106f513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x106f514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106f5136
cmp eax, 0x7d00
jae 0x106f516d
cmp eax, 0x500
jb 0x106f5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x106f5075
cmp eax, 0x7f
ja 0x106f5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x106f5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x106f519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x106f5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401dfb
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 0x401e4a
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 0x401e4f
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 0x401e9b
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push 0x486d8c
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 0x401ea0
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 0x401edf
push 0x486d8c
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 0x405536
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x471c63
call fcn.00470dac
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push str.SoftwareIM_Providers
mov edi, SysReAllocString
call fcn.0040639f
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
je 0x4055b2
push 0x485444
mov edx, esi
lea ecx, [ebp - 0x58]
add edi, 2
call fcn.0040771f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov edx, eax
mov dword [esp], str.SoftwareIM_Providers
call fcn.0040776b
mov esi, eax
lea eax, [ebp - 0x28]
pop ecx
cmp eax, esi
je 0x4055a2
mov ecx, eax
call fcn.004042cc
push esi
lea ecx, [ebp - 0x28]
call fcn.00406c2b
lea ecx, [ebp - 0x40]
call fcn.004042cc
lea ecx, [ebp - 0x58]
call fcn.004042cc
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.0040477b
mov esi, dword [ebp - 0x34]
mov edi, eax
test edi, edi
je 0x405617
push 0xaa
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeIMPluginWrapper.cpp
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0040808d
push edi
push ecx
mov edx, str._IsZMOutlookIMPluginEnabled___key.Open_STR_REGISTER_IM_PROVIDERS_failed__lResult:
mov byte [ebp - 4], 3
mov ecx, 0x49f450
call fcn.0040753e
pop ecx
mov ecx, eax
call fcn.00406182
jmp 0x4056bb
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 0x405649
cmp dword [ebp - 0x60], 4
je 0x40567e
push 0xd
pop edi
push 0xb2
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeIMPluginWrapper.cpp
push ebx
lea ecx, [ebp - 0x60]
call fcn.0040808d
push edi
push ecx
mov edx, str._IsZMOutlookIMPluginEnabled___key.QueryDWORDValue__STR_REG_OIP_ENABLE_failed__lResult:
mov byte [ebp - 4], 4
mov ecx, 0x49f450
call fcn.0040753e
pop ecx
mov ecx, eax
call fcn.00406182
lea ecx, [ebp - 0x60]
jmp 0x4056be
cmp dword [ebp - 0x64], 1
lea ecx, [ebp - 0x5c]
push 0xb8
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeIMPluginWrapper.cpp
sete bl
push 0
mov byte [ebp - 0x60], bl
call fcn.0040808d
mov byte [ebp - 4], 5
mov edx, str._IsZMOutlookIMPluginEnabled___bRet:
push dword [ebp - 0x60]
push ecx
mov ecx, 0x49f450
call fcn.0040753e
pop ecx
mov ecx, eax
call fcn.00406280
lea ecx, [ebp - 0x5c]
call fcn.0040822b
test esi, esi
je 0x4056ce
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.004042cc
mov al, bl
call fcn.00470d5b
ret 4
Function at 0x405a78
Capabilities:
Delete registry value

Disassembly:
push 0x48
mov eax, 0x471d51
call fcn.00470dac
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00406bc2
mov byte [ebp - 4], 1
cmp dword [edi + 0x10], 0
jne 0x405ac1
mov ecx, SysReAllocString
jmp 0x405b51
push edi
lea ecx, [ebp - 0x28]
call fcn.004043a2
mov edi, 0x485444
push edi
call fcn.0044c8a9
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00404346
xor eax, eax
lea ecx, [ebp - 0x40]
push ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.00406bc2
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.00404346
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x405b4c
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x405b43
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040149b
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.00465474
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 - 0x54]
call fcn.0040477b
mov edi, eax
test edi, edi
jne 0x405b95
cmp dword [esi + 0x14], 8
jb 0x405b79
mov esi, dword [esi]
push esi
mov esi, dword [ebp - 0x54]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test esi, esi
je 0x405b98
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x405b98
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x14]
test edi, edi
sete bl
cmp eax, 8
jb 0x405bda
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
cmp eax, 0x1000
jb 0x405bd1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040149b
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
push eax
push ecx
call fcn.00465474
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 0x405bf6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.00470d5b
ret 0xc
Function at 0x40b001
Capabilities:
Set registry value

Disassembly:
push 0x58
mov eax, 0x472673
call fcn.00470dac
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 0x10]
push 0x1c5
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push ebx
mov dword [ebp - 0x60], eax
call fcn.0040808d
mov edx, str.Start_SetRegApp...
mov dword [ebp - 4], ebx
mov ecx, 0x49f450
call fcn.0040c787
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0040822b
push str.SOFTWARERegisteredApplications
lea ecx, [ebp - 0x40]
call fcn.0040639f
push ebx
push esi
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call fcn.0040c0bc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.004042cc
test edi, edi
je 0x40b130
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
push esi
mov edx, str.SoftwareClientsZoomPBX_
call fcn.004077a4
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [esp], str.Capabilities
call fcn.0040776b
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004042cc
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x40b0cb
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 0x40b11e
push 0x1d0
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x64]
call fcn.0040808d
push esi
push ecx
mov edx, str.RegSetValueEx_fail_error_code:
mov byte [ebp - 4], 5
mov ecx, 0x49f450
call fcn.0040c787
pop ecx
mov ecx, eax
call fcn.00406182
lea ecx, [ebp - 0x64]
call fcn.0040822b
jmp 0x40b121
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x28]
call fcn.004042cc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.00470d5b
ret 0xc
Function at 0x40b241
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x10c
mov eax, 0x472718
call fcn.00470dac
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push 0x1fd
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push 0
call fcn.0040808d
and dword [ebp - 4], 0
mov edx, str.Start_ClearDefaultProtocolHandler...
mov ecx, 0x49f450
call fcn.0040c787
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0040822b
push esi
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [ebp - 0x108]
call fcn.004077a4
xor esi, esi
lea ecx, [ebp - 0xf0]
inc esi
mov edx, eax
mov dword [ebp - 4], esi
mov dword [esp], str.UserChoice
call fcn.0040776b
pop ecx
push esi
push edi
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0040c0bc
lea ecx, [ebp - 0xf0]
mov esi, eax
call fcn.004042cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.004042cc
test esi, esi
je 0x40b3f1
xor ebx, ebx
lea eax, [ebp - 0xd8]
push 0xc8
push ebx
push eax
mov dword [ebp - 0x110], ebx
call fcn.00469380
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 0x40b37e
push 0x20e
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x10c]
call fcn.0040808d
push edi
push ecx
mov edx, str.RegQueryValueEx_fail_error_code:
mov dword [ebp - 4], 3
mov ecx, 0x49f450
call fcn.0040c787
pop ecx
mov ecx, eax
call fcn.00406182
lea ecx, [ebp - 0x10c]
jmp 0x40b3e5
cmp dword [ebp - 0x110], 1
jne 0x40b3ea
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push eax
call fcn.0040c692
test eax, eax
jne 0x40b3ea
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
je 0x40b3ea
push 0x219
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x118]
call fcn.0040808d
push edi
push ecx
mov edx, str.RegDeleteValue_fail_error_code:
mov dword [ebp - 4], 4
mov ecx, 0x49f450
call fcn.0040c787
pop ecx
mov ecx, eax
call fcn.00406182
lea ecx, [ebp - 0x118]
call fcn.0040822b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00470d5b
ret 0x10
Function at 0x40b3f9
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x164
mov eax, 0x472789
call fcn.00470dac
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 0x227
mov dword [ebp - 0x15c], eax
xor eax, eax
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push eax
mov dword [ebp - 0x160], eax
call fcn.0040808d
and dword [ebp - 4], 0
mov edx, str.Start_ResetDefaultProtocolHandler...
mov ecx, 0x49f450
call fcn.0040c787
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.0040822b
push esi
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [ebp - 0x13c]
call fcn.004077a4
xor esi, esi
lea ecx, [ebp - 0x124]
inc esi
mov edx, eax
mov dword [ebp - 4], esi
mov dword [esp], str.UserChoice
call fcn.0040776b
pop ecx
push esi
push edi
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0040c0bc
lea ecx, [ebp - 0x124]
mov edi, eax
call fcn.004042cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004042cc
test edi, edi
je 0x40b629
mov esi, 0x4863a4
lea ecx, [ebp - 0x154]
push esi
call fcn.0040639f
push str.Progid
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], 3
call fcn.0040639f
push esi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.0040639f
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.0040c1b0
lea ecx, [ebp - 0xf4]
mov esi, eax
call fcn.004042cc
lea ecx, [ebp - 0x10c]
call fcn.004042cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.004042cc
test esi, esi
je 0x40b622
xor ebx, ebx
lea eax, [ebp - 0xdc]
push 0xc8
push ebx
push eax
mov dword [ebp - 0x158], ebx
call fcn.00469380
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 0x40b5ae
cmp dword [ebp - 0x158], 1
jne 0x40b5ae
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0xdc]
push eax
call fcn.0040c692
test eax, eax
je 0x40b622
mov eax, dword [ebp - 0x15c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40b5be
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 0x40b618
push 0x241
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
push 2
lea ecx, [ebp - 0x170]
call fcn.0040808d
push esi
push ecx
mov edx, str.RegSetValueEx_fail_error_code:
mov dword [ebp - 4], 5
mov ecx, 0x49f450
call fcn.0040c787
pop ecx
mov ecx, eax
call fcn.00406182
lea ecx, [ebp - 0x170]
call fcn.0040822b
mov dword [ebp - 0x160], 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x160]
call fcn.00470d5b
ret 0x10