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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x90
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402390
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov edx, 0x408ef0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.00406174
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 5
push 0
push 0
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.00404818
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 6
lea edx, [ebp - 0x38]
push edx
call fcn.004321e0
cmp ax, 0xffff
jne 0x431e86
mov dword [ebp - 4], 7
mov word [ebp - 0x24], 0xffff
jmp 0x432173
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.00406174
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xb
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.004060d8
mov dword [ebp - 0x98], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xc
push 0
push 0x20000000
push 0
push 0
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406090
mov dword [ebp - 0x98], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x28], edx
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x58], 0x80020004
mov dword [ebp - 0x60], 0xa
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
movsx ecx, ax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xe
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
push 0xffffffffffffffff
push 0x220
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x78], 0x4072d4
mov dword [ebp - 0x80], 8
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x60]
push eax
push 0x1000
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcStringVar]
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x11
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.00406124
mov word [ebp - 0x94], ax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
xor eax, eax
cmp word [ebp - 0x94], 0
setne al
neg eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], 0x4003
lea edx, [ebp - 0x90]
push edx
push 1
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0xb0]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea edx, [ebp - 0x4c]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 0x13
cmp dword [ebp - 0x44], 0
je 0x43210d
movsx edx, word [ebp - 0x40]
test edx, edx
jne 0x43200f
mov dword [ebp - 4], 0x14
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x15
mov eax, dword [ebp - 0x28]
push eax
call fcn.004061c0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004061c0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x17
lea edx, [ebp - 0x38]
push edx
call fcn.004321e0
cmp ax, 0xffff
jne 0x432173
mov dword [ebp - 4], 0x18
mov word [ebp - 0x24], 0xffff
push 0x4321c6
jmp 0x4321a1
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret