Function at 0x404490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4148c9
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
mov eax, dword [0x4491d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0x18]
call fcn.004063a0
lea ecx, [ebp - 0x18]
call fcn.00402e40
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], str.2tXHR06uzcUR4QIICagfzmp5iuhFrNbdhOWohUQcHuxoBz9ewwpVOtvyskIvDxiQvgi378QN15yll3F0l3r2wqHf30uBMpB3C7TXoz9vRCDaFgDw
mov dword [ebp - 0x50], str.UOyRtOFMpVDxHMihziwIIBPIRub4fFpDmJ7WPNEft2CkRu8XS5Hz2GpaLwRqQh1LtUK1OUb7jfwSzDqLRS48DTXsqh3AecPWT5O6AjVeTSYJu1Rr
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp + 0x10]
push edx
call fcn.00402ce0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x404578
push 0x41ca84
mov ecx, dword [ebp + 8]
call fcn.00402dc0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00403180
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00403180
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00403180
mov eax, dword [ebp + 8]
jmp 0x404726
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
push ecx
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp + 0x14]
call fcn.004016b0
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404310
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp + 0x14]
call fcn.004016b0
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00405a10
cmp dword [ebp - 0x30], 0
je 0x40463c
mov dword [ebp - 0x40], str.BxiQoDgBMJirLp3cyVntUJe2pzspNQz6k8vS3SLX09z1DoLuA0PKfV5D3CPJ4gkAXPBiixAl6G1S186qkv4OPpO4hKmfUg5AnJuwIspcE6BOaLhVWb18u00bJ5OuyJHdxECBOWdhSimGJrhOJo6LT0waIPU8BxMqB7V8XOgGCohqLePGaigoEbuw8wrR1sJXOkRhsg2RnKo2G9tYNG0bcIj6xObvbhGtAcqOpYlxgRKAkbuXn7hWRiD38BVVRFxntn54U5cN4vohSgTKMLB5X0oSMYv6ej0VbaQWTbU3cAolYhwg0B0vApKoWeK3OPtfvBhXcj42IhR6z5WgdfYLLxcLKPvRzLcdrqmbwWvNiTTW5svjG1AYqPqsYwDMOF9B54Gev4jLi1Coh9jP
push 0x41d97c
mov ecx, dword [ebp + 8]
call fcn.00402dc0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00403180
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00403180
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00403180
mov eax, dword [ebp + 8]
jmp 0x404726
mov dword [ebp - 0x4c], str.xWo4KkAktwLHBj7Nr8tUNKHsq7SEONp0gvHBi2eMbXli8YHdYpulbtLtGwx9uPszO7dQ5MTJggeBik86A927JgbB5WxBJE7rbjXYq05wBMMnjkCx00GWs1Q64Ex4dsJkokyLxwxKMcqtNScr6kwaf4StK6bGYotPF84xuIhpWfwOKTCxV98
mov dword [ebp - 0x54], str.Hd7BcgMM5bsFwej11U2SzUAo9YPJc0jJPgbjKkA3Tir7NjycLqR4pmPVlLrSVVi2k3QMowH077rqvpyTlrle6dSARju2gg9frPTWVOfbNOTE95wXstoXL0RYYLiBNSO4QRUukPRHT6ubV6GmeXJCG0seONsoNVidDleYFXKhg4dEEqg7amP
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402ce0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00403180
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00403180
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00403180
mov eax, dword [ebp + 8]
jmp 0x404726
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409d9c
mov esp, ebp
pop ebp
ret 0x10