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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x404146
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x403ba8
xor edi, edi
mov edx, 0x417de4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push edi
lea eax, [ebp - 0x38]
push 0x4197b8
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCreateObject2]
lea ecx, [ebp - 0x38]
push 0x4197f4
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
sub esp, 0x10
mov ecx, 0xb
mov ebx, esp
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x44]
mov esi, dword [edx]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx]
push eax
push 0x419808
push edx
call dword [esi + 0x24]
cmp eax, edi
fnclex
jge 0x4d1eab
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x24
push 0x4197f4
push ecx
push eax
call esi
jmp 0x4d1eb1
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x1c]
push 0x419834
push 0x419818
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x4d1ed8
mov ecx, dword [ebp - 0x1c]
push 0x28
push 0x4197f4
push ecx
push eax
call esi
sub esp, 0x10
mov edx, dword [ebp - 0x1c]
mov ebx, esp
mov ecx, 2
mov edi, dword [edx]
mov eax, 0x3300
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x44]
push 4
push edx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0xc], eax
call dword [edi + 0x50]
test eax, eax
fnclex
jge 0x4d1f17
mov ecx, dword [ebp - 0x1c]
push 0x50
push 0x4197f4
push ecx
push eax
call esi
mov eax, dword [ebp - 0x1c]
push 0xea60
push 0xea60
push 0x3a98
mov edx, dword [eax]
push 0x1770
push eax
call dword [edx + 0x5c]
test eax, eax
fnclex
jge 0x4d1f48
mov ecx, dword [ebp - 0x1c]
push 0x5c
push 0x4197f4
push ecx
push eax
call esi
mov eax, dword [ebp - 0x1c]
push 0x419934
push 0x419914
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
test eax, eax
fnclex
jge 0x4d1f6f
mov ecx, dword [ebp - 0x1c]
push 0x28
push 0x4197f4
push ecx
push eax
call esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push eax
mov edi, dword [edx]
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x1c]
push eax
push 0x41997c
push ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x4d1fb1
mov edx, dword [ebp - 0x1c]
push 0x28
push 0x4197f4
push edx
push eax
call esi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x1c]
push 0x4199bc
push 0x4199a0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
fnclex
jge 0x4d1fe1
mov edx, dword [ebp - 0x1c]
push 0x28
push 0x4197f4
push edx
push eax
call esi
sub esp, 0x10
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov ebx, esp
mov ecx, 8
push edx
mov edi, dword [edx]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0xc], eax
call dword [edi + 0x34]
test eax, eax
fnclex
jge 0x4d201c
mov ecx, dword [ebp - 0x1c]
push 0x34
push 0x4197f4
push ecx
push eax
call esi
push 0x4197f4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
lea edx, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x4d2077
jmp 0x4d205d
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x24]
call esi
ret