Function at 0x455030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c92a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x4fb770]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 0x1d], 1
call fcn.004ba5ee
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c8]
call dword [edx + 0xc]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
call fcn.004ba5ee
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1d0]
call dword [edx + 0xc]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0x64
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0x20019
push 0
push 0
push 0
push 0x4cdc58
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004321c0
push eax
push 0
push 0
push 0x4d79e8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10]
shr eax, 1
sub eax, 1
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041bf90
mov edx, dword [ebp - 0x1d8]
push edx
lea ecx, [ebp - 0x28]
call fcn.00456690
mov dword [ebp - 0x10], 0x64
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004321c0
push eax
push 0
push 0
push 0x4d79d4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10]
shr eax, 1
sub eax, 1
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0041bf90
mov edx, dword [ebp - 0x1e0]
push edx
lea ecx, [ebp - 0x24]
call fcn.00456690
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1b0], esp
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1e4]
push eax
call fcn.00402570
add esp, 4
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
add ecx, 0x10
mov edx, dword [ebp - 0x1ec]
mov dword [edx], ecx
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1b4], esp
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x10
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x1f0]
push eax
call fcn.00402570
add esp, 4
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
add ecx, 0x10
mov edx, dword [ebp - 0x1f8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
call fcn.00455f80
mov byte [ebp - 0x225], al
movzx ecx, byte [ebp - 0x225]
test ecx, ecx
je 0x4553ac
mov dword [ebp - 0x1c], 0
push ecx
mov edx, esp
mov dword [ebp - 0x1b8], esp
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x24]
sub eax, 0x10
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
push ecx
call fcn.00402570
add esp, 4
mov dword [ebp - 0x200], eax
mov edx, dword [ebp - 0x200]
add edx, 0x10
mov eax, dword [ebp - 0x204]
mov dword [eax], edx
mov ecx, dword [ebp - 0x204]
mov dword [ebp - 0x22c], ecx
mov byte [ebp - 4], 3
push ecx
mov edx, esp
mov dword [ebp - 0x1bc], esp
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
push ecx
call fcn.00402570
add esp, 4
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x20c]
add edx, 0x10
mov eax, dword [ebp - 0x210]
mov dword [eax], edx
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x230], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
call fcn.00455db0
mov byte [ebp - 0x231], al
movzx edx, byte [ebp - 0x231]
test edx, edx
je 0x455356
push 0x40
push 0x4cdc30
call dword [sym.imp.laRTLu.dll__LaGetStr_4]
push eax
push 0x4cdbc0
call dword [sym.imp.laRTLu.dll__LaGetStr_4]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4553a0
push 0
lea ecx, [ebp - 0x1ac]
call fcn.00401010
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.00401500
lea ecx, [ebp - 0x1ac]
call fcn.004b5f8d
cmp eax, 1
jne 0x455391
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ac]
call fcn.00401110
cmp dword [ebp - 0x1c], 0
jne 0x45526d
jmp 0x4553d2
push 0x10
push 0x4ce004
call dword [sym.imp.laRTLu.dll__LaGetStr_4]
push eax
push 0x4d7978
call dword [sym.imp.laRTLu.dll__LaGetStr_4]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0x1d], 0
mov dl, byte [ebp - 0x1d]
mov byte [ebp - 0x1bd], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0044f730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0044f730
mov al, byte [ebp - 0x1bd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0049d184
mov esp, ebp
pop ebp
ret