Function at 0x4565d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618a08
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], 0x63c91c
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.005e6a09
push eax
call fcn.005e780d
add esp, 8
call fcn.005e781a
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fmul qword [0x63db18]
call fcn.005e5674
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 [0x6f6c10]
push eax
push 1
push 0
push ecx
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4566c4
mov ecx, dword [0x6f6c20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
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 - 0x18], esi
call ebx
test eax, eax
je 0x4566b8
mov edx, dword [0x6f6c20]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x80]
push eax
mov eax, dword [0x6f6360]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x18], esi
call ebx
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4566ca
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [0x6c95a8]
test eax, eax
jne 0x45695b
lea ecx, [ebp - 0x3c]
call fcn.0050cde0
mov ecx, dword [0x6f6334]
mov eax, dword [0x6f6ed4]
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 0x4567c9
cmp esi, 2
je 0x4567c5
mov edx, dword [0x6f175c]
mov dword [ebp - 0x18], edx
mov eax, dword [0x6f6334]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x456737
mov eax, str.MACHINE
mov ecx, dword [0x6f6ed4]
lea edx, [ebp - 0x18]
push ecx
push eax
push 0x6c5c64
push edx
call fcn.005fa6fb
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050ce90
test eax, eax
je 0x456782
mov eax, dword [0x6f6334]
mov edx, dword [0x6f6ed4]
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
test esi, esi
je 0x4567b9
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0050cf50
test eax, eax
je 0x4567b9
mov ecx, dword [0x6f6334]
mov eax, dword [0x6f6ed4]
lea edx, [ebp - 0x14]
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
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.006018cc
test esi, esi
jne 0x456801
mov ecx, dword [0x6f6b18]
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
mov dword [ebp - 0x1c], 0x110
call ebx
test eax, eax
je 0x4567f7
mov byte [ebp - 0x190], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x190]
test al, al
jne 0x456927
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], 0x110
call fcn.0050cde0
lea ecx, [ebp - 0x14]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
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
je 0x4568e0
mov edx, dword [0x6f175c]
mov dword [ebp - 0x18], edx
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
lea eax, [ebp - 0x18]
push str.CURRENT_USER_s
push eax
mov byte [ebp - 4], 5
call fcn.005fa6fb
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0050ce90
test eax, eax
je 0x4568d2
lea edx, [ebp - 0x14]
push 0
push edx
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 0x4568d2
mov edx, dword [0x6f6b18]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push 0
push 0
push edx
push eax
call ebx
test eax, eax
je 0x4568c8
mov byte [ebp - 0x190], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.006018cc
jmp 0x456911
mov ecx, dword [0x6f6b18]
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 0x456907
mov byte [ebp - 0x190], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0050ce20
mov al, byte [ebp - 0x190]
test al, al
je 0x45694f
mov edx, dword [0x6f7748]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x190]
push 0x110
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044b8b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
jmp 0x456b2e
lea ecx, [ebp - 0x3c]
call fcn.0050cde0
mov eax, dword [0x6f6ed0]
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov al, byte [0x6f6350]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor ecx, ecx
mov byte [ebp - 4], 6
test al, al
setne cl
add ecx, reloc.WS2_32.dll_accept
mov dword [ebp - 0x1c], 0x110
push ecx
call esi
test eax, eax
je 0x456ac4
mov edx, dword [0x6f175c]
mov dword [ebp - 0x18], edx
mov al, byte [0x6f6350]
mov byte [ebp - 4], 7
test al, al
mov eax, str.MACHINE
jne 0x4569ca
mov eax, str.CURRENT_USER
mov ecx, dword [0x6f6ed0]
lea edx, [ebp - 0x18]
push ecx
push eax
push 0x6c5c64
push edx
call fcn.005fa6fb
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050ce90
test eax, eax
je 0x456a45
lea ecx, [ebp - 0x14]
mov edx, dword [0x6f6ed0]
push 0
push ecx
mov cl, byte [0x6f6350]
xor eax, eax
push 0
push 0xf003f
test cl, cl
push 0
push 0
setne al
push 0
add eax, reloc.WS2_32.dll_accept
push edx
push eax
call esi
test eax, eax
jne 0x456a45
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push eax
push eax
mov eax, dword [0x6f6b18]
push eax
push ecx
call ebx
test eax, eax
je 0x456aac
jmp 0x456aa5
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050cf50
test eax, eax
je 0x456ab6
lea ecx, [ebp - 0x14]
mov edx, dword [0x6f6ed0]
push 0
push ecx
mov cl, byte [0x6f6350]
xor eax, eax
push 0
push 0xf003f
test cl, cl
push 0
push 0
setne al
push 0
add eax, reloc.WS2_32.dll_accept
push edx
push eax
call esi
test eax, eax
jne 0x456ab6
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push eax
push eax
mov eax, dword [0x6f6b18]
push eax
push ecx
call ebx
test eax, eax
je 0x456aac
mov byte [ebp - 0x190], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.006018cc
jmp 0x456af5
mov edx, dword [0x6f6b18]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push 0
push 0
push edx
push eax
call ebx
test eax, eax
je 0x456aeb
mov byte [ebp - 0x190], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x190]
test al, al
je 0x456b27
mov edx, dword [0x6f7748]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea edx, [ebp - 0x190]
push 0x110
push edx
lea ecx, [ebp - 0x28]
call fcn.0044b8b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0050ce20
mov eax, dword [0x6c95a8]
lea esi, [ebp - 0x190]
test eax, eax
je 0x456b81
mov eax, dword [0x6f6b1c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x456b6f
test cl, cl
je 0x456b6b
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x456b6f
add eax, 2
add esi, 2
test cl, cl
jne 0x456b47
xor eax, eax
jmp 0x456b74
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x456cbe
jmp 0x456ca9
mov eax, dword [0x6f6b28]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x456bae
test cl, cl
je 0x456baa
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x456bae
add eax, 2
add esi, 2
test cl, cl
jne 0x456b86
xor eax, eax
jmp 0x456bb3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456ca9
mov eax, dword [0x6f6b24]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x456bee
test cl, cl
je 0x456bea
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x456bee
add eax, 2
add esi, 2
test cl, cl
jne 0x456bc6
xor eax, eax
jmp 0x456bf3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456ca9
mov eax, dword [0x6f6b20]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x456c2e
test cl, cl
je 0x456c2a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x456c2e
add eax, 2
add esi, 2
test cl, cl
jne 0x456c06
xor eax, eax
jmp 0x456c33
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456ca9
mov eax, dword [0x6f6b1c]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x456c6a
test cl, cl
je 0x456c66
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x456c6a
add eax, 2
add esi, 2
test cl, cl
jne 0x456c42
xor eax, eax
jmp 0x456c6f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x456cbe
lea edi, [ebp - 0x80]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x456c9d
mov cl, byte [ebp - 0x7b]
mov al, 0x2d
cmp cl, al
jne 0x456c9d
cmp byte [ebp - 0x75], al
jne 0x456c9d
mov cl, byte [ebp - 0x6f]
cmp cl, al
mov eax, 6
je 0x456ca0
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 7
mov dword [ebp - 0x24], eax
jbe 0x456ccf
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 0x456cbe
mov eax, dword [ebp - 0x20]
push 0
push eax
push 0x1d
jmp 0x456cb1