Function at 0x5fa650
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6832fd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x78a6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0062e650
test al, al
jne 0x5fa68e
mov eax, 0xfe35000a
jmp 0x5fa931
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
call fcn.0062e670
test al, al
je 0x5fa6de
mov edi, 7
mov esi, str.Enabled
mov eax, str.SystemCurrentControlSetControlLsaFIPSAlgorithmPolicy
lea ecx, [edi + 0x31]
jmp 0x5fa6f2
mov esi, str.FIPSAlgorithmPolicy
mov edi, 0x13
mov eax, str.SystemCurrentControlSetControlLsa
mov ecx, 0x24
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00447250
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.00447250
xor esi, esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 2
call fcn.00616190
mov bl, al
test bl, bl
je 0x5fa74d
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], esi
push eax
lea eax, [ebp - 0x44]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x5fa776
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5fa783
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x5fa7b5
push 0
push 0
push eax
push str.CRegKey::Open
push 0x45
push 0x9a
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonCryptFipsVerifier.cpp
push str.CFipsVerifier::verifyFIPSRegKey
call fcn.00612830
mov edi, 0xfe35000b
jmp 0x5fa8a1
xor edi, edi
mov dword [ebp - 0x48], 1
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
test bl, bl
je 0x5fa811
cmp dword [ebp - 0x14], 8
push 4
cmovae eax, dword [ebp - 0x28]
push ecx
push 4
push edi
push eax
push esi
mov dword [ebp - 0x44], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x5fa864
push edi
push edi
push eax
push str.CRegKey::SetDWORDValue
push 0x45
push 0xac
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonCryptFipsVerifier.cpp
push str.CFipsVerifier::verifyFIPSRegKey
call fcn.00612830
add esp, 0x20
mov edi, 0xfe35000b
jmp 0x5fa864
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], edi
push ecx
push 0
push eax
push esi
mov dword [ebp - 0x44], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5fa845
cmp dword [ebp - 0x4c], 4
je 0x5fa858
mov eax, 0xd
push 0
push 0
push eax
push str.CRegKey::QueryDWORDValue
push 0x45
push 0xb8
jmp 0x5fa7f8
cmp dword [ebp - 0x48], 1
mov eax, 0xfe35000c
cmovne edi, eax
xor eax, eax
test esi, esi
je 0x5fa876
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0
test eax, eax
je 0x5fa8a4
push 0
push 0
push eax
push str.CRegKey::Close
push 0x57
push 0xcb
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonCryptFipsVerifier.cpp
push str.CFipsVerifier::verifyFIPSRegKey
call fcn.00612830
add esp, 0x20
test esi, esi
je 0x5fa8af
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x5fa8e5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5fa8db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5fa94d
push edx
push ecx
call fcn.0058ab22
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x5fa92f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5fa925
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5fa94d
push edx
push ecx
call fcn.0058ab22
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058a893
mov esp, ebp
pop ebp
ret
call fcn.005968cf
int3