Function at 0x455f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6117c8
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], 0x6348d4
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.005df989
push eax
call fcn.005e078d
add esp, 8
call fcn.005e079a
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fmul qword [0x635ad0]
call fcn.005de5f4
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 [0x6ecfa4]
push eax
push 1
push 0
push ecx
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x456064
mov ecx, dword [0x6ecfb4]
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 0x456058
mov edx, dword [0x6ecfb4]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x80]
push eax
mov eax, dword [0x6ec7a0]
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 0x45606a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [0x6c02f8]
test eax, eax
jne 0x4562fb
lea ecx, [ebp - 0x3c]
call fcn.0050ad00
mov ecx, dword [0x6ec774]
mov eax, dword [0x6ed268]
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 0x456169
cmp esi, 2
je 0x456165
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x18], edx
mov eax, dword [0x6ec774]
mov byte [ebp - 4], 3
test eax, eax
mov eax, 0x6bf124
jne 0x4560d7
mov eax, 0x6bf11c
mov ecx, dword [0x6ed268]
lea edx, [ebp - 0x18]
push ecx
push eax
push 0x6bcc6c
push edx
call fcn.005f368b
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050adb0
test eax, eax
je 0x456122
mov eax, dword [0x6ec774]
mov edx, dword [0x6ed268]
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 0x456159
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0050ae70
test eax, eax
je 0x456159
mov ecx, dword [0x6ec774]
mov eax, dword [0x6ed268]
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.005fa859
test esi, esi
jne 0x4561a1
mov ecx, dword [0x6eceac]
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], pe_nt_image_headers32
call ebx
test eax, eax
je 0x456197
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 0x4562c7
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], pe_nt_image_headers32
call fcn.0050ad00
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 0x6bf0d4
push reloc.WS2_32.dll_accept
call esi
test eax, eax
je 0x456280
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x18], edx
push 0x6bf0d4
lea eax, [ebp - 0x18]
push 0x6bf0c4
push eax
mov byte [ebp - 4], 5
call fcn.005f368b
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0050adb0
test eax, eax
je 0x456272
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x6bf0d4
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x456272
mov edx, dword [0x6eceac]
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 0x456268
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.005fa859
jmp 0x4562b1
mov ecx, dword [0x6eceac]
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 0x4562a7
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.0050ad40
mov al, byte [ebp - 0x190]
test al, al
je 0x4562ef
mov edx, dword [0x6edadc]
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 pe_nt_image_headers32
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044b2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
jmp 0x4564ce
lea ecx, [ebp - 0x3c]
call fcn.0050ad00
mov eax, dword [0x6ed264]
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov al, byte [0x6ec790]
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], pe_nt_image_headers32
push ecx
call esi
test eax, eax
je 0x456464
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x18], edx
mov al, byte [0x6ec790]
mov byte [ebp - 4], 7
test al, al
mov eax, 0x6bf11c
jne 0x45636a
mov eax, 0x6bf124
mov ecx, dword [0x6ed264]
lea edx, [ebp - 0x18]
push ecx
push eax
push 0x6bcc6c
push edx
call fcn.005f368b
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050adb0
test eax, eax
je 0x4563e5
lea ecx, [ebp - 0x14]
mov edx, dword [0x6ed264]
push 0
push ecx
mov cl, byte [0x6ec790]
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 0x4563e5
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push eax
push eax
mov eax, dword [0x6eceac]
push eax
push ecx
call ebx
test eax, eax
je 0x45644c
jmp 0x456445
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0050ae70
test eax, eax
je 0x456456
lea ecx, [ebp - 0x14]
mov edx, dword [0x6ed264]
push 0
push ecx
mov cl, byte [0x6ec790]
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 0x456456
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push eax
push eax
mov eax, dword [0x6eceac]
push eax
push ecx
call ebx
test eax, eax
je 0x45644c
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.005fa859
jmp 0x456495
mov edx, dword [0x6eceac]
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 0x45648b
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 0x4564c7
mov edx, dword [0x6edadc]
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 pe_nt_image_headers32
push edx
lea ecx, [ebp - 0x28]
call fcn.0044b2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0050ad40
mov eax, dword [0x6c02f8]
lea esi, [ebp - 0x190]
test eax, eax
je 0x456521
mov eax, dword [0x6eceb0]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x45650f
test cl, cl
je 0x45650b
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x45650f
add eax, 2
add esi, 2
test cl, cl
jne 0x4564e7
xor eax, eax
jmp 0x456514
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x45665e
jmp 0x456649
mov eax, dword [0x6ecebc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x45654e
test cl, cl
je 0x45654a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x45654e
add eax, 2
add esi, 2
test cl, cl
jne 0x456526
xor eax, eax
jmp 0x456553
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456649
mov eax, dword [0x6eceb8]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x45658e
test cl, cl
je 0x45658a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x45658e
add eax, 2
add esi, 2
test cl, cl
jne 0x456566
xor eax, eax
jmp 0x456593
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456649
mov eax, dword [0x6eceb4]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4565ce
test cl, cl
je 0x4565ca
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4565ce
add eax, 2
add esi, 2
test cl, cl
jne 0x4565a6
xor eax, eax
jmp 0x4565d3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456649
mov eax, dword [0x6eceb0]
lea esi, [ebp - 0x190]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x45660a
test cl, cl
je 0x456606
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x45660a
add eax, 2
add esi, 2
test cl, cl
jne 0x4565e2
xor eax, eax
jmp 0x45660f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x45665e
lea edi, [ebp - 0x80]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x45663d
mov cl, byte [ebp - 0x7b]
mov al, 0x2d
cmp cl, al
jne 0x45663d
cmp byte [ebp - 0x75], al
jne 0x45663d
mov cl, byte [ebp - 0x6f]
cmp cl, al
mov eax, 6
je 0x456640
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 7
mov dword [ebp - 0x24], eax
jbe 0x45666f
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 0x45665e
mov eax, dword [ebp - 0x20]
push 0
push eax
push 0x1d
jmp 0x456651