Function at 0x40dc50
Capabilities:
Query or enumerate registry key
Query or enumerate 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 0x455536
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x480
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
push 0xd
xor eax, eax
mov dword [ebp - 0x458], 0
push 0x464768
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
call fcn.00402a20
mov dword [ebp - 4], 0
mov esi, dword [0x470ec8]
mov ecx, esi
mov dword [ebp - 0x480], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dd00
sub ecx, edx
mov eax, SysReAllocString
mov edx, dword [ebp - 0x448]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x40e19e
cmp dword [ebp - 0x444], 8
lea eax, [ebp - 0x458]
push edx
cmovae eax, dword [ebp - 0x458]
push eax
push ecx
push esi
push ecx
push dword [ebp - 0x484]
lea ecx, [ebp - 0x470]
call fcn.00410010
push 0x208
xor esi, esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.0042ff40
add esp, 0xc
mov dword [ebp - 0x47c], 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x48c], esi
mov dword [ebp - 0x484], esi
mov dword [ebp - 0x490], 4
push 0x208
push esi
push eax
call fcn.0042ff40
add esp, 0xc
mov dword [ebp - 0x488], 0x208
lea eax, [ebp - 0x474]
push eax
push 0x2001f
push esi
push 0x464788
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e0e2
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x428]
push eax
push esi
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40e0d4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop word [eax + eax]
lea eax, [ebp - 0x478]
mov dword [ebp - 0x47c], 0x104
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x428]
inc esi
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e012
lea eax, [ebp - 0x488]
mov dword [ebp - 0x488], 0x208
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x48c]
push eax
push 0
push str.ExecutablePath
push dword [ebp - 0x478]
call edi
test eax, eax
jne 0x40dfe6
cmp dword [ebp - 0x48c], 1
jne 0x40dfda
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x430], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dea0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00402a20
push ecx
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x440]
call fcn.0040f3c0
cmp eax, 0xffffffff
je 0x40df6a
movups xmm0, xmmword [ebp - 0x440]
sub esp, 0x18
mov eax, esp
push 0x4647ec
push 0x30d
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
movups xmmword [eax], xmm0
push 2
movq xmm0, qword [ebp - 0x430]
push 0x470efc
movq qword [eax + 0x10], xmm0
call fcn.00404f70
add esp, 0x2c
mov dword [ebp - 0x490], 4
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x484]
push eax
push 0
push 0x464900
push dword [ebp - 0x478]
call edi
test eax, eax
jne 0x40e06c
cmp dword [ebp - 0x484], 4
jne 0x40df88
push 0x464918
push 0x312
jmp 0x40e080
push 0x464970
push 0x31b
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], 1
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x40e004
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dfc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1a3
push edx
push ecx
call fcn.0042dc50
add esp, 8
push dword [ebp - 0x478]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e030
push 0x464994
push 0x31e
jmp 0x40dff0
push 0x4649bc
push 0x321
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 - 0x478]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e030
push 0x4649e8
push 0x325
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 - 0x47c]
push eax
lea eax, [ebp - 0x428]
push eax
push esi
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40de00
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e100
push 0x464948
mov dword [ebp - 0x480], 1
push 0x317
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconUpdateTrayIcon.cpp
push 2
push 0x470efc
call fcn.00404f70
mov edx, dword [ebp - 0x42c]
add esp, 0x14
cmp edx, 8
jb 0x40e0d4
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e0ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1a3
push edx
push ecx
call fcn.0042dc50
add esp, 8
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e100
push 0x464a00
push 0x32a
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 - 0x45c]
mov esi, dword [ebp - 0x480]
cmp edx, 8
jb 0x40e142
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e138
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1a3
push edx
push ecx
call fcn.0042dc50
add esp, 8
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x40e17e
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e174
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1a3
push edx
push ecx
call fcn.0042dc50
add esp, 8
mov eax, esi
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.00402800
call fcn.0043276f
int3