Function at 0x456ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0x635434
mov ecx, 0x44
xor eax, eax
lea edi, [ebp - 0x18c]
push ebx
rep stosd dword es:[edi], eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x7c], bl
call fcn.005e8a29
push eax
call fcn.005e982d
add esp, 8
call fcn.005e983a
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fmul qword [0x636630]
call fcn.005e7794
mov ecx, 0x3e8
sub ecx, eax
mov eax, dword [0x6a55b0]
cmp eax, ebx
mov dword [ebp - 0x20], ecx
jne 0x456dc7
lea ecx, [ebp - 0x38]
call fcn.0050e5b0
mov edx, dword [0x6d2324]
mov ecx, dword [0x6d2ef4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x14]
neg edx
push eax
push 1
sbb edx, edx
push ebx
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
mov byte [ebp - 4], 2
call edi
mov esi, eax
cmp esi, ebx
je 0x456c3e
cmp esi, 2
je 0x456c3a
mov eax, dword [0x6cd768]
mov dword [ebp - 0x18], eax
mov eax, dword [0x6d2324]
mov byte [ebp - 4], 3
cmp eax, ebx
mov eax, str.CURRENT_USER
jne 0x456bae
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 - 0x38]
push eax
call fcn.0050e660
cmp eax, ebx
je 0x456bf8
mov eax, dword [0x6d2324]
mov edx, dword [0x6d2ef4]
lea ecx, [ebp - 0x14]
neg eax
push ecx
push 1
sbb eax, eax
push ebx
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x456c2e
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0050e720
cmp eax, ebx
je 0x456c2e
mov ecx, dword [0x6d2324]
mov eax, dword [0x6d2ef4]
lea edx, [ebp - 0x14]
neg ecx
push edx
push 1
sbb ecx, ecx
push ebx
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.00603a3c
cmp esi, ebx
jne 0x456c7b
mov ecx, dword [0x6d2b38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18c]
push edx
mov edx, dword [ebp - 0x14]
push eax
push ebx
push ebx
push ecx
push edx
mov dword [ebp - 0x1c], pe_nt_image_headers32
call edi
cmp eax, ebx
je 0x456c6f
mov byte [ebp - 0x18c], bl
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x456c81
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp - 0x18c], bl
jne 0x456d93
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], pe_nt_image_headers32
call fcn.0050e5b0
lea ecx, [ebp - 0x14]
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push reloc.WS2_32.dll_accept
call esi
cmp eax, ebx
je 0x456d51
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 - 0x48]
call fcn.0050e660
cmp eax, ebx
je 0x456d43
lea edx, [ebp - 0x14]
push ebx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareClassesCLSIDE6871B76_C3C8_44DD_B947_ABFFE144860D
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x456d43
mov edx, dword [0x6d2b38]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push ebx
push ebx
push edx
push eax
call edi
cmp eax, ebx
je 0x456d39
mov byte [ebp - 0x18c], bl
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.00603a3c
jmp 0x456d7f
mov ecx, dword [0x6d2b38]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18c]
push edx
mov edx, dword [ebp - 0x14]
push eax
push ebx
push ebx
push ecx
push edx
call edi
cmp eax, ebx
je 0x456d75
mov byte [ebp - 0x18c], bl
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0050e5f0
cmp byte [ebp - 0x18c], bl
je 0x456dbb
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 - 0x18c]
push pe_nt_image_headers32
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044bd30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
jmp 0x456f91
lea ecx, [ebp - 0x38]
call fcn.0050e5b0
mov eax, dword [0x6d2ef0]
lea edx, [ebp - 0x14]
push ebx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
mov al, byte [0x6d2344]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor ecx, ecx
cmp al, bl
setne cl
add ecx, reloc.WS2_32.dll_accept
mov byte [ebp - 4], 6
push ecx
mov dword [ebp - 0x1c], pe_nt_image_headers32
call esi
cmp eax, ebx
je 0x456f28
mov edx, dword [0x6cd768]
mov dword [ebp - 0x18], edx
mov al, byte [0x6d2344]
mov byte [ebp - 4], 7
cmp al, bl
mov eax, str.MACHINE
jne 0x456e31
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 - 0x38]
push eax
call fcn.0050e660
cmp eax, ebx
je 0x456eab
lea ecx, [ebp - 0x14]
mov edx, dword [0x6d2ef0]
push ebx
push ecx
mov cl, byte [0x6d2344]
xor eax, eax
push ebx
cmp cl, bl
push 0xf003f
push ebx
setne al
push ebx
push ebx
add eax, reloc.WS2_32.dll_accept
push edx
push eax
call esi
test eax, eax
jne 0x456eab
mov eax, dword [0x6d2b38]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18c]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x456f10
jmp 0x456f0a
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
push eax
call fcn.0050e720
cmp eax, ebx
je 0x456f1a
lea ecx, [ebp - 0x14]
mov edx, dword [0x6d2ef0]
push ebx
push ecx
mov cl, byte [0x6d2344]
xor eax, eax
push ebx
cmp cl, bl
push 0xf003f
push ebx
setne al
push ebx
push ebx
add eax, reloc.WS2_32.dll_accept
push edx
push eax
call esi
test eax, eax
jne 0x456f1a
mov eax, dword [0x6d2b38]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18c]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x456f10
mov byte [ebp - 0x18c], bl
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.00603a3c
jmp 0x456f5a
mov edx, dword [0x6d2b38]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push ebx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x456f50
mov byte [ebp - 0x18c], bl
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x18c], bl
je 0x456f8a
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 - 0x18c]
push pe_nt_image_headers32
push edx
lea ecx, [ebp - 0x28]
call fcn.0044bd30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0050e5f0
mov eax, dword [0x6a55b0]
lea esi, [ebp - 0x18c]
cmp eax, ebx
je 0x456fe0
mov eax, dword [0x6d2b3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x456fce
cmp cl, bl
je 0x456fca
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x456fce
add eax, 2
add esi, 2
cmp cl, bl
jne 0x456faa
xor eax, eax
jmp 0x456fd3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4571a9
jmp 0x457195
mov eax, dword [0x6d2b48]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x457009
cmp cl, bl
je 0x457005
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x457009
add eax, 2
add esi, 2
cmp cl, bl
jne 0x456fe5
xor eax, eax
jmp 0x45700e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x457195
mov eax, dword [0x6d2b44]
lea esi, [ebp - 0x18c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x457045
cmp cl, bl
je 0x457041
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x457045
add eax, 2
add esi, 2
cmp cl, bl
jne 0x457021
xor eax, eax
jmp 0x45704a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x457195
mov eax, dword [0x6d2b40]
lea esi, [ebp - 0x18c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x457081
cmp cl, bl
je 0x45707d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x457081
add eax, 2
add esi, 2
cmp cl, bl
jne 0x45705d
xor eax, eax
jmp 0x457086
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x457195
mov eax, dword [0x6d2b3c]
lea esi, [ebp - 0x18c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4570bd
cmp cl, bl
je 0x4570b9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4570bd
add eax, 2
add esi, 2
cmp cl, bl
jne 0x457099
xor eax, eax
jmp 0x4570c2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4571a9
mov ecx, dword [0x6d2c30]
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x457138
mov ecx, dword [0x6d2c40]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x7c]
push edx
mov edx, dword [ebp - 0x18]
push eax
push ebx
push ebx
mov esi, 0x32
push ecx
push edx
mov dword [ebp - 0x1c], esi
call edi
test eax, eax
je 0x45712c
mov edx, dword [0x6d2c40]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x7c]
push eax
mov eax, dword [0x6d2354]
push ecx
push ebx
push ebx
push edx
push eax
mov dword [ebp - 0x1c], esi
call edi
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45715d
mov ecx, dword [0x6d2c40]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x7c]
push edx
mov edx, dword [0x6d2354]
push eax
push ebx
push ebx
push ecx
push edx
mov dword [ebp - 0x1c], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [ebp - 0x7c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x457189
mov cl, byte [ebp - 0x77]
mov al, 0x2d
cmp cl, al
jne 0x457189
cmp byte [ebp - 0x71], al
jne 0x457189
mov cl, byte [ebp - 0x6b]
cmp cl, al
mov eax, 6
je 0x45718c
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 7
mov dword [ebp - 0x24], eax
jbe 0x4571ba
mov eax, dword [ebp - 0x20]
push ebx
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 0x4571a9
mov eax, dword [ebp - 0x20]
push ebx
push eax
push 0x1d
jmp 0x45719c