Function at 0x5a1b50
Capabilities:
Query or enumerate registry value
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x7bcdab
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x248], eax
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.005ce320
test al, al
je 0x5a1e47
test esi, esi
je 0x5a1ba5
lea eax, [esi + 0x600]
jmp 0x5a1ba7
xor eax, eax
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
mov ecx, eax
call fcn.00598940
mov ecx, dword [0x7fbabc]
mov edx, dword [0x7fbac0]
lea eax, [esi + 0x608]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x7fbac4]
mov dword [eax + 4], edx
mov edx, dword [0x7fbac8]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.005ccb40
lea eax, [esp + 0x10]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0__SMT_
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5a1d33
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x5a1d33
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x5a]
push edx
mov word [esp + 0x5c], cx
call fcn.007202b0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0
push 0
push str.svcVersion
push ebp
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5a1d28
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x38]
call fcn.00403bf0
push 3
push 0
push 0x82f564
lea ecx, [esp + 0x40]
call fcn.0040d220
test eax, eax
jne 0x5a1c9a
mov edi, str.Mozilla_5.0__Windows_NT_10.0_Trident_7.0_rv:11.0__like_Gecko
jmp 0x5a1d1f
push 0
push 0x82f56c
lea ecx, [esp + 0x3c]
call fcn.0040cd70
test eax, eax
jne 0x5a1cb5
mov edi, str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_10.0_Trident_7.0_
jmp 0x5a1d1f
push 0
push 0x82f574
lea ecx, [esp + 0x3c]
call fcn.0040cd70
test eax, eax
jne 0x5a1cd0
mov edi, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_7.1__Trident_5.0_
jmp 0x5a1d1f
push 0
push 0x82f57c
lea ecx, [esp + 0x3c]
call fcn.0040cd70
test eax, eax
jne 0x5a1ceb
mov edi, str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__Trident_4.0_
jmp 0x5a1d1f
push 0
push 0x7fc4e8
lea ecx, [esp + 0x3c]
call fcn.0040cd70
test eax, eax
jne 0x5a1d06
mov edi, str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0__SMT_
jmp 0x5a1d1f
push 0
push 0x7fc4e0
lea ecx, [esp + 0x3c]
call fcn.0040cd70
test eax, eax
jne 0x5a1d1f
mov edi, str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SMT_
lea ecx, [esp + 0x34]
call fcn.00403c30
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x7fc490
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x5a1df9
push 0x7fc478
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x5a1dee
push 0
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.0060cad0
add esp, 0xc
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x264], 0
jae 0x5a1d8a
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0059ec70
push 0
push 0
push 0
push 0x10000002
call ebp
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5a1da4
push 0
sub eax, edx
push eax
push edi
push 0x10000001
call ebp
cmp dword [esp + 0x30], 8
mov dword [esp + 0x264], 0xffffffff
jb 0x5a1dd7
mov edx, dword [esp + 0x1c]
push edx
call fcn.00704960
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
mov ecx, esi
call fcn.005a04f0
cmp byte [esi + 0x69c], 0
je 0x5a1e31
lea edi, [esi + 0x618]
mov ecx, edi
call fcn.0059cec0
test al, al
jne 0x5a1e31
push 0
push 0
mov ecx, edi
call fcn.0059ccc0
push eax
mov ecx, esi
call fcn.0059fb00
jmp 0x5a1e45
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push 0x7fc44c
push esi
call fcn.00599100
mov al, 1
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x258
ret