Function at 0x45e550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622986
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x45e833
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004024e0
mov byte [ebp - 4], 1
mov eax, dword [esi]
push eax
push 0x64edec
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402f60
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.004024e0
mov byte [ebp - 4], 2
mov edx, dword [esi + 4]
push edx
push 0x64edec
lea eax, [ebp + 8]
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [0x70fb9c]
call fcn.00422560
test eax, eax
je 0x45e6bf
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x20], 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.DontShowDlgOnCancel
mov ecx, dword [0x70f604]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e625
cmp dword [ebp - 0x1c], eax
je 0x45e625
mov byte [ebp - 0x11], al
jmp 0x45e80b
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x34], edx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x38], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [esi + 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
push 0
call fcn.00411640
push eax
mov edx, dword [esi + 0x30]
push edx
push 0
mov eax, dword [esi + 0x2c]
push eax
mov ecx, dword [esi + 0x28]
push ecx
mov edx, dword [esi + 0x24]
push edx
mov eax, dword [esi + 0x20]
push eax
push edi
push ebx
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x158]
call fcn.004eff30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call fcn.005d199e
mov dword [0x70ffec], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x158]
call fcn.00459c30
jmp 0x45e80b
lea ecx, [ebp - 0x20]
call fcn.004024e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004024e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [0x70fb9c]
call fcn.00422070
test eax, eax
je 0x45e7f3
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x28], 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
push str.DontShowDlgOnCancel
mov edx, dword [0x70f604]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e738
cmp dword [ebp - 0x30], eax
je 0x45e738
mov byte [ebp - 0x12], al
jmp 0x45e7f3
cmp dword [ebp - 0x2c], 0
lea eax, [ebp - 0x1c]
jne 0x45e744
lea eax, [ebp - 0x18]
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x38], edx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [esi + 8]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x48], ecx
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
push eax
call fcn.00411640
push eax
mov ecx, dword [esi + 0x30]
push ecx
push 1
mov edx, dword [esi + 0x2c]
push edx
mov eax, dword [esi + 0x28]
push eax
mov ecx, dword [esi + 0x24]
push ecx
mov edx, dword [esi + 0x20]
push edx
push edi
push ebx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x158]
call fcn.004eff30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x158]
call fcn.005d199e
mov dword [0x70ffec], 0
push 0
push 0x145d
push 0x111
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.00459c30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00402550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00402550
push 1
mov ecx, esi
call fcn.0045c8a0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00402550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402550
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4