Function at 0x10002562
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x10030dc5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x110]
xor eax, eax
mov dword [ebp - 0x10], eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x100337a8
push 0x17
push 0
push 0x10033384
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100026c8
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x18]
push 0x10033614
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100028ac
mov ecx, dword [esi]
sub esp, 0x10
mov edi, esp
mov byte [ebp - 4], 1
lea esi, [ebp - 0x3c]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x4c]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x2c]
push dword [ebx]
push dword [eax]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x1c]
push dword [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp]
push eax
push 0
call sub.urlmon.dll_ObtainUserAgentString
mov edi, dword [ebp - 0x10]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.100028ac
mov esi, eax
push str.User_Agent
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100028ac
push dword [esi]
mov ecx, dword [edi]
push dword [eax]
mov byte [ebp - 4], 3
push edi
call dword [ecx + 0x20]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov byte [ebp - 4], 0
push dword [ebp - 0x14]
call esi
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea esi, [ebp - 0x2c]
sub esp, 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov edi, esp
push eax
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100026c8
and dword [ebp - 0x10], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test ebx, ebx
je 0x100026de
push dword [ebx]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 4
push ebx
call fcn.1000e250
pop ecx
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100026f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.1000e62d
add ebp, 0x108
leave
ret 4