Function at 0x412330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f55a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
mov ecx, 0x53639d
call fcn.004c6d76
push 0
lea ecx, [ebp - 0x20]
call fcn.004080a0
mov dword [ebp - 4], 0
push str.OpenWithProgids
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00410b50
add esp, 0xc
mov byte [ebp - 4], 1
push 0x20019
lea ecx, [ebp - 0x5c]
call fcn.00405c80
push eax
push connect
lea ecx, [ebp - 0x20]
call fcn.0040a750
test eax, eax
je 0x4123c1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004053d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408280
jmp 0x412578
lea ecx, [ebp - 0x44]
call fcn.00411490
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0x200
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41244c
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x74]
call fcn.004052e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00413540
movzx ecx, al
test ecx, ecx
jne 0x41242e
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x44]
call fcn.00413630
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x200
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.004053d0
jmp 0x4123db
lea ecx, [ebp - 0x20]
call fcn.004091a0
push 0xf003f
push 0x4fc858
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x20]
call fcn.0040a750
test eax, eax
je 0x41249b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00411550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004053d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408280
jmp 0x412578
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.00413420
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
call fcn.00413440
mov dword [ebp - 0x2c], eax
jmp 0x4124c2
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x412541
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
push edx
push 0x4fc854
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00410b50
add esp, 0xc
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00410b10
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.004053d0
push 0
lea ecx, [ebp - 0x8c]
call fcn.00405c80
push eax
lea ecx, [ebp - 0x20]
call fcn.00412600
lea ecx, [ebp - 0x8c]
call fcn.004053d0
jmp 0x4124b9
lea ecx, [ebp - 0x20]
call fcn.00411970
lea ecx, [ebp - 0x20]
call fcn.004091a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00411550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004053d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret