Function at 0x442070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6bd3
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], 0x5d6444
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1b4]
xor bl, bl
rep stosd dword es:[edi], eax
mov ecx, dword [0x682bcc]
lea eax, [ebp - 0x28]
push eax
push 1
push esi
push ecx
push reloc.WSOCK32.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 0x4421ee
mov ecx, dword [0x682bd8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xb4]
push edx
mov edx, dword [ebp - 0x28]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], 0x32
call edi
test eax, eax
jne 0x44210f
mov bl, 1
mov edx, dword [0x682bdc]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x28]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x18], 0x32
call edi
test eax, eax
jne 0x4421e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x21], 1
push ecx
call fcn.00441c20
add esp, 4
test al, al
jne 0x4421e0
push 0
mov dword [ebp - 0x20], 1
call fcn.00585f73
push eax
call fcn.00586dbd
add esp, 8
call fcn.00586dca
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x5d74d0]
call fcn.00584d08
mov edi, 0x3e8
push 0
sub edi, eax
mov eax, dword [ebp + 8]
lea edx, [edi + 0x5208]
mov dword [eax + 0x208], 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 + 0x1f4]
test al, al
jne 0x4421e0
mov eax, ecx
push 0
push edi
push 0x6f
mov edx, dword [eax + 0x1c]
mov byte [eax + 0x1f4], 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 0x44221b
mov eax, dword [0x682bd8]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0xb4]
push ecx
mov ecx, dword [0x6825d4]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x442235
lea edx, [ebp - 0xb4]
push edx
call fcn.00441910
add esp, 4
test al, al
jne 0x442235
mov dword [ebp - 0x20], 1
mov al, byte [ebp - 0x21]
test al, al
jne 0x44230e
mov edx, dword [0x682bdc]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x70]
push eax
mov eax, dword [0x6825d4]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x18], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44230e
lea ecx, [ebp - 0x70]
push ecx
call fcn.00441c20
add esp, 4
test al, al
jne 0x44230e
push 0
mov dword [ebp - 0x20], 1
call fcn.00585f73
push eax
call fcn.00586dbd
add esp, 8
call fcn.00586dca
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x5d74d0]
call fcn.00584d08
mov ebx, dword [ebp + 8]
mov edi, 0x3e8
sub edi, eax
push 0
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x208], 0x88b8
lea edx, [edi + 0x4e20]
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, byte [ebx + 0x1f4]
test al, al
jne 0x44230e
mov ecx, dword [ebx + 0x1c]
push 0
push edi
push 0x6f
push ecx
mov byte [ebx + 0x1f4], 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 [0x65a724]
test eax, eax
jne 0x44256f
lea ecx, [ebp - 0x3c]
call fcn.004da940
mov ecx, dword [0x6825b8]
mov eax, dword [0x682e94]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x1c]
neg ecx
push edx
push 1
sbb ecx, ecx
push 0
add ecx, reloc.WSOCK32.dll_bind
push eax
push ecx
mov byte [ebp - 4], 2
call ebx
mov edi, eax
test edi, edi
je 0x4423d8
cmp edi, 2
je 0x4423d4
mov edx, dword [0x67da2c]
mov dword [ebp - 0x14], edx
mov eax, dword [0x6825b8]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x44237d
mov eax, str.MACHINE
mov ecx, dword [0x682e94]
lea edx, [ebp - 0x14]
push ecx
push eax
push 0x6579bc
push edx
call fcn.00599a28
mov eax, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push eax
call fcn.004da9f0
test eax, eax
je 0x4423c8
mov eax, dword [0x6825b8]
mov edx, dword [0x682e94]
lea ecx, [ebp - 0x1c]
neg eax
push ecx
push 1
sbb eax, eax
push 0
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
call ebx
mov edi, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005a0c5d
test edi, edi
jne 0x44241b
mov eax, dword [0x682ad4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1b4]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], 0x100
call ebx
mov edx, dword [ebp - 0x1c]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x442531
jmp 0x442421
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x80]
call fcn.004da940
lea eax, [ebp - 0x1c]
push 0
mov edi, 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.WSOCK32.dll_accept
call edi
test eax, eax
je 0x4424ee
mov ecx, dword [0x67da2c]
mov dword [ebp - 0x14], ecx
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
lea edx, [ebp - 0x14]
push str.CURRENT_USER_s
push edx
mov byte [ebp - 4], 5
call fcn.00599a28
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x80]
push eax
call fcn.004da9f0
test eax, eax
je 0x4424e0
lea ecx, [ebp - 0x1c]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push reloc.WSOCK32.dll_accept
call edi
test eax, eax
jne 0x4424e0
mov ecx, dword [0x682ad4]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1b4]
push edx
mov edx, dword [ebp - 0x1c]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], 0x100
call ebx
mov esi, eax
mov eax, dword [ebp - 0x1c]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.005a0c5d
jmp 0x442521
mov eax, dword [0x682ad4]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1b4]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], 0x100
call ebx
mov edx, dword [ebp - 0x1c]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.004da980
test esi, esi
je 0x442559
mov edx, dword [0x683754]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x1b4]
push ecx
push edx
push 0x100
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043ac30
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004da980
mov ebx, 6
jmp 0x4426ec
lea ecx, [ebp - 0x3c]
call fcn.004da940
lea ecx, [ebp - 0x1c]
mov edx, dword [0x682e90]
push 0
push ecx
mov cl, byte [0x6825c4]
mov edi, 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.WSOCK32.dll_accept
mov ebx, 6
push edx
push eax
mov byte [ebp - 4], bl
call edi
test eax, eax
je 0x44267d
mov ecx, dword [0x67da2c]
mov dword [ebp - 0x14], ecx
mov al, byte [0x6825c4]
mov byte [ebp - 4], 7
test al, al
mov eax, str.MACHINE
jne 0x4425dc
mov eax, str.CURRENT_USER
mov edx, dword [0x682e90]
push edx
push eax
lea eax, [ebp - 0x14]
push 0x6579bc
push eax
call fcn.00599a28
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004da9f0
test eax, eax
je 0x442670
lea edx, [ebp - 0x1c]
mov eax, dword [0x682e90]
push 0
push edx
mov dl, byte [0x6825c4]
xor ecx, ecx
push 0
push 0xf003f
test dl, dl
push 0
push 0
setne cl
push 0
add ecx, reloc.WSOCK32.dll_accept
push eax
push ecx
call edi
test eax, eax
jne 0x442670
mov ecx, dword [0x682ad4]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1b4]
push edx
mov edx, dword [ebp - 0x1c]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x18], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp - 0x1c]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005a0c5d
jmp 0x4426b4
mov eax, dword [0x682ad4]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x1b4]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x18], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x1c]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4426e0
mov edx, dword [0x683754]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x1b4]
push ecx
push edx
push 0x100
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043ac30
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004da980
mov eax, dword [ebp - 0x20]
test esi, esi
je 0x442901
test eax, eax
jne 0x442905
mov eax, dword [0x65a724]
test eax, eax
je 0x442750
mov eax, dword [0x682ad8]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x442737
test cl, cl
je 0x442733
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x442737
add eax, 2
add esi, 2
test cl, cl
jne 0x442713
xor eax, eax
jmp 0x44273c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4428fc
mov dword [ebp - 0x20], 4
jmp 0x442905
mov al, byte [ebp - 0x70]
test al, al
je 0x44279e
lea esi, [ebp - 0x1b4]
lea eax, [ebp - 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x442784
test cl, cl
je 0x442780
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x442784
add eax, 2
add esi, 2
test cl, cl
jne 0x442760
xor eax, eax
jmp 0x442789
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44279e
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 [0x682ae4]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4427cd
test cl, cl
je 0x4427c9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4427cd
add eax, 2
add esi, 2
test cl, cl
jne 0x4427a9
xor eax, eax
jmp 0x4427d2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4427e2
mov dword [ebp - 0x20], 1
jmp 0x442905
mov eax, dword [0x682ae0]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x442811
test cl, cl
je 0x44280d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x442811
add eax, 2
add esi, 2
test cl, cl
jne 0x4427ed
xor eax, eax
jmp 0x442816
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442826
mov dword [ebp - 0x20], 2
jmp 0x442905
mov eax, dword [0x682adc]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x442855
test cl, cl
je 0x442851
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x442855
add eax, 2
add esi, 2
test cl, cl
jne 0x442831
xor eax, eax
jmp 0x44285a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44286a
mov dword [ebp - 0x20], 3
jmp 0x442905
mov eax, dword [0x682ad8]
lea esi, [ebp - 0x1b4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x442899
test cl, cl
je 0x442895
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x442899
add eax, 2
add esi, 2
test cl, cl
jne 0x442875
xor eax, eax
jmp 0x44289e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4428fc
lea edi, [ebp - 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x442744
lea edi, [ebp - 0x70]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x442744
mov cl, byte [ebp - 0x6b]
mov al, 0x2d
cmp cl, al
jne 0x442744
cmp byte [ebp - 0x65], al
jne 0x442744
cmp byte [ebp - 0x5f], al
jne 0x442744
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 0x442905
test eax, eax
jmp 0x442972
jmp 0x442903
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