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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
push ebx
push esi
push edi
mov edi, ecx
push 0xa28
mov dword [ebp - 0x24], edi
mov esi, 1
mov dword [ebp - 0x20], 0
call fcn.00431a3c
push 0xa28
mov ebx, eax
push 0
push ebx
call fcn.00434de0
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push 0xa28
push ebx
push 0x10000001
call dword [sym.imp.urlmon.dll_UrlMkGetSessionOption]
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x10000001
call dword [sym.imp.urlmon.dll_ObtainUserAgentString]
test eax, eax
js 0x42591b
test ebx, ebx
jne 0x4258fe
xor ecx, ecx
push ecx
push ebx
lea ecx, [edi + 0x44]
call fcn.00425f70
jmp 0x425b1e
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425903
sub ecx, edx
push ecx
push ebx
lea ecx, [edi + 0x44]
call fcn.00425f70
jmp 0x425b1e
push 0x11c
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00434de0
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x144], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push dword [ebp - 0x13c]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x140]
push str.Windows_NT__d._d
push eax
call fcn.00426330
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x34c], ax
lea eax, [ebp - 0x34a]
push eax
call fcn.00434de0
mov edi, dword [ebp - 0x1c]
xor eax, eax
add esp, 0x1c
cmp eax, str.User_Agent
je 0x425ae1
lea eax, [ebp - 0x34c]
test eax, eax
je 0x425ae1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x10]
push eax
push str.User_Agent
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0x410
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x425ae1
mov eax, dword [section..data]
mov ecx, section..data
mov dword [ebp - 0x10], 1
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00425b40
mov byte [ebp - 4], 2
push 0x3b
push dword [ebp - 0x18]
call fcn.00434884
mov ecx, eax
mov eax, dword [ebp - 0x18]
add esp, 8
test ecx, ecx
jne 0x425a3e
or ecx, 0xffffffff
jmp 0x425a40
sub ecx, eax
cmp ecx, 0xffffffff
je 0x425a8a
inc ecx
cmp ecx, dword [eax - 0xc]
jge 0x425a8a
push ecx
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.00425d00
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00425e90
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425a87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
push edi
push esi
add eax, 0x44
push str._s__s_
push eax
call fcn.00426330
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
add esp, 0x10
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425ac1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425afa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x425afa
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add eax, 0x44
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
push eax
call fcn.00426330
add esp, 8
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425b1b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, dword [ebp - 0x10]
test ebx, ebx
je 0x425b2b
push ebx
call fcn.00431e88
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret