Function at 0x4560d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a8f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b8
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], 0x635434
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1b4]
xor bl, bl
rep stosd dword es:[edi], eax
mov ecx, dword [0x6d2c30]
lea eax, [ebp - 0x28]
push eax
push 1
push esi
push ecx
push reloc.WS2_32.dll_bind
mov byte [ebp - 4], 1
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x21], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45624e
mov ecx, dword [0x6d2c3c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0xb4]
push edx
mov edx, dword [ebp - 0x28]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x1c], 0x32
call edi
test eax, eax
jne 0x45616f
mov bl, 1
mov edx, dword [0x6d2c40]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x28]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 0x32
call edi
test eax, eax
jne 0x456240
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x21], 1
push ecx
call fcn.00455c90
add esp, 4
test al, al
jne 0x456240
push 0
mov dword [ebp - 0x20], 1
call fcn.005e8a29
push eax
call fcn.005e982d
add esp, 8
call fcn.005e983a
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul qword [0x636630]
call fcn.005e7794
mov edi, 0x3e8
push 0
sub edi, eax
mov eax, dword [ebp + 8]
lea edx, [edi + 0x5208]
mov dword [eax + 0x228], 0x88b8
mov eax, dword [eax + 0x1c]
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0x1fc]
test al, al
jne 0x456240
mov eax, ecx
push 0
push edi
push 0x6f
mov edx, dword [eax + 0x1c]
mov byte [eax + 0x1fc], 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x45627b
mov eax, dword [0x6d2c3c]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0xb4]
push ecx
mov ecx, dword [0x6d2354]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x1c], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x456295
lea edx, [ebp - 0xb4]
push edx
call fcn.00455990
add esp, 4
test al, al
jne 0x456295
mov dword [ebp - 0x20], 1
mov al, byte [ebp - 0x21]
test al, al
jne 0x45636e
mov edx, dword [0x6d2c40]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x70]
push eax
mov eax, dword [0x6d2354]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45636e
lea ecx, [ebp - 0x70]
push ecx
call fcn.00455c90
add esp, 4
test al, al
jne 0x45636e
push 0
mov dword [ebp - 0x20], 1
call fcn.005e8a29
push eax
call fcn.005e982d
add esp, 8
call fcn.005e983a
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul qword [0x636630]
call fcn.005e7794
mov ebx, dword [ebp + 8]
mov edi, 0x3e8
sub edi, eax
push 0
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x228], 0x88b8
lea edx, [edi + 0x4e20]
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, byte [ebx + 0x1fc]
test al, al
jne 0x45636e
mov ecx, dword [ebx + 0x1c]
push 0
push edi
push 0x6f
push ecx
mov byte [ebx + 0x1fc], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6a55b0]
test eax, eax
jne 0x45660c
lea ecx, [ebp - 0x3c]
call fcn.0050e5b0
mov ecx, dword [0x6d2324]
mov eax, dword [0x6d2ef4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
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
mov byte [ebp - 4], 2
call ebx
mov edi, eax
test edi, edi
je 0x456473
cmp edi, 2
je 0x45646f
mov edx, dword [0x6cd768]
mov dword [ebp - 0x18], edx
mov eax, dword [0x6d2324]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4563e1
mov eax, str.MACHINE
mov ecx, dword [0x6d2ef4]
lea edx, [ebp - 0x18]
push ecx
push eax
push 0x6a1c6c
push edx
call fcn.005fc86b
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050e660
test eax, eax
je 0x45642c
mov eax, dword [0x6d2324]
mov edx, dword [0x6d2ef4]
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 ebx
mov edi, eax
test edi, edi
je 0x456463
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0050e720
test eax, eax
je 0x456463
mov ecx, dword [0x6d2324]
mov eax, dword [0x6d2ef4]
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 ebx
mov edi, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00603a3c
test edi, edi
jne 0x4564b7
mov ecx, dword [0x6d2b38]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1b4]
push edx
mov edx, dword [ebp - 0x14]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x1c], 0x100
call ebx
mov esi, eax
mov eax, dword [ebp - 0x14]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4565ce
jmp 0x4564bd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x80]
call fcn.0050e5b0
lea ecx, [ebp - 0x14]
push 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x45658a
mov edx, dword [0x6cd768]
mov dword [ebp - 0x18], edx
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
lea eax, [ebp - 0x18]
push str.CURRENT_USER_s
push eax
mov byte [ebp - 4], 5
call fcn.005fc86b
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x80]
call fcn.0050e660
test eax, eax
je 0x45657c
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push reloc.WS2_32.dll_accept
call edi
test eax, eax
jne 0x45657c
mov edx, dword [0x6d2b38]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x1b4]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 0x100
call ebx
mov ecx, dword [ebp - 0x14]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00603a3c
jmp 0x4565be
mov ecx, dword [0x6d2b38]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1b4]
push edx
mov edx, dword [ebp - 0x14]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x1c], 0x100
call ebx
mov esi, eax
mov eax, dword [ebp - 0x14]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.0050e5f0
test esi, esi
je 0x4565f6
mov edx, dword [0x6d3768]
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 - 0x1b4]
push 0x100
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0044bd30
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0050e5f0
mov ebx, 6
jmp 0x4567cb
lea ecx, [ebp - 0x3c]
call fcn.0050e5b0
mov eax, dword [0x6d2ef0]
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov al, byte [0x6d2344]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor ecx, ecx
mov ebx, 6
test al, al
setne cl
add ecx, reloc.WS2_32.dll_accept
mov byte [ebp - 4], bl
push ecx
call edi
test eax, eax
je 0x45675b
mov edx, dword [0x6cd768]
mov dword [ebp - 0x18], edx
mov al, byte [0x6d2344]
mov byte [ebp - 4], 7
test al, al
mov eax, str.MACHINE
jne 0x456678
mov eax, str.CURRENT_USER
mov ecx, dword [0x6d2ef0]
lea edx, [ebp - 0x18]
push ecx
push eax
push 0x6a1c6c
push edx
call fcn.005fc86b
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050e660
test eax, eax
je 0x4566d4
mov edx, dword [0x6d2ef0]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
mov dl, byte [0x6d2344]
xor eax, eax
test dl, dl
setne al
add eax, reloc.WS2_32.dll_accept
push eax
call edi
test eax, eax
je 0x456717
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050e720
test eax, eax
je 0x45674e
mov edx, dword [0x6d2ef0]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
mov dl, byte [0x6d2344]
xor eax, eax
test dl, dl
setne al
add eax, reloc.WS2_32.dll_accept
push eax
call edi
test eax, eax
jne 0x45674e
mov eax, dword [0x6d2b38]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x1b4]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x14]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00603a3c
jmp 0x456793
mov edx, dword [0x6d2b38]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x1b4]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4567bf
mov edx, dword [0x6d3768]
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 - 0x1b4]
push 0x100
push edx
lea ecx, [ebp - 0x2c]
call fcn.0044bd30
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0050e5f0
mov eax, dword [ebp - 0x20]
test esi, esi
je 0x4569e0
test eax, eax
jne 0x4569e4
mov eax, dword [0x6a55b0]
test eax, eax
je 0x45682f
mov eax, dword [0x6d2b3c]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x456816
test cl, cl
je 0x456812
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x456816
add eax, 2
add esi, 2
test cl, cl
jne 0x4567f2
xor eax, eax
jmp 0x45681b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4569db
mov dword [ebp - 0x20], 4
jmp 0x4569e4
mov al, byte [ebp - 0x70]
test al, al
je 0x45687d
lea esi, [ebp - 0x1b4]
lea eax, [ebp - 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x456863
test cl, cl
je 0x45685f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x456863
add eax, 2
add esi, 2
test cl, cl
jne 0x45683f
xor eax, eax
jmp 0x456868
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x45687d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6d2b48]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4568ac
test cl, cl
je 0x4568a8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4568ac
add eax, 2
add esi, 2
test cl, cl
jne 0x456888
xor eax, eax
jmp 0x4568b1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4568c1
mov dword [ebp - 0x20], 1
jmp 0x4569e4
mov eax, dword [0x6d2b44]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4568f0
test cl, cl
je 0x4568ec
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4568f0
add eax, 2
add esi, 2
test cl, cl
jne 0x4568cc
xor eax, eax
jmp 0x4568f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x456905
mov dword [ebp - 0x20], 2
jmp 0x4569e4
mov eax, dword [0x6d2b40]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x456934
test cl, cl
je 0x456930
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x456934
add eax, 2
add esi, 2
test cl, cl
jne 0x456910
xor eax, eax
jmp 0x456939
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x456949
mov dword [ebp - 0x20], 3
jmp 0x4569e4
mov eax, dword [0x6d2b3c]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x456978
test cl, cl
je 0x456974
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x456978
add eax, 2
add esi, 2
test cl, cl
jne 0x456954
xor eax, eax
jmp 0x45697d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4569db
lea edi, [ebp - 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x456823
lea edi, [ebp - 0x70]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x456823
mov cl, byte [ebp - 0x6b]
mov al, 0x2d
cmp cl, al
jne 0x456823
cmp byte [ebp - 0x65], al
jne 0x456823
cmp byte [ebp - 0x5f], al
jne 0x456823
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], ebx
jmp 0x4569e4
test eax, eax
jmp 0x456a51
jmp 0x4569e2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret