Function at 0x40e1b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4555a7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c0
mov eax, dword [0x46e018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c4], ecx
xor esi, esi
mov dword [ebp - 0x678], 0
xor eax, eax
mov dword [ebp - 0x6bc], 0
mov dword [ebp - 0x668], esi
mov dword [ebp - 0x664], 7
mov word [ebp - 0x678], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x6b8], eax
lea eax, [ebp - 0x6bc]
push eax
push 0x20019
push esi
push 0x463274
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e3ea
push 0x208
push eax
mov dword [ebp - 0x6b4], eax
lea eax, [ebp - 0x220]
push eax
call fcn.0042ff40
add esp, 0xc
mov dword [ebp - 0x6d0], 0x208
lea eax, [ebp - 0x6d0]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x6b4]
push eax
push esi
push str.Version
push dword [ebp - 0x6bc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e3be
cmp dword [ebp - 0x6b4], 1
jne 0x40e3dc
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x638], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x634], 7
mov word [ebp - 0x648], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e2e0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x648]
call fcn.00402a20
mov byte [ebp - 4], 1
lea eax, [ebp - 0x648]
cmp dword [ebp - 0x634], 8
lea ecx, [ebp - 0x678]
push dword [ebp - 0x638]
cmovae eax, dword [ebp - 0x648]
push eax
call fcn.00402a20
movups xmm0, xmmword [ebp - 0x678]
sub esp, 0x18
mov eax, esp
push 0x464a5c
push 0x33d
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
movups xmmword [eax], xmm0
push 2
movq xmm0, qword [ebp - 0x668]
push 0x470efc
movq qword [eax + 0x10], xmm0
call fcn.00404f70
mov byte [ebp - 4], 0
add esp, 0x2c
mov edx, dword [ebp - 0x634]
cmp edx, 8
jb 0x40e3aa
mov ecx, dword [ebp - 0x648]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e3a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eaca
push edx
push ecx
call fcn.0042dc50
add esp, 8
push dword [ebp - 0x6bc]
mov esi, dword [ebp - 0x668]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e408
push 0x464a70
push 0x340
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
push dword [ebp - 0x6bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e408
push 0x464a84
push 0x344
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
push 0xd
xor eax, eax
mov dword [ebp - 0x648], 0
push 0x464768
lea ecx, [ebp - 0x648]
mov dword [ebp - 0x6b0], 0
mov dword [ebp - 0x6ac], 0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 7
mov word [ebp - 0x648], ax
call fcn.00402a20
mov byte [ebp - 4], 2
mov ecx, dword [0x470ec8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e462
sub ecx, edx
mov edi, SysReAllocString
mov edx, dword [ebp - 0x638]
mov eax, edi
sar ecx, 1
sub eax, edx
cmp eax, ecx
jb 0x40eacf
cmp dword [ebp - 0x634], 8
lea eax, [ebp - 0x648]
push edx
cmovae eax, dword [ebp - 0x648]
push eax
push ecx
push dword [0x470ec8]
push ecx
push dword [ebp - 0x6c4]
lea ecx, [ebp - 0x6a8]
call fcn.00410010
push 0x208
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0042ff40
add esp, 0xc
mov dword [ebp - 0x6c0], 0x104
lea eax, [ebp - 0x428]
mov dword [ebp - 0x6cc], 0
push 0x208
push 0
push eax
call fcn.0042ff40
mov edx, dword [ebp - 0x638]
sub edi, esi
add esp, 0xc
mov dword [ebp - 0x6c8], 0x208
cmp edi, edx
jb 0x40ead4
cmp dword [ebp - 0x664], 8
lea ecx, [ebp - 0x678]
push edx
cmovae ecx, dword [ebp - 0x678]
lea eax, [ebp - 0x648]
cmp dword [ebp - 0x634], 8
cmovae eax, dword [ebp - 0x648]
push eax
push esi
push ecx
push ecx
push dword [ebp - 0x6c4]
lea ecx, [ebp - 0x690]
call fcn.00410010
lea eax, [ebp - 0x6b0]
mov byte [ebp - 4], 4
push eax
push 0x2001f
push 0
push 0x464788
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e990
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x6c0]
push eax
lea eax, [ebp - 0x630]
push eax
push 0
push dword [ebp - 0x6b0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40e7b7
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x6ac]
mov dword [ebp - 0x6c0], 0x104
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x630]
inc esi
push eax
push dword [ebp - 0x6b0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e8bc
lea eax, [ebp - 0x6c8]
mov dword [ebp - 0x6c8], 0x208
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x6cc]
push eax
push 0
push str.ExecutablePath
push dword [ebp - 0x6ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e890
cmp dword [ebp - 0x6cc], 1
jne 0x40e884
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x650], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x64c], 7
mov word [ebp - 0x660], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e651
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x660]
call fcn.00402a20
push ecx
lea eax, [ebp - 0x690]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x660]
call fcn.0040f3c0
cmp eax, 0xffffffff
je 0x40e814
movups xmm0, xmmword [ebp - 0x660]
sub esp, 0x18
mov eax, esp
push str.b0R
push 0x362
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
movups xmmword [eax], xmm0
push 2
movq xmm0, qword [ebp - 0x650]
push 0x470efc
movq qword [eax + 0x10], xmm0
call fcn.00404f70
add esp, 0x2c
mov dword [ebp - 0x6b4], 1
cmp dword [0x470eb8], 0
jne 0x40e7c8
push 0x464ae8
push 0x366
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
cmp dword [ebp - 0x6c4], 0
je 0x40e916
push 0x464af4
push 0x368
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
lea eax, [ebp - 0x6b4]
push 4
push eax
push 4
push 0
push 0x464900
push dword [ebp - 0x6ac]
call edi
test eax, eax
jne 0x40e832
push 0x464b18
push 0x36b
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
mov edx, dword [ebp - 0x64c]
add esp, 0x14
mov dword [ebp - 0x6b8], 1
cmp edx, 8
jb 0x40e7b7
mov ecx, dword [ebp - 0x660]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e7ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ead9
push edx
push ecx
call fcn.0042dc50
add esp, 8
push dword [ebp - 0x6b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e9ae
push 0x464b64
push 0x375
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
lea eax, [ebp - 0x6b4]
push 4
push eax
push 4
push 0
push 0x464900
push dword [ebp - 0x6ac]
call edi
test eax, eax
je 0x40e925
push 0x464ba0
push 0x37c
jmp 0x40e81e
push 0x464bd0
push 0x380
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x64c]
cmp edx, 8
jb 0x40e8ae
mov ecx, dword [ebp - 0x660]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e86c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eaca
push edx
push ecx
call fcn.0042dc50
add esp, 8
push dword [ebp - 0x6ac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e8da
push 0x464994
push 0x383
jmp 0x40e89a
push 0x4649bc
push 0x386
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
push dword [ebp - 0x6ac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e8da
push 0x4649e8
push 0x38a
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6c0]
push eax
lea eax, [ebp - 0x630]
push eax
push esi
push dword [ebp - 0x6b0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40e5b0
push dword [ebp - 0x6b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e9ae
push 0x464b40
push 0x370
jmp 0x40e759
push 0x464b70
push 0x378
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
mov edx, dword [ebp - 0x64c]
add esp, 0x14
mov dword [ebp - 0x6b8], 1
cmp edx, 8
jb 0x40e7b7
mov ecx, dword [ebp - 0x660]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e7ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ead9
jmp 0x40e7ad
push 0x464a00
push 0x38f
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
add esp, 0x14
mov edx, dword [ebp - 0x67c]
cmp edx, 8
jb 0x40e9ee
mov ecx, dword [ebp - 0x690]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e9e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eade
push edx
push ecx
call fcn.0042dc50
add esp, 8
mov edx, dword [ebp - 0x694]
cmp edx, 8
jb 0x40ea2e
mov ecx, dword [ebp - 0x6a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eade
push edx
push ecx
call fcn.0042dc50
add esp, 8
mov edx, dword [ebp - 0x634]
cmp edx, 8
jb 0x40ea6a
mov ecx, dword [ebp - 0x648]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eade
push edx
push ecx
call fcn.0042dc50
add esp, 8
mov edx, dword [ebp - 0x664]
cmp edx, 8
jb 0x40eaa6
mov ecx, dword [ebp - 0x678]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eade
push edx
push ecx
call fcn.0042dc50
add esp, 8
mov eax, dword [ebp - 0x6b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042dc42
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0043276f
call fcn.00402800
call fcn.00402800
call fcn.0043276f
call fcn.0043276f
int3