Function at 0x450f40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0x61c4b4
mov ecx, 0x44
xor eax, eax
lea edi, [ebp - 0x190]
push eax
rep stosd dword es:[edi], eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x80], 0
call fcn.005c8aeb
push eax
call fcn.005c993d
add esp, 8
call fcn.005c994a
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fmul qword [0x61d6a0]
call fcn.005c7778
mov ecx, 0x3e8
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub ecx, eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [0x6d18e0]
push eax
push 1
push 0
push ecx
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x451034
mov ecx, dword [0x6d18f0]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x80]
push edx
mov edx, dword [ebp - 0x2c]
push eax
push 0
push 0
mov esi, 0x32
push ecx
push edx
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
je 0x451028
mov edx, dword [0x6d18f0]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
mov eax, dword [0x6d116c]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x14], esi
call ebx
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45103a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [0x6a5fec]
test eax, eax
jne 0x45128e
lea ecx, [ebp - 0x3c]
call fcn.004fde60
mov ecx, dword [0x6d1144]
mov eax, dword [0x6d1ba4]
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 2
neg ecx
push edx
push 1
sbb ecx, ecx
push 0
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
call edi
mov esi, eax
test esi, esi
je 0x4510fe
cmp esi, 2
je 0x4510fa
mov edx, dword [0x6cc564]
mov dword [ebp - 0x18], edx
mov eax, dword [0x6d1144]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4510a3
mov eax, str.MACHINE
mov ecx, dword [0x6d1ba4]
lea edx, [ebp - 0x18]
push ecx
push eax
push 0x6a2b8c
push edx
call fcn.005dc6eb
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.004fdf10
test eax, eax
je 0x4510ee
mov eax, dword [0x6d1144]
mov edx, dword [0x6d1ba4]
lea ecx, [ebp - 0x14]
neg eax
push ecx
push 1
sbb eax, eax
push 0
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005e38b9
test esi, esi
jne 0x451135
mov eax, dword [0x6d17e8]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x1c], 0x110
call ebx
test eax, eax
je 0x45112b
mov byte [ebp - 0x190], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x190]
test al, al
jne 0x45125a
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], 0x110
call fcn.004fde60
lea eax, [ebp - 0x14]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WS2_32.dll_accept
call esi
test eax, eax
je 0x451214
mov ecx, dword [0x6cc564]
mov dword [ebp - 0x18], ecx
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
lea edx, [ebp - 0x18]
push str.CURRENT_USER_s
push edx
mov byte [ebp - 4], 5
call fcn.005dc6eb
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.004fdf10
test eax, eax
je 0x451206
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x451206
mov ecx, dword [0x6d17e8]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x190]
push edx
mov edx, dword [ebp - 0x14]
push eax
push 0
push 0
push ecx
push edx
call ebx
test eax, eax
je 0x4511fc
mov byte [ebp - 0x190], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.005e38b9
jmp 0x451244
mov eax, dword [0x6d17e8]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 0
push 0
push eax
push ecx
call ebx
test eax, eax
je 0x45123a
mov byte [ebp - 0x190], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004fdea0
mov al, byte [ebp - 0x190]
test al, al
je 0x451282
mov edx, dword [0x6d2418]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x190]
push ecx
push edx
push 0x110
push eax
lea ecx, [ebp - 0x28]
call fcn.004465b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
jmp 0x451401
lea ecx, [ebp - 0x3c]
call fcn.004fde60
lea ecx, [ebp - 0x14]
mov edx, dword [0x6d1ba0]
push 0
push ecx
mov cl, byte [0x6d115c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor eax, eax
push 0
test cl, cl
push 0xf003f
push 0
setne al
push 0
push 0
add eax, reloc.WS2_32.dll_accept
push edx
push eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], 0x110
call esi
test eax, eax
je 0x451398
mov ecx, dword [0x6cc564]
mov dword [ebp - 0x18], ecx
mov al, byte [0x6d115c]
mov byte [ebp - 4], 7
test al, al
mov eax, str.MACHINE
jne 0x4512fe
mov eax, str.CURRENT_USER
mov edx, dword [0x6d1ba0]
push edx
push eax
lea eax, [ebp - 0x18]
push 0x6a2b8c
push eax
call fcn.005dc6eb
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004fdf10
test eax, eax
je 0x45138a
mov eax, dword [0x6d1ba0]
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov al, byte [0x6d115c]
xor ecx, ecx
test al, al
setne cl
add ecx, reloc.WS2_32.dll_accept
push ecx
call esi
test eax, eax
jne 0x45138a
mov ecx, dword [0x6d17e8]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x190]
push edx
mov edx, dword [ebp - 0x14]
push eax
push 0
push 0
push ecx
push edx
call ebx
test eax, eax
je 0x451380
mov byte [ebp - 0x190], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.005e38b9
jmp 0x4513c8
mov eax, dword [0x6d17e8]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 0
push 0
push eax
push ecx
call ebx
test eax, eax
je 0x4513be
mov byte [ebp - 0x190], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x190]
test al, al
je 0x4513fa
mov edx, dword [0x6d2418]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x190]
push ecx
push edx
push 0x110
push eax
lea ecx, [ebp - 0x28]
call fcn.004465b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004fdea0
mov eax, dword [0x6a5fec]
lea esi, [ebp - 0x190]
test eax, eax
je 0x451454
mov eax, dword [0x6d17ec]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x451442
test cl, cl
je 0x45143e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x451442
add eax, 2
add esi, 2
test cl, cl
jne 0x45141a
xor eax, eax
jmp 0x451447
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x451591
jmp 0x45157c
mov eax, dword [0x6d17f8]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x451481
test cl, cl
je 0x45147d
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x451481
add eax, 2
add esi, 2
test cl, cl
jne 0x451459
xor eax, eax
jmp 0x451486
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45157c
mov eax, dword [0x6d17f4]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4514c1
test cl, cl
je 0x4514bd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4514c1
add eax, 2
add esi, 2
test cl, cl
jne 0x451499
xor eax, eax
jmp 0x4514c6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45157c
mov eax, dword [0x6d17f0]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x451501
test cl, cl
je 0x4514fd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x451501
add eax, 2
add esi, 2
test cl, cl
jne 0x4514d9
xor eax, eax
jmp 0x451506
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45157c
mov eax, dword [0x6d17ec]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x45153d
test cl, cl
je 0x451539
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x45153d
add eax, 2
add esi, 2
test cl, cl
jne 0x451515
xor eax, eax
jmp 0x451542
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x451591
lea edi, [ebp - 0x80]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x451570
mov cl, byte [ebp - 0x7b]
mov al, 0x2d
cmp cl, al
jne 0x451570
cmp byte [ebp - 0x75], al
jne 0x451570
mov cl, byte [ebp - 0x6f]
cmp cl, al
mov eax, 6
je 0x451573
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 7
mov dword [ebp - 0x24], eax
jbe 0x4515a2
mov eax, dword [ebp - 0x20]
push 0
push eax
push 0x1c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x24], 7
jae 0x451591
mov eax, dword [ebp - 0x20]
push 0
push eax
push 0x1d
jmp 0x451584