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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402878
mov edx, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x18]
push eax
push 0x800
call dword [sym.imp.MSVBVM60.DLL___vbaFixstrConstruct]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x3c]
push 0x416798
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.00416c74
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], esi
call edi
mov edx, dword [ebp - 0x2c]
push ebx
push 0x80000000
push ebx
push ebx
lea eax, [ebp - 0x3c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push esi
call fcn.00416cc0
mov dword [ebp - 0x48], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x3c]
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov dword [ebp - 0x38], 0xffffffff
cmp word [ebp - 0x38], 0
je 0x42e02e
mov eax, dword [ebp - 0x18]
push 0
push eax
push 0
call esi
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push ecx
push edx
call edi
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
mov edx, dword [ebp - 0x48]
push eax
push edx
call fcn.00416d0c
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov edx, dword [ebp - 0x18]
push eax
push edx
push 0
call esi
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push eax
push ecx
push 2
call ebx
mov edx, dword [ebp - 0x30]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
push 0
call esi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x40]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
push ecx
push edx
push 2
call ebx
mov eax, dword [ebp - 0x24]
add esp, 0xc
push eax
call edi
cmp eax, 0xaf000
jle 0x42e017
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x42df49
mov dword [ebp - 0x38], 0
jmp 0x42df49
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x42e041
push eax
call fcn.00416d58
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42e054
push eax
call fcn.00416d58
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x42e0a0
jmp 0x42e08a
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x2c]
call esi
ret