Function at 0x4ff2d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa8]
lea esi, [esp + 0x18]
call fcn.004fe480
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov ecx, 0x5c
mov word [eax], cx
mov ecx, edi
call fcn.004b9600
mov ebx, 0x6ae0d4
cmp eax, 0xffffffff
jne 0x4ff31b
mov dword [esp + 0x14], ebx
mov edx, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4ff329
inc eax
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004b9650
lea edx, [esp + 0x30]
push edx
xor edi, edi
push 0x20019
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edi
call fcn.004b9cd0
push eax
mov eax, dword [esp + 0xb4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ff360
mov esi, dword [esp + 0x30]
mov ebp, esi
cmp esi, edi
jne 0x4ff3a3
mov ecx, dword [esp + 0x14]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ff37a
mov eax, dword [esp + 0x14]
push eax
call fcn.004b7f30
add esp, 4
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ff394
mov eax, dword [esp + 0x18]
push eax
call fcn.004b7f30
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0xc
lea ecx, [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x44]
push edx
push edi
lea ecx, [esp + 0x28]
call fcn.004b9cd0
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
test eax, eax
je 0x4ff410
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ff3e7
mov edx, dword [esp + 0x14]
push edx
call fcn.004b7f30
add esp, 4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ff394
mov edx, dword [esp + 0x18]
push edx
call fcn.004b7f30
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0xc
mov eax, dword [esp + 0x20]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.004b5880
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
cmp edx, 1
jne 0x4ff436
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4ff447
mov edx, dword [eax + 8]
push edx
lea ecx, [esp + 0x14]
call fcn.004b5950
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push edi
lea ecx, [esp + 0x28]
call fcn.004b9cd0
push eax
push ebp
call esi
test eax, eax
je 0x4ff4cb
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4ff484
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004be5e0
add esp, 4
mov edx, dword [esp + 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4ff49e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b7f30
add esp, 4
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4ff394
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b7f30
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0xc
mov eax, dword [esp + 0x3c]
cmp eax, 0xb
ja case.0x4ff4df.6
movzx edx, byte [eax + 0x4ff7e0]
jmp dword [edx*4 + 0x4ff7c8]
mov dword [esp + 0x24], ebx
mov eax, 1
lock xadd dword [ebx], eax
cmp dword [esp + 0x20], edi
je 0x4ff523
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004bae70
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
call fcn.004b7f40
lea ecx, [esp + 0x34]
call fcn.004010b0
mov esi, dword [esp + 0xac]
cmp esi, edi
je 0x4ff551
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.004c40d0
add esp, 8
push eax
mov ecx, esi
call fcn.004c8ef0
lea ecx, [esp + 0x70]
call fcn.004c7fc0
lea ecx, [esp + 0x24]
call fcn.004010b0
jmp 0x4ff762
mov dword [esp + 0x28], 0x6ae094
mov edx, 0x6ae094
mov eax, 1
lock xadd dword [edx], eax
cmp dword [esp + 0x20], edi
je 0x4ff5fa
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004bae70
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
add esp, 0xc
lea esi, [eax + 1]
cmp eax, edi
je 0x4ff5f1
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401d91
mov eax, dword [esp + 0x1c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ff5c8
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b7f30
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
push 0xffffffffffffffff
lea edx, [ecx + esi*2]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004bae70
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
add esp, 0xc
lea esi, [esi + eax + 1]
cmp eax, edi
jne 0x4ff5a0
lea ecx, [esp + 0x1c]
call fcn.004010b0
mov esi, dword [esp + 0xac]
cmp esi, edi
je 0x4ff62e
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.004c48b0
add esp, 8
push eax
mov ecx, esi
call fcn.004c8ef0
lea ecx, [esp + 0x80]
call fcn.004c7fc0
lea ecx, [esp + 0x28]
call fcn.00401113
jmp 0x4ff762
mov dword [esp + 0x2c], ebx
mov ecx, 1
lock xadd dword [ebx], ecx
cmp dword [esp + 0x20], edi
je 0x4ff680
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004bae70
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.004b7f40
lea ecx, [esp + 0x38]
call fcn.004010b0
mov esi, dword [esp + 0xac]
cmp esi, edi
je 0x4ff6b4
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.004c40d0
add esp, 8
push eax
mov ecx, esi
call fcn.004c8ef0
lea ecx, [esp + 0x90]
call fcn.004c7fc0
lea ecx, [esp + 0x2c]
call fcn.004010b0
jmp 0x4ff762
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0xac]
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
cmp esi, edi
je 0x4ff762
push eax
lea ecx, [esp + 0x54]
call fcn.004c8000
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.004c8ef0
lea ecx, [esp + 0x50]
jmp 0x4ff75d
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0xac]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp esi, edi
je 0x4ff762
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.004c8040
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.004c8ef0
lea ecx, [esp + 0x60]
jmp 0x4ff75d
push eax
push str.QSettings:_Unknown_data__d_type_in_Windows_registry
call fcn.004b1640
mov ecx, dword [esp + 0xb4]
add esp, 8
cmp ecx, edi
je 0x4ff762
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x4c], closesocket
mov dword [esp + 0x44], edi
call fcn.004c8ef0
lea ecx, [esp + 0x40]
call fcn.004c7fc0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ff783
mov edx, dword [esp + 0x10]
push edx
call fcn.004be5e0
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ff79d
mov edx, dword [esp + 0x14]
push edx
call fcn.004b7f30
add esp, 4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ff7b7
mov edx, dword [esp + 0x18]
push edx
call fcn.004b7f30
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x90
ret 0xc