Function at 0x45ad70
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b2de9
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4e1370]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b8]
mov edx, dword [esp + 0x2bc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], edx
dec dword [esp + 0x2dc]
xor esi, esi
mov dword [esp + 0x2b0], esi
mov ecx, dword [ecx + 0x1c]
lea edi, [esp + 0x20]
push edi
or ecx, 0x20019
push ecx
push esi
push edx
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b742
push 0x206
lea eax, [esp + 0xa2]
xor edx, edx
push esi
push eax
mov dword [esp + 0x28], esi
mov word [esp + 0xa8], dx
call fcn.00494b20
mov eax, dword [esp + 0x2c]
add esp, 0xc
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xb0]
push edx
push esi
push eax
mov dword [esp + 0x44], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45b733
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xfc]
test edx, edx
jne 0x45b733
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x14]
push eax
call fcn.00405a20
inc dword [esp + 0x1c]
push 1
push 0x4c8f90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b8], 1
push ecx
mov dword [esp + 0x30], 0x104
call fcn.00425be0
lea eax, [esp + 0x9c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45aea0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00425be0
mov ecx, dword [esp + 0x2d4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x2c0]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov ebx, edx
mov ebp, eax
mov esi, dword [esp + 0x2d4]
test ebp, ebp
je 0x45aef2
cmp ebp, dword [esp + 0x2c0]
je 0x45aef7
call fcn.00490387
cmp ebx, esi
je 0x45b6a9
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xfc]
test edx, edx
jne 0x45b6a9
test ebp, ebp
jne 0x45af50
call fcn.00490387
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x45af26
call fcn.00490387
mov esi, dword [ebx + 8]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x45af55
cmp eax, dword [esi]
jne 0x45af55
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x45af90
mov eax, dword [ebp]
jmp 0x45af1c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x45b7a5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004903e8
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x9c]
push ecx
push esi
mov byte [esp + 0x2b8], 2
call fcn.004920dc
add esp, 8
test eax, eax
jne 0x45b65c
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
mov edx, dword [0x4e7464]
lea esi, [eax + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
mov dword [esp + 0x38], esi
call eax
mov edx, dword [0x4e7464]
add eax, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
mov edx, dword [0x4e7464]
add eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], 0
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
mov byte [esp + 0x2b0], 3
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x34], edx
cmp eax, esi
je 0x45b087
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45b07a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45b07a
call fcn.0040bbd0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45b071
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x38], ebx
jmp 0x45b087
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x3c]
call fcn.00405920
lea eax, [esp + 0x9c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b091
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x9c]
mov ebx, eax
push ecx
lea eax, [esp + 0x40]
call fcn.00405920
cmp dword [ebp + 0x1c], 0x100
jne 0x45b210
lea edx, [esp + 0x60]
push edx
mov ecx, 0x4c8f90
call fcn.00405a20
mov edi, eax
lea eax, [esp + 0x94]
mov byte [esp + 0x2b0], 4
mov esi, dword [esp + 0x34]
push eax
call fcn.00481ccf
add esp, 4
lea ecx, [esp + 0x8c]
push edi
push ecx
mov ebx, eax
mov byte [esp + 0x2b8], 5
call fcn.004537a0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x90]
push ecx
mov ebx, eax
mov byte [esp + 0x2c0], 6
call fcn.004537a0
add esp, 0x10
mov byte [esp + 0x2b0], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x44]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45b17e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45b171
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45b171
call fcn.0040bbd0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45b168
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x44], ebx
jmp 0x45b17e
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x48]
call fcn.00405920
mov byte [esp + 0x2b0], 6
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b1a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 5
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b1d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 4
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b1ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 3
mov eax, dword [esp + 0x60]
jmp 0x45b5ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.Kernel32.dll
mov esi, eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45b2f5
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, 0x4c8f90
call fcn.00405a20
mov edi, eax
lea edx, [esp + 0x74]
mov byte [esp + 0x2b0], 0x10
mov esi, dword [esp + 0x34]
push edx
call fcn.00481ccf
add esp, 4
lea ecx, [esp + 0x6c]
push edi
push ecx
mov ebx, eax
mov byte [esp + 0x2b8], 0x11
call fcn.004537a0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x70]
push ecx
mov ebx, eax
mov byte [esp + 0x2c0], 0x12
call fcn.004537a0
add esp, 0x10
mov byte [esp + 0x2b0], 0x13
mov ecx, dword [eax]
mov esi, dword [esp + 0x44]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45b57b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45b56e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45b56e
call fcn.0040bbd0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45b2e9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x44], ebx
jmp 0x45b57b
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45b23e
lea ecx, [esp + 0x28]
push ecx
push esi
call eax
cmp dword [esp + 0x28], 0
je 0x45b23e
lea edx, [esp + 0x5c]
push edx
mov ecx, 0x4c8f90
call fcn.00405a20
mov edi, eax
lea eax, [esp + 0x98]
push eax
mov ecx, str.Wow6432Node
mov byte [esp + 0x2b4], 8
call fcn.00405a20
mov ebp, eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, 0x4c8f90
mov byte [esp + 0x2b4], 9
call fcn.00405a20
mov ebx, eax
lea edx, [esp + 0x88]
mov byte [esp + 0x2b0], 0xa
mov esi, dword [esp + 0x34]
push edx
call fcn.00481ccf
add esp, 4
push ebx
lea ecx, [esp + 0x74]
push ecx
mov ebx, eax
mov byte [esp + 0x2b8], 0xb
call fcn.004537a0
lea edx, [esp + 0x98]
push ebp
push edx
mov ebx, eax
mov byte [esp + 0x2c0], 0xc
call fcn.004537a0
lea ecx, [esp + 0x68]
push edi
push ecx
mov ebx, eax
mov byte [esp + 0x2c8], 0xd
call fcn.004537a0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x9c]
push ecx
mov ebx, eax
mov byte [esp + 0x2d0], 0xe
call fcn.004537a0
add esp, 0x20
mov byte [esp + 0x2b0], 0xf
mov ecx, dword [eax]
mov esi, dword [esp + 0x44]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x45b439
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45b42c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45b42c
call fcn.0040bbd0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45b423
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x44], ebx
jmp 0x45b439
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x48]
call fcn.00405920
mov byte [esp + 0x2b0], 0xe
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 0xd
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b48c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 0xc
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b4b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 0xb
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b4df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 0xa
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b50a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 9
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b532
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 8
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b55d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 3
mov eax, dword [esp + 0x5c]
jmp 0x45b5ff
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x48]
call fcn.00405920
mov byte [esp + 0x2b0], 0x12
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b5a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 0x11
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b5cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 0x10
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b5f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b0], 3
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b61b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push ecx
lea edi, [esp + 0x4c]
mov dword [esp + 0x50], 0
call fcn.00457d50
mov edx, dword [esp + 0x34]
add edx, 0xdc
push edx
call fcn.00460bc0
add esp, 0x20
mov esi, edi
call fcn.00454a90
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
test ebp, ebp
jne 0x45b6a4
call fcn.00490387
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x45b671
call fcn.00490387
mov ebx, dword [ebx]
lea eax, [esi - 0x10]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x2b0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45aede
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45aede
mov eax, dword [ebp]
jmp 0x45b667
mov eax, dword [esp + 0x2dc]
test eax, eax
jl 0x45b6de
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push ecx
lea ecx, [esp + 0x2e4]
call fcn.0045bd40
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
push edx
push eax
call fcn.0045ad70
mov byte [esp + 0x2b0], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b706
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xb0]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x45ae4a
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ebx, [esp + 0x2c0]
call fcn.00435ff0
mov eax, dword [esp + 0x2d4]
push eax
call fcn.00490210
mov ecx, dword [esp + 0x2c4]
add esp, 4
push ecx
mov dword [esp + 0x2d8], 0
call fcn.00490210
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0049021b
add esp, 0x2a0
ret 0x28
call fcn.00405210
int3