Function at 0x4227d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63aa15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1f4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403370
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x10
call fcn.00613293
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jne 0x42286e
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00618d7e
fld qword [ebp - 0x178]
jmp 0x422dc7
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x10
call fcn.004233e0
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00618eb7
push 0xa000
call fcn.0061431c
add esp, 4
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x17c], ecx
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0xa000
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0x73ae64
push reloc.OLEAUT32.dll_SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x422974
cmp dword [ebp - 0x28], 0xea
jne 0x422944
mov eax, dword [ebp - 0x18]
add eax, 0xa000
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x180]
push edx
call fcn.00614345
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call fcn.0061431c
add esp, 4
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x1c], edx
jmp 0x42296f
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0x3ff00000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00618d7e
fld qword [ebp - 0x18c]
jmp 0x422dc7
jmp 0x4228c4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00422733
add esp, 4
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], 0
jmp 0x4229a7
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x1c]
jge 0x422d67
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xc], 0x1fe
jne 0x422d47
mov dword [ebp - 0x144], 0xffffffff
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00422752
add esp, 4
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], 0
jmp 0x422a09
mov eax, dword [ebp - 0x13c]
add eax, 1
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x13c]
cmp edx, dword [ecx + 0x20]
jge 0x422a5d
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 0x68]
jne 0x422a3a
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x138]
push edx
call fcn.00422762
add esp, 4
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x138], eax
jmp 0x4229fa
cmp dword [ebp - 0x144], 0xffffffff
jne 0x422aa9
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x190]
push edx
call fcn.00614345
add esp, 4
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0x3ff00000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00618d7e
fld qword [ebp - 0x198]
jmp 0x422dc7
mov eax, dword [ebp - 0x20]
push eax
call fcn.00422780
add esp, 4
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x13c], 0
jmp 0x422ae2
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x13c]
cmp ecx, dword [eax + 0x28]
jge 0x422d47
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.00422771
add esp, 4
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x158], edx
push 0xff
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.004227b4
add esp, 0xc
mov dword [ebp - 0x1e8], eax
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x154], edx
lea ecx, [ebp - 0x15c]
call fcn.00403370
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x154]
push eax
push 0x73ae68
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00610e57
add esp, 0xc
mov edx, dword [ebp - 0x13c]
push edx
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x48
call fcn.00423420
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
je 0x422be7
mov ecx, dword [ebp - 0x158]
add ecx, dword [ebp - 0x144]
mov edx, dword [ecx]
mov dword [ebp - 0x140], edx
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x160]
push ecx
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x48
call fcn.00423400
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004076b0
mov byte [ebp - 0x1f4], al
mov ecx, dword [ebp - 0x1f4]
and ecx, 0xff
test ecx, ecx
je 0x422d12
mov edx, dword [ebp - 0x158]
add edx, dword [ebp - 0x144]
mov eax, dword [edx]
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x1f8], 0
fild qword [ebp - 0x1fc]
fstp qword [ebp - 0x168]
mov edx, dword [ebp - 0x1bc]
mov eax, dword [edx + 0x64]
cmp eax, dword [ebp + 8]
je 0x422c8f
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x168]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x164]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x64], edx
jmp 0x422cbc
mov eax, dword [ebp - 0x1bc]
fld qword [ebp - 0x168]
fsub qword [eax + 8]
fstp qword [ebp - 0x170]
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x168]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x164]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x19c]
push edx
call fcn.00614345
add esp, 4
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.00618d7e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00618d7e
fld qword [ebp - 0x1a4]
jmp 0x422dc7
mov edx, dword [ebp - 0x148]
push edx
call fcn.00422790
add esp, 4
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.00618d7e
jmp 0x422ad3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00422743
add esp, 4
mov dword [ebp - 0x204], eax
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x20], edx
jmp 0x42299e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
push ecx
call fcn.00614345
add esp, 4
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00618d7e
fld qword [ebp - 0x1b0]
jmp 0x422dc7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4