Function at 0x4a2b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a2e1e
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x7adbc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [edi + 4]
push 4
push dword [ebx]
mov dword [ebp - 0x88], ebx
call esi
push 5
mov dword [edi + 0xec], eax
push dword [ebx]
call esi
push 0x3f4
mov dword [edi + 0xf0], eax
push dword [ebx]
call esi
push 0x400
mov dword [edi + 0xf4], eax
push dword [ebx]
call esi
push 0x433
mov dword [edi + 0xf8], eax
push dword [ebx]
call esi
push 0x3f1
mov dword [edi + 0xfc], eax
push dword [ebx]
call esi
push 0x405
mov dword [edi + 0x104], eax
push dword [ebx]
call esi
push 0x3f9
mov dword [edi + 0x108], eax
push dword [ebx]
call esi
mov esi, dword [sym.imp.USER32.dll_RegisterHotKey]
push 0x70
push 0
push 0x70
mov dword [edi + 0x100], eax
push dword [ebx]
call esi
push 0x2f
push 0
push 0x70
push dword [ebx]
call esi
push 0x41f
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [0x7baeb4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x1501
push eax
call esi
push 0x421
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [0x7baeb4]
push 1
push 0x1501
push eax
call esi
mov dword [edi + 0x50], reloc.WSOCK32.dll_accept
mov dword [edi + 0x54], str.SOFTWAREAtom_SecurityRemoteInstallerUI
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x20019
push str.SOFTWAREAtom_SecurityRemoteInstallerUI
push reloc.WSOCK32.dll_accept
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.004910b0
mov ebx, dword [ebp - 0x1c]
or esi, 0xffffffff
test eax, eax
jne 0x4a2d65
lea eax, [ebp - 0x7c]
push eax
call fcn.004b5ee0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 4
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push 0
push dword [eax]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea eax, [esi + 0xe]
test ebx, ebx
jne 0x4a2ccd
cmp dword [ebp - 0x84], 4
cmovne ebx, eax
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a2ceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
test ebx, ebx
jne 0x4a2cf9
mov eax, dword [ebp - 0x80]
mov dword [edi + 0x48], eax
lea eax, [ebp - 0x74]
push eax
call fcn.004b5e50
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 4
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push 0
push dword [eax]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x4a2d3a
cmp dword [ebp - 0x84], 4
mov eax, 0xd
cmovne ebx, eax
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a2d58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
mov ebx, dword [ebp - 0x1c]
jne 0x4a2d65
mov eax, dword [ebp - 0x80]
mov dword [edi + 0x4c], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4a2d77
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0xc
lea ebx, [edi + 0x28]
mov ecx, ebx
call fcn.004b59a0
mov ecx, dword [edi + 0x48]
xor eax, eax
test ebx, ebx
mov esi, edi
cmove esi, eax
test ecx, ecx
je 0x4a2dd7
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4a2dd7
push 0x16
push eax
push ecx
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push edx
push eax
call fcn.004b5740
push 0
lea ecx, [edi + 4]
call fcn.0049a4a0
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call ebx
push 0xb
mov esi, eax
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push esi
push eax
push 1
push 0xce
push dword [0x7b74c4]
call edi
push eax
mov eax, dword [ebp - 0x88]
push 1
push 0x80
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x32
call ebx
push 0x31
mov esi, eax
call ebx
push 0
push esi
push eax
push 1
push 0xce
push dword [0x7b74c4]
call edi
push eax
mov eax, dword [ebp - 0x88]
push 0
push 0x80
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push 6
push 6
push 0x20
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
movaps xmm0, xmmword [0x778790]
mov ebx, dword [ebp - 0x8c]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x78], 0
movaps xmm0, xmmword [0x778770]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebx + 0x58], eax
movaps xmm0, xmmword [0x778780]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x74], 0
movaps xmm0, xmmword [0x7787b0]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x7787a0]
movups xmmword [ebp - 0x30], xmm0
call fcn.004b74d0
mov esi, eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 4], 3
lea edi, [ebp - 0x70]
push edi
lea ecx, [ebp - 0x78]
call fcn.004bd120
push eax
add eax, 0x10
lea ecx, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x7c]
push eax
call fcn.004bd140
add edi, 8
lea eax, [ebp - 0x20]
cmp edi, eax
je 0x4a2eef
mov esi, dword [ebp - 0x78]
jmp 0x4a2ec5
mov edi, dword [ebp - 0x78]
mov esi, dword [edi]
cmp esi, edi
je 0x4a2f63
mov eax, dword [esi + 0x14]
movzx eax, ax
push eax
push dword [0x7b74c4]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0xffffffffffffffff
push dword [ebx + 0x58]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4a2f44
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4a2f40
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4a2f40
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4a2f30
mov esi, eax
jmp 0x4a2f5c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4a2f5c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4a2f50
cmp esi, edi
jne 0x4a2ef8
mov edi, dword [ebp - 0x78]
mov dword [ebp - 4], 4
mov ecx, edi
mov eax, dword [edi + 4]
mov esi, eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x7c], eax
cmp byte [eax + 0xd], 0
jne 0x4a2fb1
mov ebx, eax
push dword [esi + 8]
lea ecx, [ebp - 0x78]
call fcn.004b74f0
mov esi, dword [esi]
push 0x18
push ebx
call fcn.0066a2e8
add esp, 8
mov ebx, esi
cmp byte [esi + 0xd], 0
je 0x4a2f82
mov edi, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x84]
mov dword [edi + 4], ecx
mov eax, dword [ebp - 0x78]
push 0x18
mov dword [eax], ecx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 8], ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0
call fcn.0066a2e8
add esp, 8
push 0x100000
push 0x42
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xbd
push dword [ebx + 0x108]
mov dword [ebx + 0x60], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push dword [ebx + 0x60]
push 0xbc
push dword [ebx + 0x108]
call esi
push 0
push 0x100000
push 0xc5
push dword [ebx + 0x108]
call esi
push 0xfffffffffffffff0
push dword [ebx + 0x108]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x20
cmp eax, ecx
je 0x4a3054
push ecx
push 0xfffffffffffffff0
push dword [ebx + 0x108]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x404
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, ebx
mov dword [ebx + 0xc8], eax
call fcn.004a6db0
mov ecx, ebx
call fcn.004b1330
mov dword [ebp - 4], 5
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4a342d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebx + 4]
call fcn.0049a360
mov byte [ebp - 4], 7
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4a3437
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.004ec930
mov esi, dword [eax]
mov byte [ebp - 4], 0xa
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4a3441
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
push 0x80
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
call fcn.004989a0
push esi
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x80]
mov esi, dword [ebp - 0x74]
push esi
push str.__s__s_
push eax
call fcn.00499dc0
add esp, 0x10
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0xd
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3143
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3161
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x77291c
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x84]
call fcn.00498800
add esp, 4
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.004988e0
add esp, 4
push dword [eax]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a31bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a31dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a31fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
mov dword [ebp - 4], 0x13
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4a321d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 1
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004a35c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0049a2e0
mov esi, eax
test esi, esi
jne 0x4a32fd
call fcn.00516890
mov edi, eax
mov ecx, edi
call fcn.00516630
cmp byte [0x7b88a7], 0
jne 0x4a32a7
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x4a3299
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b88a7
sub esp, 0xc
push 9
push str.c:gitlab_runner_builds_tzuw5duw0windowswindows_agent_remoteinstallerinstallerui_redefine_atlassert.h
push 0x18
call fcn.00516700
jmp 0x4a329b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x7bae74], eax
mov ecx, edi
call fcn.00516640
mov ecx, dword [0x7bae74]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov eax, dword [0x7bae74]
push str.ATLASSERT
push 0x2e2
push str.CMainDialog::OnInitDialog
mov ecx, dword [eax]
push str.SCAssertT_at__s__d:__s
push eax
call dword [ecx + 0x48]
mov ecx, dword [0x7bae74]
add esp, 0x14
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bae74]
lea ecx, [ecx + 0xd0]
call fcn.00516640
mov ecx, dword [esi + 8]
lea eax, [ebx + 0x20]
mov edx, dword [esi + 0xc]
mov edi, ebx
neg edi
sbb edi, edi
and edi, eax
cmp ecx, edx
jne 0x4a3379
mov eax, dword [esi + 4]
lea ebx, [ebp - 0x90]
cmp ebx, eax
mov ebx, dword [ebp - 0x8c]
jb 0x4a333c
lea ebx, [ebp - 0x90]
lea eax, [eax + edx*4]
cmp ebx, eax
mov ebx, dword [ebp - 0x8c]
jb 0x4a344b
test edx, edx
jne 0x4a334a
mov eax, 1
mov dword [ebp - 0x74], eax
jmp 0x4a335b
lea eax, [ecx + ecx]
mov dword [ebp - 0x74], eax
test eax, eax
js 0x4a338e
cmp eax, 0x1fffffff
ja 0x4a338e
push 4
push eax
push dword [esi + 4]
call fcn.00678ec5
add esp, 0xc
test eax, eax
je 0x4a338e
mov ecx, dword [ebp - 0x74]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x4a3388
mov dword [eax], edi
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 0x24]
mov edi, dword [esi + 0x18]
neg ebx
sbb ebx, ebx
and ebx, eax
cmp ecx, edi
jne 0x4a33f5
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x94]
cmp eax, edx
jb 0x4a33c2
lea eax, [edx + edi*4]
lea edi, [ebp - 0x94]
cmp edi, eax
mov edi, dword [esi + 0x18]
jb 0x4a3455
test edi, edi
jne 0x4a33cd
mov edi, 1
jmp 0x4a33dc
lea edi, [ecx + ecx]
test edi, edi
js 0x4a340a
cmp edi, 0x1fffffff
ja 0x4a340a
push 4
push edi
push edx
call fcn.00678ec5
add esp, 0xc
test eax, eax
je 0x4a340a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
lea eax, [eax + ecx*4]
test eax, eax
je 0x4a3404
mov dword [eax], ebx
mov ecx, dword [esi + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00669a8a
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00490960
push 0x80004005
call fcn.00490960
push 0x80004005
call fcn.00490960
push 0x80004005
call fcn.00490960
push 0x80004005
call fcn.00490960
int3